/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 50 I.getOpcode(), Builder.CreateBinOp(I.getOpcode(), Op0, C), A); in commonShiftTransforms() 392 Value *NSh = Builder.CreateBinOp(I.getOpcode(), TrOp, ShAmt, I.getName()); in FoldShiftByConstant() 442 Value *X = Builder.CreateBinOp(Op0BO->getOpcode(), YS, V1, in FoldShiftByConstant() 477 Value *X = Builder.CreateBinOp(Op0BO->getOpcode(), V1, YS, in FoldShiftByConstant() 516 Builder.CreateBinOp(I.getOpcode(), Op0BO->getOperand(0), Op1); in FoldShiftByConstant() 560 Builder.CreateBinOp(I.getOpcode(), FalseVal, Op1); in FoldShiftByConstant() 561 Value *NewOp = Builder.CreateBinOp(TBO->getOpcode(), NewShift, in FoldShiftByConstant() 579 Builder.CreateBinOp(I.getOpcode(), TrueVal, Op1); in FoldShiftByConstant() 580 Value *NewOp = Builder.CreateBinOp(FBO->getOpcode(), NewShift, in FoldShiftByConstant()
|
D | InstructionCombining.cpp | 536 V = Builder.CreateBinOp(TopLevelOpcode, B, D, RHS->getName()); in tryFactorization() 538 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 556 V = Builder.CreateBinOp(TopLevelOpcode, A, C, LHS->getName()); in tryFactorization() 558 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 653 C = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 662 C = Builder.CreateBinOp(TopLevelOpcode, B, C); in SimplifyUsingDistributiveLaws() 671 C = Builder.CreateBinOp(TopLevelOpcode, A, C); in SimplifyUsingDistributiveLaws() 690 A = Builder.CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 699 A = Builder.CreateBinOp(TopLevelOpcode, A, C); in SimplifyUsingDistributiveLaws() 708 A = Builder.CreateBinOp(TopLevelOpcode, A, B); in SimplifyUsingDistributiveLaws() [all …]
|
D | InstCombineAndOrXor.cpp | 110 Value *BinOp = Builder.CreateBinOp(I.getOpcode(), NewLHS, NewRHS); in SimplifyBSwap() 1152 Value *AndOr = Builder.CreateBinOp(Opcode, A, B, I.getName() + ".demorgan"); in matchDeMorgansLaws() 1196 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() 1206 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() 1249 Value *NewOp = Builder.CreateBinOp(LogicOpc, Cast0Src, Cast1Src, in foldCastedBitwiseLogic() 1395 Value *NewBO = Opc == Instruction::Sub ? Builder.CreateBinOp(Opc, NewC, X) in narrowMaskedBinOp() 1396 : Builder.CreateBinOp(Opc, X, NewC); in narrowMaskedBinOp() 1511 BinOp = Builder.CreateBinOp(Op0I->getOpcode(), X, TruncC1); in visitAnd() 1513 BinOp = Builder.CreateBinOp(Op0I->getOpcode(), TruncC1, X); in visitAnd()
|
D | InstCombineMulDivRem.cpp | 274 Value *Rem = Builder.CreateBinOp(RemOpc, X, DivOp1); in visitMul() 907 Value *NarrowOp = Builder.CreateBinOp(Opcode, X, Y); in narrowUDivURem() 923 Value *NarrowOp = isa<Constant>(D) ? Builder.CreateBinOp(Opcode, X, TruncC) in narrowUDivURem() 924 : Builder.CreateBinOp(Opcode, TruncC, X); in narrowUDivURem()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 371 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName()); in FoldShiftByConstant() 421 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), YS, V1, in FoldShiftByConstant() 454 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), V1, YS, in FoldShiftByConstant() 515 Builder->CreateBinOp(I.getOpcode(), Op0BO->getOperand(0), Op1); in FoldShiftByConstant() 605 Value *Shift = Builder->CreateBinOp(ShiftOp->getOpcode(), X, in FoldShiftByConstant()
|
D | InstructionCombining.cpp | 396 V = Builder->CreateBinOp(TopLevelOpcode, B, D, Op1->getName()); in SimplifyUsingDistributiveLaws() 399 V = Builder->CreateBinOp(InnerOpcode, A, V); in SimplifyUsingDistributiveLaws() 418 V = Builder->CreateBinOp(TopLevelOpcode, A, C, Op0->getName()); in SimplifyUsingDistributiveLaws() 421 V = Builder->CreateBinOp(InnerOpcode, V, B); in SimplifyUsingDistributiveLaws() 448 C = Builder->CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 473 A = Builder->CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 540 return IC->Builder->CreateBinOp(BO->getOpcode(), Op0, Op1, in FoldOperationIntoSelectOperand() 700 InV = Builder->CreateBinOp(cast<BinaryOperator>(I).getOpcode(), in FoldOpIntoPhi()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 383 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName()); in FoldShiftByConstant() 433 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), YS, V1, in FoldShiftByConstant() 469 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), V1, YS, in FoldShiftByConstant() 532 Builder->CreateBinOp(I.getOpcode(), Op0BO->getOperand(0), Op1); in FoldShiftByConstant()
|
D | InstructionCombining.cpp | 481 V = Builder->CreateBinOp(TopLevelOpcode, B, D, RHS->getName()); in tryFactorization() 483 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V); in tryFactorization() 501 V = Builder->CreateBinOp(TopLevelOpcode, A, C, LHS->getName()); in tryFactorization() 503 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B); in tryFactorization() 600 C = Builder->CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 625 A = Builder->CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws() 640 Builder->CreateBinOp(TopLevelOpcode, in SimplifyUsingDistributiveLaws() 648 Builder->CreateBinOp(TopLevelOpcode, SI0->getFalseValue(), in SimplifyUsingDistributiveLaws() 716 Value *RI = IC->Builder->CreateBinOp(BO->getOpcode(), Op0, Op1, in FoldOperationIntoSelectOperand() 897 InV = Builder->CreateBinOp(cast<BinaryOperator>(I).getOpcode(), in FoldOpIntoPhi() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonLoopIdiomRecognition.cpp | 1602 return B.CreateBinOp(cast<BinaryOperator>(T)->getOpcode(), in setupPreSimplifier() 1637 B.CreateBinOp(Op, X, Z), in setupPreSimplifier() 1638 B.CreateBinOp(Op, Y, Z)); in setupPreSimplifier() 1645 B.CreateBinOp(Op, X, Y), in setupPreSimplifier() 1646 B.CreateBinOp(Op, X, Z)); in setupPreSimplifier() 1699 return B.CreateBinOp(BitOp->getOpcode(), in setupPreSimplifier() 1727 return B.CreateBinOp(BitOp2->getOpcode(), X, in setupPreSimplifier() 1728 B.CreateBinOp(BitOp1->getOpcode(), CA, CB)); in setupPreSimplifier()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 105 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, in createReplacementInstr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 105 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, in createReplacementInstr()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantFolder.h | 97 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
|
D | TargetFolder.h | 109 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
|
D | NoFolder.h | 147 Instruction *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 97 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
|
D | NoFolder.h | 147 Instruction *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 116 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
|
D | NoFolder.h | 174 Instruction *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 302 return Builder.CreateBinOp(Instruction::BinaryOps(C->getOpcode()), in remapConstantExpr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 108 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 352 Res = Builder.CreateBinOp((Instruction::BinaryOps)Opc, LHS, RHS); in ReduceExpressionDag()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 109 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 352 return Builder.CreateBinOp(Instruction::BinaryOps(C->getOpcode()), in remapConstantExpr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 860 Value *BOp = B.CreateBinOp(InductionBinOp->getOpcode() , StartValue, in transform() 1548 Result = Builder.CreateBinOp((Instruction::BinaryOps)Op, Result, Ext, in getOrderedReduction() 1592 TmpVec = addFastMathFlag(Builder.CreateBinOp((Instruction::BinaryOps)Op, in getShuffleReduction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 295 ExtRes = Builder.CreateBinOp(I.getOpcode(), ExtOp0, ExtOp1); in promoteUniformOpToI32() 781 NewElt = Builder.CreateBinOp(Opc, NumEltN, DenEltN); in visitBinaryOperator()
|