Home
last modified time | relevance | path

Searched refs:GCResult (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DPlaceSafepoints.cpp707 Value *GCResult = ReplaceWithStatepoint(CS); in runOnFunction() local
708 Results.push_back(GCResult); in runOnFunction()
715 Value *GCResult = Results[i]; in runOnFunction() local
716 if (GCResult) { in runOnFunction()
718 assert(CS.isCall() || !isa<PHINode>(cast<Instruction>(GCResult)->getParent()->begin())); in runOnFunction()
721 CS.getInstruction()->replaceAllUsesWith(GCResult); in runOnFunction()
945 CallInst *GCResult = Builder.CreateGCResult(Token, CS.getType(), TakenName); in ReplaceWithStatepoint() local
946 GCResult->setAttributes(OriginalAttrs.getRetAttributes()); in ReplaceWithStatepoint()
947 return GCResult; in ReplaceWithStatepoint()
DRewriteStatepointsForGC.cpp1537 CallInst *GCResult = Builder.CreateGCResult(Token, CS.getType(), Name); in makeStatepointExplicitImpl() local
1538 GCResult->setAttributes(CS.getAttributes().getRetAttributes()); in makeStatepointExplicitImpl()
1546 Replacements.emplace_back(CS.getInstruction(), GCResult); in makeStatepointExplicitImpl()
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp351 const Instruction *GCResult = ISP.getGCResult(); in lowerCallFromStatepoint() local
352 if (HasDef && GCResult) { in lowerCallFromStatepoint()
353 if (GCResult->getParent() != CS.getParent()) { in lowerCallFromStatepoint()