/external/llvm/lib/Transforms/Utils/ |
UnifyFunctionExitNodes.cpp | 54 if (isa<ReturnInst>(I.getTerminator())) 93 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); 99 ReturnInst::Create(F.getContext(), PN, NewRetBlock);
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
Cloning.h | 38 class ReturnInst; 146 SmallVectorImpl<ReturnInst*> &Returns, 164 SmallVectorImpl<ReturnInst*> &Returns,
|
BasicBlockUtils.h | 29 class ReturnInst; 202 ReturnInst *FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
UnifyFunctionExitNodes.cpp | 53 if (isa<ReturnInst>(I.getTerminator())) 92 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); 98 ReturnInst::Create(F.getContext(), PN, NewRetBlock);
|
/external/llvm/include/llvm/Transforms/Utils/ |
Cloning.h | 40 class ReturnInst; 143 SmallVectorImpl<ReturnInst*> &Returns, 152 SmallVectorImpl<ReturnInst *> &Returns, 169 SmallVectorImpl<ReturnInst*> &Returns,
|
BasicBlockUtils.h | 30 class ReturnInst; 227 ReturnInst *FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB,
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
TailRecursionElimination.cpp | 92 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, 98 ReturnInst *Ret, BasicBlock *&OldEntry, 102 bool ProcessReturningBlock(ReturnInst *RI, BasicBlock *&OldEntry, 185 if (ReturnInst *Ret = dyn_cast<ReturnInst>(BB->getTerminator())) { 270 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) { 305 static Value *getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) { 310 ReturnInst *RI = dyn_cast<ReturnInst>(BBI->getTerminator()); 344 if (!I->hasOneUse() || !isa<ReturnInst>(I->use_back()) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
Analysis.h | 115 const ReturnInst *Ret, 123 const ReturnInst *Ret,
|
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
InstructionsTest.cpp | 21 TEST(InstructionsTest, ReturnInst) { 25 const ReturnInst* r0 = ReturnInst::Create(C); 31 const ReturnInst* r1 = ReturnInst::Create(C, One);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
UnifyFunctionExitNodes.cpp | 56 if (isa<ReturnInst>(I->getTerminator())) 116 ReturnInst::Create(F.getContext(), NULL, NewRetBlock); 122 ReturnInst::Create(F.getContext(), PN, NewRetBlock);
|
/external/llvm/examples/ModuleMaker/ |
ModuleMaker.cpp | 62 BB->getInstList().push_back(ReturnInst::Create(Context, Add));
|
/external/swiftshader/third_party/LLVM/examples/ModuleMaker/ |
ModuleMaker.cpp | 56 BB->getInstList().push_back(ReturnInst::Create(Context, Add));
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/ModuleMaker/ |
ModuleMaker.cpp | 62 BB->getInstList().push_back(ReturnInst::Create(Context, Add));
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
Cloning.h | 48 class ReturnInst; 143 SmallVectorImpl<ReturnInst*> &Returns, 152 SmallVectorImpl<ReturnInst *> &Returns, 169 SmallVectorImpl<ReturnInst*> &Returns,
|
BasicBlockUtils.h | 37 class ReturnInst; 231 ReturnInst *FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB,
|
/external/llvm/lib/Transforms/Scalar/ |
TailRecursionElimination.cpp | 358 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) { 392 static Value *getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) { 397 ReturnInst *RI = dyn_cast<ReturnInst>(BBI.getTerminator()); 429 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) 435 return getCommonReturnValue(cast<ReturnInst>(I->user_back()), CI); 495 static bool eliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, 657 if (ReturnInst *RI = dyn_cast<ReturnInst>(BBI.getTerminator())) 673 static bool foldReturnAndProcessPred(BasicBlock *BB, ReturnInst *Ret [all...] |
SimplifyCFGPass.cpp | 66 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator()); 98 cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0)) { 107 Value *InVal = cast<ReturnInst>(RetBlock->getTerminator())->getOperand(0);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
TailRecursionElimination.cpp | 354 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) { 388 static Value *getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) { 393 ReturnInst *RI = dyn_cast<ReturnInst>(BBI.getTerminator()); 425 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) 431 return getCommonReturnValue(cast<ReturnInst>(I->user_back()), CI); 491 static bool eliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, 658 if (ReturnInst *RI = dyn_cast<ReturnInst>(BBI.getTerminator())) 675 BasicBlock *BB, ReturnInst *Ret, BasicBlock *&OldEntry [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
AMDGPURewriteOutArguments.cpp | 263 DenseMap<ReturnInst *, ReplacementVec> Replacements; 265 SmallVector<ReturnInst *, 4> Returns; 267 if (ReturnInst *RI = dyn_cast<ReturnInst>(&BB.back())) 288 SmallVector<std::pair<ReturnInst *, StoreInst *>, 4> ReplaceableStores; 303 for (ReturnInst *RI : Returns) { 324 for (std::pair<ReturnInst *, StoreInst *> Store : ReplaceableStores) { 385 for (std::pair<ReturnInst *, ReplacementVec> &Replacement : Replacements) { 386 ReturnInst *RI = Replacement.first;
|
AMDGPUUnifyDivergentExitNodes.cpp | 131 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); 137 ReturnInst::Create(F.getContext(), PN, NewRetBlock); 177 if (isa<ReturnInst>(BB->getTerminator())) { 191 ReturnInst::Create(F.getContext(), RetVal, DummyReturnBB); 251 ReturnInst::Create(F.getContext(), RetVal, UnreachableBlock);
|
/external/llvm/examples/Fibonacci/ |
fibonacci.cpp | 81 ReturnInst::Create(Context, One, RetBB); 98 ReturnInst::Create(Context, Sum, RecurseBB);
|
/external/swiftshader/third_party/LLVM/examples/Fibonacci/ |
fibonacci.cpp | 68 ReturnInst::Create(Context, One, RetBB);
86 ReturnInst::Create(Context, Sum, RecurseBB);
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Fibonacci/ |
fibonacci.cpp | 80 ReturnInst::Create(Context, One, RetBB); 97 ReturnInst::Create(Context, Sum, RecurseBB);
|
/external/llvm/include/llvm/CodeGen/ |
Analysis.h | 113 const ReturnInst *Ret,
|
/external/llvm/lib/Target/PowerPC/ |
PPCBoolRetToInt.cpp | 125 return isa<ReturnInst>(V) || isa<CallInst>(V) || isa<PHINode>(V) || 179 if (ReturnInst *R = dyn_cast<ReturnInst>(&I)) 214 if (isa<ReturnInst>(U.getUser()))
|