/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURewriteOutArguments.cpp | 263 DenseMap<ReturnInst *, ReplacementVec> Replacements; in runOnFunction() 265 SmallVector<ReturnInst *, 4> Returns; in runOnFunction() 267 if (ReturnInst *RI = dyn_cast<ReturnInst>(&BB.back())) in runOnFunction() 288 SmallVector<std::pair<ReturnInst *, StoreInst *>, 4> ReplaceableStores; in runOnFunction() 303 for (ReturnInst *RI : Returns) { in runOnFunction() 324 for (std::pair<ReturnInst *, StoreInst *> Store : ReplaceableStores) { in runOnFunction() 385 for (std::pair<ReturnInst *, ReplacementVec> &Replacement : Replacements) { in runOnFunction() 386 ReturnInst *RI = Replacement.first; in runOnFunction()
|
D | AMDGPUUnifyDivergentExitNodes.cpp | 214 if (isa<ReturnInst>(BB->getTerminator())) { in runOnFunction() 258 ReturnInst::Create(F.getContext(), RetVal, DummyReturnBB); in runOnFunction() 315 ReturnInst::Create(F.getContext(), RetVal, UnreachableBlock); in runOnFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | TailRecursionElimination.cpp | 363 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) { in isDynamicConstant() 397 static Value *getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) { in getCommonReturnValue() 402 ReturnInst *RI = dyn_cast<ReturnInst>(BBI.getTerminator()); in getCommonReturnValue() 434 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) in canTransformAccumulatorRecursion() 440 return getCommonReturnValue(cast<ReturnInst>(I->user_back()), CI); in canTransformAccumulatorRecursion() 501 CallInst *CI, ReturnInst *Ret, BasicBlock *&OldEntry, in eliminateRecursiveTailCall() 670 if (ReturnInst *RI = dyn_cast<ReturnInst>(BBI.getTerminator())) in eliminateRecursiveTailCall() 688 BasicBlock *BB, ReturnInst *Ret, BasicBlock *&OldEntry, in foldReturnAndProcessPred() 717 ReturnInst *RI = FoldReturnIntoUncondBranch(Ret, BB, Pred, &DTU); in foldReturnAndProcessPred() 737 ReturnInst *Ret, BasicBlock *&OldEntry, bool &TailCallsAreMarkedTail, in processReturningBlock() [all …]
|
D | SimplifyCFGPass.cpp | 83 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator()); in mergeEmptyReturnBlocks() 115 cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0)) { in mergeEmptyReturnBlocks() 124 Value *InVal = cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0); in mergeEmptyReturnBlocks()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | UnifyFunctionExitNodes.cpp | 58 if (isa<ReturnInst>(I.getTerminator())) in runOnFunction() 97 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); in runOnFunction() 103 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in runOnFunction()
|
D | CloneFunction.cpp | 87 SmallVectorImpl<ReturnInst*> &Returns, in CloneFunctionInto() 188 if (ReturnInst *RI = dyn_cast<ReturnInst>(CBB->getTerminator())) in CloneFunctionInto() 264 SmallVector<ReturnInst*, 8> Returns; // Ignore returns cloned. in CloneFunction() 452 SmallVectorImpl<ReturnInst *> &Returns, in CloneAndPruneIntoFromInst() 714 if (ReturnInst *RI = dyn_cast<ReturnInst>(I->getTerminator())) in CloneAndPruneIntoFromInst() 729 SmallVectorImpl<ReturnInst*> &Returns, in CloneAndPruneFunctionInto()
|
D | InlineFunction.cpp | 1694 SmallVector<ReturnInst*, 8> Returns; in InlineFunction() 2016 for (ReturnInst *RI : Returns) { in InlineFunction() 2044 for (ReturnInst *RI : Returns) { in InlineFunction() 2142 auto NewEnd = llvm::remove_if(Returns, [](ReturnInst *RI) { in InlineFunction() 2147 SmallVector<ReturnInst *, 8> NormalReturns; in InlineFunction() 2152 for (ReturnInst *RI : Returns) { in InlineFunction() 2203 SmallVector<ReturnInst *, 8> NormalReturns; in InlineFunction() 2204 for (ReturnInst *RI : Returns) { in InlineFunction() 2265 ReturnInst *R = Returns[0]; in InlineFunction() 2350 ReturnInst *RI = Returns[i]; in InlineFunction() [all …]
|
D | EscapeEnumerator.cpp | 40 if (!isa<ReturnInst>(TI) && !isa<ResumeInst>(TI)) in Next()
|
D | CodeExtractor.cpp | 746 if (ReturnInst *RI = dyn_cast<ReturnInst>(Block->getTerminator())) { in splitReturnBlocks() 1218 ReturnInst::Create(Context, brVal, NewTarget); in emitCallAndSwitchStatement() 1285 ReturnInst::Create(Context, nullptr, TheSwitch); // Return void in emitCallAndSwitchStatement() 1288 ReturnInst::Create(Context, TheSwitch->getCondition(), TheSwitch); in emitCallAndSwitchStatement() 1292 ReturnInst::Create(Context, in emitCallAndSwitchStatement() 1596 return isa<ReturnInst>(Term) || isa<ResumeInst>(Term); in extractCodeRegion()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 48 class ReturnInst; variable 140 SmallVectorImpl<ReturnInst*> &Returns, 149 SmallVectorImpl<ReturnInst *> &Returns, 166 SmallVectorImpl<ReturnInst*> &Returns,
|
D | BasicBlockUtils.h | 39 class ReturnInst; variable 280 ReturnInst *FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SafeStack.cpp | 150 void checkStackGuard(IRBuilder<> &IRB, Function &F, ReturnInst &RI, 159 SmallVectorImpl<ReturnInst *> &Returns, 175 ArrayRef<ReturnInst *> Returns, 382 SmallVectorImpl<ReturnInst *> &Returns, in findInsts() 399 } else if (auto RI = dyn_cast<ReturnInst>(&I)) { in findInsts() 464 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, ReturnInst &RI, in checkStackGuard() 489 ArrayRef<Argument *> ByValArguments, ArrayRef<ReturnInst *> Returns, in moveStaticAllocasToUnsafeStack() 748 SmallVector<ReturnInst *, 4> Returns; in run() 801 for (ReturnInst *RI : Returns) { in run() 827 for (ReturnInst *RI : Returns) { in run()
|
D | StackProtector.cpp | 387 static bool CreatePrologue(Function *F, Module *M, ReturnInst *RI, in CreatePrologue() 418 ReturnInst *RI = dyn_cast<ReturnInst>(BB->getTerminator()); in InsertStackProtectors() 550 return HasPrologue && !HasIRCheck && isa<ReturnInst>(BB.getTerminator()); in shouldEmitSDCheck()
|
D | SjLjEHPrepare.cpp | 355 SmallVector<ReturnInst *, 16> Returns; in setupEntryBlockAndCallSites() 372 } else if (auto *RI = dyn_cast<ReturnInst>(BB.getTerminator())) { in setupEntryBlockAndCallSites() 467 for (ReturnInst *Return : Returns) in setupEntryBlockAndCallSites()
|
D | Analysis.cpp | 516 const ReturnInst *Ret = dyn_cast<ReturnInst>(Term); in isInTailCallPosition() 558 const ReturnInst *Ret, in attributesPermitTailCall() 636 const ReturnInst *Ret, in returnTypeIsEligibleForTailCall()
|
D | SwiftErrorValueTracking.cpp | 305 } else if (const ReturnInst *R = dyn_cast<const ReturnInst>(&*It)) { in preassignVRegs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | Analysis.h | 134 const ReturnInst *Ret, 142 const ReturnInst *Ret,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFixFunctionBitcasts.cpp | 183 ReturnInst::Create(M->getContext(), BB); in createWrapper() 186 ReturnInst::Create(M->getContext(), UndefValue::get(RtnType), BB); in createWrapper() 188 ReturnInst::Create(M->getContext(), Call, BB); in createWrapper() 194 ReturnInst::Create(M->getContext(), Cast, BB); in createWrapper()
|
D | WebAssemblyLowerGlobalDtors.cpp | 151 ReturnInst::Create(C, BB); in runOnModule() 179 ReturnInst::Create(C, RetBB); in runOnModule()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCBoolRetToInt.cpp | 141 return isa<ReturnInst>(V) || isa<CallInst>(V) || isa<PHINode>(V) || in getPromotablePHINodes() 203 if (auto *R = dyn_cast<ReturnInst>(&I)) in runOnFunction() 239 if (isa<ReturnInst>(U.getUser())) in runOnUse()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 382 if (const ReturnInst *RI = dyn_cast<ReturnInst>(V)) { in SurveyUse() 520 if (const ReturnInst *RI = dyn_cast<ReturnInst>(BB->getTerminator())) { in SurveyFunction() 1035 if (ReturnInst *RI = dyn_cast<ReturnInst>(BB.getTerminator())) { in RemoveDeadStuffFromFunction() 1069 ReturnInst::Create(F->getContext(), RetVal, RI); in RemoveDeadStuffFromFunction()
|
D | IPConstantPropagation.cpp | 180 if (ReturnInst *RI = dyn_cast<ReturnInst>(BB.getTerminator())) { in PropagateConstantReturn()
|
D | LoopExtractor.cpp | 121 if (!isa<ReturnInst>(ExitBlocks[i]->getTerminator())) { in runOnLoop()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | BasicBlock.cpp | 153 const ReturnInst *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingMustTailCall() 184 auto *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingDeoptimizeCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | CaptureTracking.cpp | 60 if (isa<ReturnInst>(U->getUser()) && !ReturnCaptures) in captured() 146 if (isa<ReturnInst>(U->getUser()) && !ReturnCaptures) in captured()
|