/openbsd-current/gnu/llvm/llvm/lib/XRay/ |
H A D | Profile.cpp | 52 uint64_t &Offset) { 54 uint64_t CurrentOffset = Offset; 55 H.Size = Extractor.getU32(&Offset); 56 if (Offset == CurrentOffset) 61 CurrentOffset = Offset; 62 H.Number = Extractor.getU32(&Offset); 63 if (Offset == CurrentOffset) 68 CurrentOffset = Offset; 69 H.Thread = Extractor.getU64(&Offset); 70 if (Offset 51 readBlockHeader(DataExtractor &Extractor, uint64_t &Offset) argument 78 readPath(DataExtractor &Extractor, uint64_t &Offset) argument 96 readData(DataExtractor &Extractor, uint64_t &Offset) argument 283 uint64_t Offset = 0; local [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Target/XCore/ |
H A D | XCoreRegisterInfo.cpp | 63 unsigned Reg, unsigned FrameReg, int Offset ) { 72 .addImm(Offset) 79 .addImm(Offset) 85 .addImm(Offset); 95 int Offset, RegScavenger *RS ) { 102 TII.loadImmediate(MBB, II, ScratchOffset, Offset); 130 unsigned Reg, int Offset) { 134 bool isU6 = isImmU6(Offset); 141 .addImm(Offset) 148 .addImm(Offset) 92 InsertFPConstInst(MachineBasicBlock::iterator II, const XCoreInstrInfo &TII, unsigned Reg, unsigned FrameReg, int Offset, RegScavenger *RS ) argument 128 InsertSPImmInst(MachineBasicBlock::iterator II, const XCoreInstrInfo &TII, unsigned Reg, int Offset) argument 161 InsertSPConstInst(MachineBasicBlock::iterator II, const XCoreInstrInfo &TII, unsigned Reg, int Offset, RegScavenger *RS ) argument 267 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex); local [all...] |
/openbsd-current/gnu/llvm/clang/include/clang/Tooling/Core/ |
H A D | Replacement.h | 47 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} argument 51 unsigned getOffset() const { return Offset; } 59 return Offset + Length > RHS.Offset && Offset < RHS.Offset + RHS.Length; 64 return RHS.Offset >= Offset 75 unsigned Offset = 0; member in class:clang::tooling::Range [all...] |
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldCOFFX86_64.h | 68 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each 89 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); 99 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); 145 uint64_t Offset, uint64_t RelType, uint64_t Addend, 152 OriginalRelValueRef.Offset = Offset; 174 // write32BitOffset(Section.getAddressWithOffset(Offset), 0, StubOffset); 178 const RelocationEntry RE(SectionID, Offset, RelType, Addend); 183 Offset = StubOffset + 6; 186 return std::make_tuple(Offset, RelTyp 144 generateRelocationStub(unsigned SectionID, StringRef TargetName, uint64_t Offset, uint64_t RelType, uint64_t Addend, StubMap &Stubs) argument 209 uint64_t Offset = RelI->getOffset(); variable [all...] |
H A D | RuntimeDyldCOFFI386.h | 59 uint64_t Offset = RelI->getOffset(); variable 81 uintptr_t ObjTarget = AddendSection.getObjAddress() + Offset; 100 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset 105 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 117 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, 124 RelocationEntry(TargetSectionID, Offset, RelType, 0); 130 RelocationEntry(SectionID, Offset, RelType, TargetOffset + Addend); 144 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); 158 LLVM_DEBUG(dbgs() << "\t\tOffset: " << RE.Offset [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelDAGToDAG.h | 155 virtual bool SelectADDRVTX_READ(SDValue Addr, SDValue &Base, SDValue &Offset); 156 virtual bool SelectADDRIndirect(SDValue Addr, SDValue &Base, SDValue &Offset); 157 bool isDSOffsetLegal(SDValue Base, unsigned Offset) const; 160 bool SelectDS1Addr1Offset(SDValue Ptr, SDValue &Base, SDValue &Offset) const; 168 SDValue &SOffset, SDValue &Offset, SDValue &Offen, 171 SDValue &SOffset, SDValue &Offset) const; 176 SDValue &Soffset, SDValue &Offset) const; 179 SDValue &Offset) const; 182 SDValue &Offset, uint64_t FlatVariant) const; 184 SDValue &Offset) cons [all...] |
H A D | R600ISelDAGToDAG.cpp | 28 SDValue &Offset); 39 SDValue &Offset) override; 41 SDValue &Offset) override; 80 SDValue &Offset) { 83 Offset = CurDAG->getIntPtrConstant(0, SDLoc(Addr), true); 131 SDValue &Offset) { 137 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); 141 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); 145 Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32); 148 Offset 78 SelectGlobalValueVariableOffset(SDValue Addr, SDValue &BaseReg, SDValue &Offset) argument 130 SelectADDRIndirect(SDValue Addr, SDValue &Base, SDValue &Offset) argument 154 SelectADDRVTX_READ(SDValue Addr, SDValue &Base, SDValue &Offset) argument [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Target/RISCV/ |
H A D | RISCVMergeBaseOffset.cpp | 26 #define RISCV_MERGE_BASE_OFFSET_NAME "RISCV Merge Base Offset" 40 int64_t Offset); 139 MachineInstr &Tail, int64_t Offset) { 140 assert(isInt<32>(Offset) && "Unexpected offset"); 142 Hi.getOperand(1).setOffset(Offset); 144 Lo.getOperand(2).setOffset(Offset); 148 LLVM_DEBUG(dbgs() << " Merged offset " << Offset << " into base.\n" 163 // 1) Offset that has non zero bits in lower 2) Offset that has non zero 201 int64_t Offset 138 foldOffset(MachineInstr &Hi, MachineInstr &Lo, MachineInstr &Tail, int64_t Offset) argument 219 int64_t Offset = SignExtend64<32>(OffsetTail.getOperand(1).getImm() << 12); local 303 int64_t Offset = Tail.getOperand(2).getImm(); local 391 int64_t Offset = UseMI.getOperand(2).getImm(); local [all...] |
H A D | RISCVRegisterInfo.h | 47 StackOffset Offset, MachineInstr::MIFlag Flag, 56 bool needsFrameBaseReg(MachineInstr *MI, int64_t Offset) const override; 59 int64_t Offset) const override; 62 int64_t Offset) const override; 65 int64_t Offset) const override; 93 void getOffsetOpcodes(const StackOffset &Offset,
|
/openbsd-current/gnu/llvm/llvm/lib/Target/AVR/ |
H A D | AVRRegisterInfo.cpp | 112 static void foldFrameOffset(MachineBasicBlock::iterator &II, int &Offset, argument 131 Offset += -MI.getOperand(2).getImm(); 134 Offset += MI.getOperand(2).getImm(); 158 int Offset = MFI.getObjectOffset(FrameIndex); local 161 Offset += MFI.getStackSize() - TFI->getOffsetOfLocalArea() + 1; 163 Offset += MI.getOperand(FIOperandNum + 1).getImm(); 185 assert(Offset > 0 && "Invalid offset"); 201 foldFrameOffset(II, Offset, DstReg); 208 if (isUInt<6>(Offset) && STI.hasADDSUBIW()) { 217 Offset [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | Sequence.h | 150 CheckedInt operator+(intmax_t Offset) const { 152 if (AddOverflow(Value, Offset, Result.Value)) 203 value_type operator[](intmax_t Offset) const { return *(*this + Offset); } 231 void operator+=(intmax_t Offset) { offset(Offset); } argument 232 void operator-=(intmax_t Offset) { offset(-Offset); } argument 235 SafeIntIterator operator+(intmax_t Offset) const { return add(Offset); } 246 getOffset(intmax_t Offset) argument 252 offset(intmax_t Offset) argument [all...] |
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/MSF/ |
H A D | MappedBlockStream.cpp | 87 Error MappedBlockStream::readBytes(uint64_t Offset, uint64_t Size, argument 90 if (auto EC = checkOffsetForRead(Offset, Size)) 93 if (tryReadContiguously(Offset, Size, Buffer)) 96 auto CacheIter = CacheMap.find(Offset); 111 Interval RequestExtent = std::make_pair(Offset, Offset + Size); 114 if (CacheItem.first == Offset) 118 if (CacheItem.first >= Offset + Size) 151 if (auto EC = readBytes(Offset, MutableArrayRef<uint8_t>(WriteBuffer, Size))) 159 CacheMap.insert(std::make_pair(Offset, Lis 165 readLongestContiguousChunk(uint64_t Offset, ArrayRef<uint8_t> &Buffer) argument 197 tryReadContiguously(uint64_t Offset, uint64_t Size, ArrayRef<uint8_t> &Buffer) argument 238 readBytes(uint64_t Offset, MutableArrayRef<uint8_t> Buffer) argument 254 uint64_t Offset = blockToOffset(StreamBlockAddr, BlockSize); local 273 fixCacheAfterWrite(uint64_t Offset, ArrayRef<uint8_t> Data) const argument 372 readBytes(uint64_t Offset, uint64_t Size, ArrayRef<uint8_t> &Buffer) argument 377 readLongestContiguousChunk( uint64_t Offset, ArrayRef<uint8_t> &Buffer) argument 386 writeBytes(uint64_t Offset, ArrayRef<uint8_t> Buffer) argument [all...] |
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeIndexDiscovery.cpp | 71 uint32_t Offset = 0; local 86 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); 90 Offset += Len; 95 static uint32_t handleBaseClass(ArrayRef<uint8_t> Data, uint32_t Offset, argument 101 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); 105 static uint32_t handleEnumerator(ArrayRef<uint8_t> Data, uint32_t Offset, argument 115 static uint32_t handleDataMember(ArrayRef<uint8_t> Data, uint32_t Offset, argument 122 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); 127 static uint32_t handleOverloadedMethod(ArrayRef<uint8_t> Data, uint32_t Offset, argument 133 Refs.push_back({TiRefKind::TypeRef, Offset 137 handleOneMethod(ArrayRef<uint8_t> Data, uint32_t Offset, SmallVectorImpl<TiReference> &Refs) argument 155 handleNestedType(ArrayRef<uint8_t> Data, uint32_t Offset, SmallVectorImpl<TiReference> &Refs) argument 165 handleStaticDataMember(ArrayRef<uint8_t> Data, uint32_t Offset, SmallVectorImpl<TiReference> &Refs) argument 175 handleVirtualBaseClass(ArrayRef<uint8_t> Data, uint32_t Offset, bool IsIndirect, SmallVectorImpl<TiReference> &Refs) argument 191 handleVFPtr(ArrayRef<uint8_t> Data, uint32_t Offset, SmallVectorImpl<TiReference> &Refs) argument 200 handleListContinuation(ArrayRef<uint8_t> Data, uint32_t Offset, SmallVectorImpl<TiReference> &Refs) argument 211 uint32_t Offset = 0; local [all...] |
H A D | DebugLinesSubsection.cpp | 76 uint32_t Offset = Checksums.mapChecksumOffset(FileName); local 78 Blocks.emplace_back(Offset); 81 void DebugLinesSubsection::addLineInfo(uint32_t Offset, const LineInfo &Line) { argument 85 LNE.Offset = Offset; 89 void DebugLinesSubsection::addLineAndColumnInfo(uint32_t Offset, argument 96 addLineInfo(Offset, Line); 149 uint32_t Offset) { 150 RelocOffset = Offset; 148 setRelocationAddress(uint16_t Segment, uint32_t Offset) argument
|
/openbsd-current/gnu/llvm/llvm/tools/llvm-readobj/ |
H A D | Win64EHDumper.cpp | 144 uint32_t Offset = CoffSym.getValue() + SymbolOffset - CS.getValue(); local 147 if (Offset <= SymbolOffset && (!IsRangeEnd || Offset > 0)) { 148 SymbolOffset = Offset; 160 const coff_section *Section, uint64_t Offset, 167 if (!Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) { 178 OS << format(" +0x%X (0x%" PRIX64 ")", Displacement, Offset); 180 OS << format(" (0x%" PRIX64 ")", Offset); 201 OS << format("(0x%" PRIX64 ")", Offset); 207 uint64_t Offset, 159 formatSymbol(const Dumper::Context &Ctx, const coff_section *Section, uint64_t Offset, uint32_t Displacement, bool IsRangeEnd = false) argument 205 resolveRelocation(const Dumper::Context &Ctx, const coff_section *Section, uint64_t Offset, const coff_section *&ResolvedSection, uint64_t &ResolvedAddress) argument 241 printRuntimeFunctionEntry(const Context &Ctx, const coff_section *Section, uint64_t Offset, const RuntimeFunction &RF) argument 314 printUnwindInfo(const Context &Ctx, const coff_section *Section, off_t Offset, const UnwindInfo &UI) argument 366 uint64_t Offset; local [all...] |
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugAbbrev.cpp | 23 Offset = 0; 32 Offset = BeginOffset; 114 uint64_t Offset = 0; 116 while (Data->isValidOffset(Offset)) { 117 while (I != AbbrDeclSets.end() && I->first < Offset) 119 uint64_t CUAbbrOffset = Offset; 121 if (!AbbrDecls.extract(*Data, &Offset)) 156 uint64_t Offset = CUAbbrOffset; local 158 if (!AbbrDecls.extract(*Data, &Offset))
|
H A D | DWARFAcceleratorTable.cpp | 44 uint64_t Offset = 0; local 51 Hdr.Magic = AccelSection.getU32(&Offset); 52 Hdr.Version = AccelSection.getU16(&Offset); 53 Hdr.HashFunction = AccelSection.getU16(&Offset); 54 Hdr.BucketCount = AccelSection.getU32(&Offset); 55 Hdr.HashCount = AccelSection.getU32(&Offset); 56 Hdr.HeaderDataLength = AccelSection.getU32(&Offset); 68 HdrData.DIEOffsetBase = AccelSection.getU32(&Offset); 69 uint32_t NumAtoms = AccelSection.getU32(&Offset); 72 uint16_t AtomType = AccelSection.getU16(&Offset); 225 uint64_t Offset = sizeof(Hdr) + Hdr.HeaderDataLength; local 266 extract( const AppleAcceleratorTable &AccelTable, uint64_t *Offset) argument 304 ValueIterator( const AppleAcceleratorTable &AccelTable, uint64_t Offset) argument 379 extract(const DWARFDataExtractor &AS, uint64_t *Offset) argument 446 extractAttributeEncoding(uint64_t *Offset) argument 458 extractAttributeEncodings(uint64_t *Offset) argument 472 extractAbbrev(uint64_t *Offset) argument 491 uint64_t Offset = Base; local [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Target/Lanai/ |
H A D | LanaiRegisterInfo.cpp | 145 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex) + local 151 Offset += MF.getFrameInfo().getStackSize(); 165 if ((isSPLSOpcode(MI.getOpcode()) && !isInt<10>(Offset)) || 166 !isInt<16>(Offset)) { 174 // ALU ops have unsigned immediate values. If the Offset is negative, we 176 if (Offset < 0) { 178 Offset = -Offset; 181 if (!isInt<16>(Offset)) { 184 .addImm(static_cast<uint32_t>(Offset) >> 1 [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86DynAllocaExpander.cpp | 150 int64_t Offset = -1; local 152 Offset = std::max(Offset, OutOffset[Pred]); 153 if (Offset == -1) Offset = INT32_MAX; 160 Lowering L = getLowering(Offset, Amount); 164 Offset += Amount; 167 Offset = Amount; 170 Offset = 0; 175 Offset [all...] |
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.h | 28 void resolveRelocation(const SectionEntry &Section, uint64_t Offset, 32 void resolveX86_64Relocation(const SectionEntry &Section, uint64_t Offset, 36 void resolveX86Relocation(const SectionEntry &Section, uint64_t Offset, 39 void resolveAArch64Relocation(const SectionEntry &Section, uint64_t Offset, 48 void resolveARMRelocation(const SectionEntry &Section, uint64_t Offset, 51 void resolvePPC32Relocation(const SectionEntry &Section, uint64_t Offset, 54 void resolvePPC64Relocation(const SectionEntry &Section, uint64_t Offset, 57 void resolveSystemZRelocation(const SectionEntry &Section, uint64_t Offset, 60 void resolveBPFRelocation(const SectionEntry &Section, uint64_t Offset, 112 // it at the given Offset [all...] |
/openbsd-current/gnu/llvm/llvm/lib/IR/ |
H A D | Operator.cpp | 73 uint64_t Offset; local 78 Offset = SL->getElementOffset(OpC->getZExtValue()); 84 Offset = DL.getTypeAllocSize(GTI.getIndexedType()) * ElemCount; 86 Result = Align(MinAlign(Offset, Result.value())); 92 const DataLayout &DL, APInt &Offset, 94 assert(Offset.getBitWidth() == 99 DL, Offset, ExternalAnalysis); 104 APInt &Offset, function_ref<bool(Value &, APInt &)> ExternalAnalysis) { 107 Index = Index.sextOrTrunc(Offset.getBitWidth()); 108 APInt IndexedSize = APInt(Offset 91 accumulateConstantOffset( const DataLayout &DL, APInt &Offset, function_ref<bool(Value &, APInt &)> ExternalAnalysis) const argument 102 accumulateConstantOffset( Type *SourceType, ArrayRef<const Value *> Index, const DataLayout &DL, APInt &Offset, function_ref<bool(Value &, APInt &)> ExternalAnalysis) argument [all...] |
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGAddressAnalysis.cpp | 32 // Initial Offset difference. 33 Off = *Other.Offset - *Offset; 175 int64_t Offset; local 176 if (!equalBaseIndex(Other, DAG, Offset)) 178 if (Offset >= 0) { 182 // ==Offset==> 183 BitOffset = 8 * Offset; 200 int64_t Offset = 0; local 206 Offset 321 OS << "] offset=" << Offset; local [all...] |
/openbsd-current/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGRecordLayout.h | 68 unsigned Offset : 16; member in struct:clang::CodeGen::CGBitFieldInfo 96 : Offset(), Size(), IsSigned(), StorageSize(), VolatileOffset(), 99 CGBitFieldInfo(unsigned Offset, unsigned Size, bool IsSigned, argument 101 : Offset(Offset), Size(Size), IsSigned(IsSigned), 112 uint64_t Offset, uint64_t Size,
|
/openbsd-current/gnu/llvm/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelDAGToDAG.h | 86 SDValue &Offset, MVT mvt); 88 SDValue &Offset); 90 SDValue &Offset); 92 SDValue &Offset, MVT mvt); 94 SDValue &Offset); 96 SDValue &Offset);
|
/openbsd-current/gnu/llvm/llvm/lib/Analysis/ |
H A D | Local.cpp | 42 Value *Offset; local 54 Offset = ConstantInt::get(IntIdxTy, Size); 64 Offset = 82 Offset = Op; 86 Result = Builder->CreateAdd(Result, Offset, GEP->getName() + ".offs", 89 Result = Offset;
|