Home
last modified time | relevance | path

Searched refs:Statepoint (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp169 const Value *Statepoint = Relocate->getStatepoint(); in findPreviousSpillSlot() local
170 assert((isa<GCStatepointInst>(Statepoint) || isa<UndefValue>(Statepoint)) && in findPreviousSpillSlot()
172 if (isa<UndefValue>(Statepoint)) in findPreviousSpillSlot()
176 [cast<GCStatepointInst>(Statepoint)]; in findPreviousSpillSlot()
1212 const Value *Statepoint = Relocate.getStatepoint(); in visitGCRelocate() local
1218 assert((isa<GCStatepointInst>(Statepoint) || isa<UndefValue>(Statepoint)) && in visitGCRelocate()
1220 if (isa<UndefValue>(Statepoint)) in visitGCRelocate()
1223 if (cast<GCStatepointInst>(Statepoint)->getParent() == Relocate.getParent()) in visitGCRelocate()
1229 FuncInfo.StatepointRelocationMaps[cast<GCStatepointInst>(Statepoint)]; in visitGCRelocate()
1236 assert(cast<GCStatepointInst>(Statepoint)->getParent() == in visitGCRelocate()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp868 auto Statepoint = getStatepoint(); in getBasePtr() local
869 if (isa<UndefValue>(Statepoint)) in getBasePtr()
870 return UndefValue::get(Statepoint->getType()); in getBasePtr()
872 auto *GCInst = cast<GCStatepointInst>(Statepoint); in getBasePtr()
879 auto *Statepoint = getStatepoint(); in getDerivedPtr() local
880 if (isa<UndefValue>(Statepoint)) in getDerivedPtr()
881 return UndefValue::get(Statepoint->getType()); in getDerivedPtr()
883 auto *GCInst = cast<GCStatepointInst>(Statepoint); in getDerivedPtr()
H A DIRBuilder.cpp794 CallInst *IRBuilderBase::CreateGCResult(Instruction *Statepoint, in CreateGCResult() argument
799 Value *Args[] = {Statepoint}; in CreateGCResult()
803 CallInst *IRBuilderBase::CreateGCRelocate(Instruction *Statepoint, in CreateGCRelocate() argument
808 Value *Args[] = {Statepoint, getInt32(BaseOffset), getInt32(DerivedOffset)}; in CreateGCRelocate()
H A DVerifier.cpp5917 auto *Statepoint = Call.getArgOperand(0); in visitIntrinsicCall() local
5918 if (isa<UndefValue>(Statepoint)) in visitIntrinsicCall()
5922 const auto *StatepointCall = dyn_cast<CallBase>(Statepoint); in visitIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2073 Value *Statepoint = Info.StatepointToken; in relocationViaAlloca() local
2079 insertRelocationStores(Statepoint->users(), AllocaMap, VisitedLiveValues); in relocationViaAlloca()
2083 if (isa<InvokeInst>(Statepoint)) { in relocationViaAlloca()
2124 if (auto II = dyn_cast<InvokeInst>(Statepoint)) { in relocationViaAlloca()
2129 std::next(cast<Instruction>(Statepoint)->getIterator())); in relocationViaAlloca()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h943 LLVM_ABI CallInst *CreateGCResult(Instruction *Statepoint, Type *ResultType,
948 LLVM_ABI CallInst *CreateGCRelocate(Instruction *Statepoint, int BaseOffset,
H A DIntrinsics.td1712 // These are documented in docs/Statepoint.rst
/freebsd/lib/clang/libllvm/
H A DMakefile950 SRCS_MIN+= IR/Statepoint.cpp