/external/llvm/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 29 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); 40 Instruction *I = dyn_cast<Instruction>(PN.getIncomingValue(i)); 89 Instruction *InInst = cast<Instruction>(PN.getIncomingValue(i)); 112 NewBinOp->copyIRFlags(PN.getIncomingValue(0)); 115 NewBinOp->andIRFlags(PN.getIncomingValue(i)); 122 GetElementPtrInst *FirstInst =cast<GetElementPtrInst>(PN.getIncomingValue(0)); 139 GetElementPtrInst *GEP= dyn_cast<GetElementPtrInst>(PN.getIncomingValue(i)); 212 GetElementPtrInst *InGEP =cast<GetElementPtrInst>(PN.getIncomingValue(i)); 277 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); 308 LoadInst *LI = dyn_cast<LoadInst>(PN.getIncomingValue(i)) [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
DemoteRegToStack.cpp | 66 if (PN->getIncomingValue(i) == &I) { 130 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { 134 new StoreInst(P->getIncomingValue(i), Slot,
|
SSAUpdater.cpp | 82 PHI->getIncomingValue(i)) { 250 Value *getIncomingValue() { return PHI->getIncomingValue(idx); }
|
LoopSimplify.cpp | 469 if (PN->getIncomingValue(i) == PN && 541 if (PN->getIncomingValue(i) != PN || 682 Value *IV = PN->getIncomingValue(i); 699 PN->setIncomingValue(0, PN->getIncomingValue(PreheaderIdx));
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 25 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); 45 Instruction *I = dyn_cast<Instruction>(PN.getIncomingValue(i)); 101 Instruction *InInst = cast<Instruction>(PN.getIncomingValue(i)); 131 GetElementPtrInst *FirstInst =cast<GetElementPtrInst>(PN.getIncomingValue(0)); 148 GetElementPtrInst *GEP= dyn_cast<GetElementPtrInst>(PN.getIncomingValue(i)); 221 GetElementPtrInst *InGEP =cast<GetElementPtrInst>(PN.getIncomingValue(i)); 288 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); 319 LoadInst *LI = dyn_cast<LoadInst>(PN.getIncomingValue(i)); 357 Value *NewInVal = cast<LoadInst>(PN.getIncomingValue(i))->getOperand(0); 379 cast<LoadInst>(PN.getIncomingValue(i))->setVolatile(false) [all...] |
InstructionCombining.cpp | 619 Value *InVal = PN->getIncomingValue(i); 672 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) 675 InV = Builder->CreateSelect(PN->getIncomingValue(i), 683 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) 686 InV = Builder->CreateICmp(CI->getPredicate(), PN->getIncomingValue(i), 689 InV = Builder->CreateFCmp(CI->getPredicate(), PN->getIncomingValue(i), 697 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) 701 PN->getIncomingValue(i), C, "phitmp"); 709 if (Constant *InC = dyn_cast<Constant>(PN->getIncomingValue(i))) 713 PN->getIncomingValue(i), I.getType(), "phitmp") [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 34 auto *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); 41 auto *I = cast<Instruction>(PN.getIncomingValue(i)); 133 Value *Arg = PN.getIncomingValue(i); 285 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); 296 Instruction *I = dyn_cast<Instruction>(PN.getIncomingValue(i)); 345 Instruction *InInst = cast<Instruction>(PN.getIncomingValue(i)); 368 NewBinOp->copyIRFlags(PN.getIncomingValue(0)); 371 NewBinOp->andIRFlags(PN.getIncomingValue(i)); 378 GetElementPtrInst *FirstInst =cast<GetElementPtrInst>(PN.getIncomingValue(0)); 395 GetElementPtrInst *GEP= dyn_cast<GetElementPtrInst>(PN.getIncomingValue(i)) [all...] |
/external/llvm/lib/Transforms/Utils/ |
DemoteRegToStack.cpp | 70 if (PN->getIncomingValue(i) == &I) { 126 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { 130 new StoreInst(P->getIncomingValue(i), Slot,
|
SSAUpdater.cpp | 74 PHI->getIncomingValue(i)) { 233 Value *getIncomingValue() { return PHI->getIncomingValue(idx); }
|
LoopVersioning.cpp | 136 if (PN->getIncomingValue(0) == Inst) 156 Value *ClonedValue = PN->getIncomingValue(0);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
DemoteRegToStack.cpp | 72 if (PN->getIncomingValue(i) == &I) { 131 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { 135 new StoreInst(P->getIncomingValue(i), Slot,
|
BasicBlockUtils.cpp | 91 if (PN->getIncomingValue(0) != PN) 92 PN->replaceAllUsesWith(PN->getIncomingValue(0)); 151 if (!isa<PHINode>(PN.getIncomingValue(0)) || 152 cast<PHINode>(PN.getIncomingValue(0))->getParent() != BB) 153 IncomingValues.push_back(PN.getIncomingValue(0)); 434 InVal = PN->getIncomingValue(i); 435 else if (InVal != PN->getIncomingValue(i)) {
|
SSAUpdater.cpp | 88 PHI->getIncomingValue(i)) { 247 Value *getIncomingValue() { return PHI->getIncomingValue(idx); }
|
LoopVersioning.cpp | 136 if (PN->getIncomingValue(0) == Inst) 159 Value *ClonedValue = PN->getIncomingValue(0);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/ |
ObjCARC.h | 95 auto *PNOpnd = PN.getIncomingValue(I)->stripPointerCasts();
|
ProvenanceAnalysis.cpp | 66 if (related(A->getIncomingValue(i),
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
MemorySSA.cpp | 180 EXPECT_EQ(MergePhi->getIncomingValue(0), EntryStoreAccess); 181 EXPECT_EQ(MergePhi->getIncomingValue(1), LeftStoreAccess); 195 EXPECT_EQ(MergePhi->getIncomingValue(0), SecondEntryStoreAccess); 196 EXPECT_EQ(MergePhi->getIncomingValue(1), LeftStoreAccess); 365 EXPECT_EQ(MergePhi->getIncomingValue(1), EntryStoreAccess); 366 EXPECT_EQ(MergePhi->getIncomingValue(0), SideStoreAccess); 370 EXPECT_EQ(MergePhi->getIncomingValue(0), NewStoreAccess); 371 EXPECT_EQ(MergePhi->getIncomingValue(1), NewStoreAccess); 408 EXPECT_EQ(MergePhi->getIncomingValue(1), EntryStoreAccess); 409 EXPECT_EQ(MergePhi->getIncomingValue(0), SideStoreAccess) [all...] |
/external/llvm/lib/Target/AMDGPU/ |
SIAnnotateControlFlow.cpp | 196 if (Phi->getIncomingValue(i) != BoolTrue) 200 if (Phi->getIncomingValue(i) != BoolFalse) 252 Value *Incoming = Phi->getIncomingValue(i); 268 Value *Incoming = Phi->getIncomingValue(i);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
SIAnnotateControlFlow.cpp | 189 if (Phi->getIncomingValue(i) != BoolTrue) 193 if (Phi->getIncomingValue(i) != BoolFalse) 245 Value *Incoming = Phi->getIncomingValue(i); 261 Value *Incoming = Phi->getIncomingValue(i);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
CallSiteSplitting.cpp | 426 if (PN->getIncomingValue(0) == PN->getIncomingValue(1)) 428 if (isa<Constant>(PN->getIncomingValue(0)) && 429 isa<Constant>(PN->getIncomingValue(1)))
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 95 Value *Incoming = P->getIncomingValue(i); 98 Constant *C = LVI->getConstantOnEdge(P->getIncomingValue(i),
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
BasicBlock.cpp | 256 if (PN->getIncomingValue(0) != PN) 257 PN->replaceAllUsesWith(PN->getIncomingValue(0));
|
/external/llvm/lib/Transforms/ObjCARC/ |
ProvenanceAnalysis.cpp | 57 if (related(A->getIncomingValue(i),
|
/external/llvm/lib/IR/ |
BasicBlock.cpp | 321 if (PN->getIncomingValue(0) != PN) 322 PN->replaceAllUsesWith(PN->getIncomingValue(0));
|
/external/llvm/lib/Transforms/Scalar/ |
LoopInterchange.cpp | 725 Instruction *Ins = dyn_cast<Instruction>(PHI->getIncomingValue(0)); 817 dyn_cast<Instruction>(InnerInductionVar->getIncomingValue(1)); 820 dyn_cast<Instruction>(InnerInductionVar->getIncomingValue(0)); [all...] |