Searched refs:SO1 (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 870 Value *SO1 = Src->getOperand(Src->getNumOperands()-1); in visitGetElementPtrInst() local 872 if (SO1 == Constant::getNullValue(SO1->getType())) { in visitGetElementPtrInst() 875 Sum = SO1; in visitGetElementPtrInst() 881 if (SO1->getType() != GO1->getType()) in visitGetElementPtrInst() 883 Sum = Builder->CreateAdd(SO1, GO1, PtrOp->getName()+".sum"); in visitGetElementPtrInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1513 Value *SO1 = Src->getOperand(Src->getNumOperands()-1); in visitGetElementPtrInst() local 1515 if (SO1 == Constant::getNullValue(SO1->getType())) { in visitGetElementPtrInst() 1518 Sum = SO1; in visitGetElementPtrInst() 1524 if (SO1->getType() != GO1->getType()) in visitGetElementPtrInst() 1529 if (!isa<Constant>(GO1) || !isa<Constant>(SO1)) in visitGetElementPtrInst() 1531 Sum = Builder->CreateAdd(SO1, GO1, PtrOp->getName()+".sum"); in visitGetElementPtrInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1609 Value *SO1 = Src->getOperand(1); in visitGetElementPtrInst() local 1613 if (L->isLoopInvariant(GO1) && !L->isLoopInvariant(SO1)) { in visitGetElementPtrInst() 1636 GEP.setOperand(1, SO1); in visitGetElementPtrInst() 1646 auto *NewGEP = GetElementPtrInst::Create(nullptr, NewSrc, {SO1}); in visitGetElementPtrInst() 1673 Value *SO1 = Src->getOperand(Src->getNumOperands()-1); in visitGetElementPtrInst() local 1680 if (SO1->getType() != GO1->getType()) in visitGetElementPtrInst() 1684 SimplifyAddInst(GO1, SO1, false, false, SQ.getWithInstruction(&GEP)); in visitGetElementPtrInst()
|