Home
last modified time | relevance | path

Searched refs:LocalOffset (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLocalStackSlotAllocation.cpp53 int64_t LocalOffset; // Local offset of the frame idx referenced member in __anon7165d95d0111::FrameRef
63 MI(I), LocalOffset(Offset), FrameIdx(Idx), Order(Ord) {} in FrameRef()
66 return std::tie(LocalOffset, FrameIdx, Order) < in operator <()
67 std::tie(RHS.LocalOffset, RHS.FrameIdx, RHS.Order); in operator <()
71 int64_t getLocalOffset() const { return LocalOffset; } in getLocalOffset()
177 int64_t LocalOffset = StackGrowsDown ? -Offset : Offset; in AdjustStackOffset() local
179 << LocalOffset << "\n"); in AdjustStackOffset()
181 LocalOffsets[FrameIdx] = LocalOffset; in AdjustStackOffset()
183 MFI.mapLocalFrameObject(FrameIdx, LocalOffset); in AdjustStackOffset()
348 int64_t LocalOffset = LocalOffsets[Idx]; in insertFrameReferenceRegisters() local
[all …]
H A DMIRPrinter.cpp494 YMF.StackObjects[StackObjectsIdx[LocalObject.first]].LocalOffset = in convertStackObjects()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp269 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry() argument
275 LocalOffset->print(OS, MAI); in emitLocalEntry()
308 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry() argument
312 unsigned Encoded = encodePPC64LocalEntryOffset(LocalOffset); in emitLocalEntry()
363 unsigned encodePPC64LocalEntryOffset(const MCExpr *LocalOffset) { in encodePPC64LocalEntryOffset() argument
366 if (!LocalOffset->evaluateAsAbsolute(Offset, MCA)) in encodePPC64LocalEntryOffset()
367 MCA.getContext().reportError(LocalOffset->getLoc(), in encodePPC64LocalEntryOffset()
373 LocalOffset->getLoc(), ".localentry expression must be a power of 2"); in encodePPC64LocalEntryOffset()
407 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry() argument
433 void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) override { in emitLocalEntry() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetStreamer.h31 virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset){}; in emitLocalEntry() argument
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordReader.h119 uint64_t getGlobalBitOffset(uint64_t LocalOffset) { in getGlobalBitOffset() argument
120 return Reader->getGlobalBitOffset(*F, LocalOffset); in getGlobalBitOffset()
H A DASTReader.h1437 void loadPendingDeclChain(Decl *D, uint64_t LocalOffset);
1442 uint64_t getGlobalBitOffset(ModuleFile &M, uint64_t LocalOffset);
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h254 std::optional<int64_t> LocalOffset;
266 LocalOffset == Other.LocalOffset && DebugVar == Other.DebugVar &&
296 YamlIO.mapOptional("local-offset", Object.LocalOffset,
/freebsd/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp441 uint64_t LocalOffset = 0; in writeStringsAndOffsets() local
443 while (const char *S = Data.getCStr(&LocalOffset)) { in writeStringsAndOffsets()
445 Strings.getOffset(S, LocalOffset - PrevOffset); in writeStringsAndOffsets()
446 PrevOffset = LocalOffset; in writeStringsAndOffsets()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp106 uint64_t LocalOffset = Record.readInt(); in ReadLocalOffset() local
107 assert(LocalOffset < Loc.Offset && "offset point after current record"); in ReadLocalOffset()
108 return LocalOffset ? Loc.Offset - LocalOffset : 0; in ReadLocalOffset()
3236 uint64_t ASTReader::getGlobalBitOffset(ModuleFile &M, uint64_t LocalOffset) { in getGlobalBitOffset() argument
3237 return LocalOffset + M.GlobalBitOffset; in getGlobalBitOffset()
4339 void ASTReader::loadPendingDeclChain(Decl *FirstLocal, uint64_t LocalOffset) { in loadPendingDeclChain() argument
4349 if (!LocalOffset) { in loadPendingDeclChain()
4360 if (llvm::Error JumpFailed = Cursor.JumpToBit(LocalOffset)) in loadPendingDeclChain()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp878 if (Object.LocalOffset) in initializeFrameInfo()
879 MFI.mapLocalFrameObject(ObjectIdx, *Object.LocalOffset); in initializeFrameInfo()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp3569 if (std::optional<unsigned> LocalOffset = this->allocateLocal(E)) { in visitExpr() local
3570 if (!this->emitGetPtrLocal(*LocalOffset, E)) in visitExpr()
5455 auto getElem = [&](unsigned LocalOffset, unsigned Index, in emitComplexComparison()
5458 if (!this->emitGetLocal(PT_Ptr, LocalOffset, E)) in emitComplexComparison()
5462 return this->emitGetLocal(ElemT, LocalOffset, E); in emitComplexComparison()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp5690 llvm::Value *LocalOffset; in EmitGEPOffsetInBytes() local
5697 LocalOffset = llvm::ConstantInt::get( in EmitGEPOffsetInBytes()
5705 LocalOffset = eval(BO_Mul, ElementSize, IndexS); in EmitGEPOffsetInBytes()
5711 TotalOffset = LocalOffset; in EmitGEPOffsetInBytes()
5713 TotalOffset = eval(BO_Add, TotalOffset, LocalOffset); in EmitGEPOffsetInBytes()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3797 const SCEV *LocalOffset = getMulExpr(IndexExpr, ElementSize, OffsetWrap); in getGEPExpr() local
3798 Offsets.push_back(LocalOffset); in getGEPExpr()