Home
last modified time | relevance | path

Searched refs:CreateBinOp (Results 1 – 25 of 58) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp50 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()
DInstructionCombining.cpp536 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 …]
DInstCombineAndOrXor.cpp110 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()
DInstCombineMulDivRem.cpp274 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/
DInstCombineShifts.cpp371 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()
DInstructionCombining.cpp396 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/
DInstCombineShifts.cpp383 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()
DInstructionCombining.cpp481 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/
DHexagonLoopIdiomRecognition.cpp1602 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/
DXCoreLowerThreadLocal.cpp105 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, in createReplacementInstr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp105 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, in createReplacementInstr()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h97 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
DTargetFolder.h109 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
DNoFolder.h147 Instruction *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
/external/llvm/include/llvm/IR/
DConstantFolder.h97 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
DNoFolder.h147 Instruction *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantFolder.h116 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
DNoFolder.h174 Instruction *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp302 return Builder.CreateBinOp(Instruction::BinaryOps(C->getOpcode()), in remapConstantExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h108 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp352 Res = Builder.CreateBinOp((Instruction::BinaryOps)Opc, LHS, RHS); in ReduceExpressionDag()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h109 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp352 return Builder.CreateBinOp(Instruction::BinaryOps(C->getOpcode()), in remapConstantExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp860 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/
DAMDGPUCodeGenPrepare.cpp295 ExtRes = Builder.CreateBinOp(I.getOpcode(), ExtOp0, ExtOp1); in promoteUniformOpToI32()
781 NewElt = Builder.CreateBinOp(Opc, NumEltN, DenEltN); in visitBinaryOperator()

123