Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.h1389 class GCRelocateInst : public GCProjectionInst {
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DStripGCRelocates.cpp30 SmallVector<GCRelocateInst *, 20> GCRelocates; in stripGCRelocates()
34 if (auto *GCR = dyn_cast<GCRelocateInst>(&I)) in stripGCRelocates()
40 for (GCRelocateInst *GCRel : GCRelocates) { in stripGCRelocates()
/llvm-project-15.0.7/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.h64 class GCRelocateInst; variable
388 SmallVector<const GCRelocateInst *, 16> GCRelocates;
589 void visitGCRelocate(const GCRelocateInst &Relocate);
H A DStatepointLowering.cpp171 if (const auto *Relocate = dyn_cast<GCRelocateInst>(Val)) { in findPreviousSpillSlot()
936 for (const GCRelocateInst *Relocate : SI.GCRelocates) { in LowerAsSTATEPOINT()
1084 for (const GCRelocateInst *Relocate : I.getGCRelocates()) { in LowerStatepoint()
1228 void SelectionDAGBuilder::visitGCRelocate(const GCRelocateInst &Relocate) { in visitGCRelocate()
H A DSelectionDAGISel.cpp1497 !isa<GCRelocateInst>(Inst) && !isa<GCResultInst>(Inst)) { in SelectAllBasicBlocks()
H A DSelectionDAGBuilder.cpp6937 visitGCRelocate(cast<GCRelocateInst>(I)); in visitIntrinsicCall()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp301 if (const GCRelocateInst *GCR = dyn_cast<GCRelocateInst>(Inst)) in getHashValueImpl()
367 if (const GCRelocateInst *GCR1 = dyn_cast<GCRelocateInst>(LHSI)) in isEqualImpl()
368 if (const GCRelocateInst *GCR2 = dyn_cast<GCRelocateInst>(RHSI)) in isEqualImpl()
H A DPlaceSafepoints.cpp193 return !(isa<GCStatepointInst>(Call) || isa<GCRelocateInst>(Call) || in needsStatepoint()
H A DRewriteStatepointsForGC.cpp1939 GCRelocateInst *Relocate = dyn_cast<GCRelocateInst>(U); in insertRelocationStores()
H A DGVN.cpp312 if (const GCRelocateInst *GCR = dyn_cast<GCRelocateInst>(I)) { in createExpr()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoads.cpp140 if (const GCRelocateInst *RelocateInst = dyn_cast<GCRelocateInst>(V)) in isDereferenceableAndAlignedPointer()
/llvm-project-15.0.7/llvm/lib/IR/
H A DIntrinsicInst.cpp751 Value *GCRelocateInst::getBasePtr() const { in getBasePtr()
762 Value *GCRelocateInst::getDerivedPtr() const { in getDerivedPtr()
H A DSafepointIRVerifier.cpp360 if (const auto *GCRelocate = dyn_cast<GCRelocateInst>(V)) { in getBaseType()
H A DVerifier.cpp2350 Check(isa<GCRelocateInst>(UserCall) || isa<GCResultInst>(UserCall), in verifyStatepoint()
2357 } else if (isa<GCRelocateInst>(Call)) { in verifyStatepoint()
5225 const Value &StatepointCall = *cast<GCRelocateInst>(Call).getStatepoint(); in visitIntrinsicCall()
5254 GCRelocateInst &Relocate = cast<GCRelocateInst>(Call); in visitIntrinsicCall()
H A DAsmWriter.cpp2620 void printGCRelocateComment(const GCRelocateInst &Relocate);
3892 void AssemblyWriter::printGCRelocateComment(const GCRelocateInst &Relocate) { in printGCRelocateComment()
3903 if (const auto *Relocate = dyn_cast<GCRelocateInst>(&V)) in printInfoComment()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1024 const SmallVectorImpl<GCRelocateInst *> &AllRelocateCalls, in computeBaseDerivedRelocateMap()
1025 DenseMap<GCRelocateInst *, SmallVector<GCRelocateInst *, 2>> in computeBaseDerivedRelocateMap() argument
1030 DenseMap<std::pair<unsigned, unsigned>, GCRelocateInst *> RelocateIdxMap; in computeBaseDerivedRelocateMap()
1042 GCRelocateInst *I = Item.second; in computeBaseDerivedRelocateMap()
1075 simplifyRelocatesOffABase(GCRelocateInst *RelocatedBase, in simplifyRelocatesOffABase()
1076 const SmallVectorImpl<GCRelocateInst *> &Targets) { in simplifyRelocatesOffABase()
1086 if (auto *RI = dyn_cast<GCRelocateInst>(R)) in simplifyRelocatesOffABase()
1093 for (GCRelocateInst *ToReplace : Targets) { in simplifyRelocatesOffABase()
1189 SmallVector<GCRelocateInst *, 2> AllRelocateCalls; in simplifyOffsetableRelocate()
1191 if (GCRelocateInst *Relocate = dyn_cast<GCRelocateInst>(U)) in simplifyOffsetableRelocate()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2749 if (isa<GCStatepointInst>(Call) || isa<GCRelocateInst>(Call) || in isSafeToEliminateVarargsCast()
3089 for (const GCRelocateInst *Reloc : GCSP.getGCRelocates()) { in visitCallBase()
3090 GCRelocateInst &GCR = *const_cast<GCRelocateInst *>(Reloc); in visitCallBase()
3162 for (const GCRelocateInst *Reloc : GCSP.getGCRelocates()) { in visitCallBase()
3163 GCRelocateInst &GCR = *const_cast<GCRelocateInst *>(Reloc); in visitCallBase()