Home
last modified time | relevance | path

Searched refs:GCRelocateInst (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DStatepoint.h56 class GCRelocateInst; variable
203 inline std::vector<const GCRelocateInst *> getGCRelocates() const;
206 std::vector<const GCRelocateInst *> GCStatepointInst::getGCRelocates() const { in getGCRelocates()
207 std::vector<const GCRelocateInst *> Result; in getGCRelocates()
213 if (auto *Relocate = dyn_cast<GCRelocateInst>(U)) in getGCRelocates()
225 if (auto *Relocate = dyn_cast<GCRelocateInst>(LandingPadUser)) in getGCRelocates()
H A DIntrinsicInst.h1739 class GCRelocateInst : public GCProjectionInst {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DStripGCRelocates.cpp28 SmallVector<GCRelocateInst *, 20> GCRelocates; in stripGCRelocates()
32 if (auto *GCR = dyn_cast<GCRelocateInst>(&I)) in stripGCRelocates()
38 for (GCRelocateInst *GCRel : GCRelocates) { in stripGCRelocates()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.h66 void scheduleRelocCall(const GCRelocateInst &RelocCall) { in scheduleRelocCall()
75 void relocCallVisited(const GCRelocateInst &RelocCall) { in relocCallVisited()
121 SmallVector<const GCRelocateInst *, 10> PendingGCRelocateCalls;
H A DSelectionDAGBuilder.h67 class GCRelocateInst; variable
440 SmallVector<const GCRelocateInst *, 16> GCRelocates;
655 void visitGCRelocate(const GCRelocateInst &Relocate);
H A DStatepointLowering.cpp169 if (const auto *Relocate = dyn_cast<GCRelocateInst>(Val)) { in findPreviousSpillSlot()
910 for (const GCRelocateInst *Relocate : SI.GCRelocates) { in LowerAsSTATEPOINT()
1064 for (const GCRelocateInst *Relocate : I.getGCRelocates()) { in LowerStatepoint()
1207 void SelectionDAGBuilder::visitGCRelocate(const GCRelocateInst &Relocate) { in visitGCRelocate()
H A DSelectionDAGISel.cpp1774 !isa<GCRelocateInst>(Inst) && !isa<GCResultInst>(Inst)) { in SelectAllBasicBlocks()
H A DSelectionDAGBuilder.cpp7620 visitGCRelocate(cast<GCRelocateInst>(I)); in visitIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp330 if (const GCRelocateInst *GCR = dyn_cast<GCRelocateInst>(Inst)) in getHashValueImpl()
410 if (const GCRelocateInst *GCR1 = dyn_cast<GCRelocateInst>(LHSI)) in isEqualImpl()
411 if (const GCRelocateInst *GCR2 = dyn_cast<GCRelocateInst>(RHSI)) in isEqualImpl()
H A DPlaceSafepoints.cpp399 return !(isa<GCStatepointInst>(Call) || isa<GCRelocateInst>(Call) || in needsStatepoint()
H A DGVN.cpp331 if (const GCRelocateInst *GCR = dyn_cast<GCRelocateInst>(I)) { in createExpr()
H A DRewriteStatepointsForGC.cpp1969 GCRelocateInst *Relocate = dyn_cast<GCRelocateInst>(U); in insertRelocationStores()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp150 if (const GCRelocateInst *RelocateInst = dyn_cast<GCRelocateInst>(V)) in isDereferenceableAndAlignedPointer()
H A DInstructionSimplify.cpp6922 GCRelocateInst &GCR = *cast<GCRelocateInst>(Call); in simplifyIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp913 Value *GCRelocateInst::getBasePtr() const { in getBasePtr()
924 Value *GCRelocateInst::getDerivedPtr() const { in getDerivedPtr()
H A DSafepointIRVerifier.cpp360 if (const auto *GCRelocate = dyn_cast<GCRelocateInst>(V)) { in getBaseType()
H A DVerifier.cpp2646 Check(isa<GCRelocateInst>(UserCall) || isa<GCResultInst>(UserCall), in verifyStatepoint()
2653 } else if (isa<GCRelocateInst>(Call)) { in verifyStatepoint()
5709 const Value &StatepointCall = *cast<GCRelocateInst>(Call).getStatepoint(); in visitIntrinsicCall()
5738 GCRelocateInst &Relocate = cast<GCRelocateInst>(Call); in visitIntrinsicCall()
H A DAsmWriter.cpp2795 void printGCRelocateComment(const GCRelocateInst &Relocate);
4177 void AssemblyWriter::printGCRelocateComment(const GCRelocateInst &Relocate) { in printGCRelocateComment()
4188 if (const auto *Relocate = dyn_cast<GCRelocateInst>(&V)) in printInfoComment()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1196 const SmallVectorImpl<GCRelocateInst *> &AllRelocateCalls, in computeBaseDerivedRelocateMap()
1197 MapVector<GCRelocateInst *, SmallVector<GCRelocateInst *, 0>> in computeBaseDerivedRelocateMap() argument
1202 MapVector<std::pair<unsigned, unsigned>, GCRelocateInst *> RelocateIdxMap; in computeBaseDerivedRelocateMap()
1214 GCRelocateInst *I = Item.second; in computeBaseDerivedRelocateMap()
1247 simplifyRelocatesOffABase(GCRelocateInst *RelocatedBase, in simplifyRelocatesOffABase()
1248 const SmallVectorImpl<GCRelocateInst *> &Targets) { in simplifyRelocatesOffABase()
1258 if (auto *RI = dyn_cast<GCRelocateInst>(R)) in simplifyRelocatesOffABase()
1266 for (GCRelocateInst *ToReplace : Targets) { in simplifyRelocatesOffABase()
1365 SmallVector<GCRelocateInst *, 2> AllRelocateCalls; in simplifyOffsetableRelocate()
1367 if (GCRelocateInst *Relocate = dyn_cast<GCRelocateInst>(U)) in simplifyOffsetableRelocate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3976 for (const GCRelocateInst *Reloc : GCSP.getGCRelocates()) { in visitCallBase()
3977 GCRelocateInst &GCR = *const_cast<GCRelocateInst *>(Reloc); in visitCallBase()
4049 for (const GCRelocateInst *Reloc : GCSP.getGCRelocates()) { in visitCallBase()
4050 GCRelocateInst &GCR = *const_cast<GCRelocateInst *>(Reloc); in visitCallBase()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp2723 if (isa<GCStatepointInst, GCRelocateInst, GCResultInst>(U)) in translateCall()