/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 627 BinaryOperator *NewBO = nullptr; in distributeExtsAndCloneChain() local 629 NewBO = BinaryOperator::Create(BO->getOpcode(), NextInChain, TheOther, in distributeExtsAndCloneChain() 632 NewBO = BinaryOperator::Create(BO->getOpcode(), TheOther, NextInChain, in distributeExtsAndCloneChain() 635 return UserChain[ChainIndex] = NewBO; in distributeExtsAndCloneChain() 680 BinaryOperator *NewBO; in removeConstOffset() local 682 NewBO = BinaryOperator::Create(NewOp, NextInChain, TheOther, "", IP); in removeConstOffset() 684 NewBO = BinaryOperator::Create(NewOp, TheOther, NextInChain, "", IP); in removeConstOffset() 686 NewBO->takeName(BO); in removeConstOffset() 687 return NewBO; in removeConstOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 673 BinaryOperator *NewBO = nullptr; in distributeExtsAndCloneChain() local 675 NewBO = BinaryOperator::Create(BO->getOpcode(), NextInChain, TheOther, in distributeExtsAndCloneChain() 678 NewBO = BinaryOperator::Create(BO->getOpcode(), TheOther, NextInChain, in distributeExtsAndCloneChain() 681 return UserChain[ChainIndex] = NewBO; in distributeExtsAndCloneChain() 726 BinaryOperator *NewBO; in removeConstOffset() local 728 NewBO = BinaryOperator::Create(NewOp, NextInChain, TheOther, "", IP); in removeConstOffset() 730 NewBO = BinaryOperator::Create(NewOp, TheOther, NextInChain, "", IP); in removeConstOffset() 732 NewBO->takeName(BO); in removeConstOffset() 733 return NewBO; in removeConstOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 1226 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop() local 1227 NewBO->copyIRFlags(BO); in foldSelectShuffleWith1Binop() 1233 NewBO->dropPoisonGeneratingFlags(); in foldSelectShuffleWith1Binop() 1234 return NewBO; in foldSelectShuffleWith1Binop() 1336 Instruction *NewBO = ConstantsAreOp1 ? BinaryOperator::Create(BOpc, V, NewC) : in foldSelectShuffle() local 1344 NewBO->copyIRFlags(B0); in foldSelectShuffle() 1345 NewBO->andIRFlags(B1); in foldSelectShuffle() 1347 NewBO->setHasNoSignedWrap(false); in foldSelectShuffle() 1349 NewBO->dropPoisonGeneratingFlags(); in foldSelectShuffle() 1350 return NewBO; in foldSelectShuffle()
|
D | InstructionCombining.cpp | 415 BinaryOperator *NewBO = BinaryOperator::Create(Opcode, A, B); in SimplifyAssociativeOrCommutative() local 416 if (isa<FPMathOperator>(NewBO)) { in SimplifyAssociativeOrCommutative() 420 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative() 422 InsertNewInstWith(NewBO, I); in SimplifyAssociativeOrCommutative() 423 NewBO->takeName(Op1); in SimplifyAssociativeOrCommutative() 424 I.setOperand(0, NewBO); in SimplifyAssociativeOrCommutative()
|
D | InstCombineAndOrXor.cpp | 1395 Value *NewBO = Opc == Instruction::Sub ? Builder.CreateBinOp(Opc, NewC, X) in narrowMaskedBinOp() local 1397 return new ZExtInst(Builder.CreateAnd(NewBO, X), Ty); in narrowMaskedBinOp()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1246 if (BinaryOperator *NewBO = dyn_cast<BinaryOperator>(BO)) in CreateBinOpAsGiven() local 1247 NewBO->copyIRFlags(&Inst); in CreateBinOpAsGiven() 1280 Value *NewBO = CreateBinOpAsGiven(Inst, LShuf->getOperand(0), in SimplifyVectorOp() local 1282 return Builder->CreateShuffleVector(NewBO, in SimplifyVectorOp() 1283 UndefValue::get(NewBO->getType()), LShuf->getMask()); in SimplifyVectorOp() 1321 Value *NewBO = CreateBinOpAsGiven(Inst, NewLHS, NewRHS, Builder); in SimplifyVectorOp() local 1322 return Builder->CreateShuffleVector(NewBO, in SimplifyVectorOp()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 4988 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local 4989 if (!NewBO || (NewBO->Opcode != Instruction::Add && in createSCEV() 4990 NewBO->Opcode != Instruction::Sub)) { in createSCEV() 4994 BO = NewBO; in createSCEV() 5018 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local 5019 if (!NewBO || NewBO->Opcode != Instruction::Mul) { in createSCEV() 5023 BO = NewBO; in createSCEV()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 6178 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local 6179 if (!NewBO || (NewBO->Opcode != Instruction::Add && in createSCEV() 6180 NewBO->Opcode != Instruction::Sub)) { in createSCEV() 6184 BO = NewBO; in createSCEV() 6208 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local 6209 if (!NewBO || NewBO->Opcode != Instruction::Mul) { in createSCEV() 6213 BO = NewBO; in createSCEV()
|