Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp382 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName()); in FoldShiftByConstant()
432 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), YS, V1, in FoldShiftByConstant()
468 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), V1, YS, in FoldShiftByConstant()
531 Builder->CreateBinOp(I.getOpcode(), Op0BO->getOperand(0), Op1); in FoldShiftByConstant()
DInstructionCombining.cpp485 V = Builder->CreateBinOp(TopLevelOpcode, B, D, RHS->getName()); in tryFactorization()
487 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V); in tryFactorization()
505 V = Builder->CreateBinOp(TopLevelOpcode, A, C, LHS->getName()); in tryFactorization()
507 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B); in tryFactorization()
604 C = Builder->CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws()
629 A = Builder->CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws()
644 Builder->CreateBinOp(TopLevelOpcode, in SimplifyUsingDistributiveLaws()
652 Builder->CreateBinOp(TopLevelOpcode, SI0->getFalseValue(), in SimplifyUsingDistributiveLaws()
720 Value *RI = IC->Builder->CreateBinOp(BO->getOpcode(), Op0, Op1, in FoldOperationIntoSelectOperand()
901 InV = Builder->CreateBinOp(cast<BinaryOperator>(I).getOpcode(), in FoldOpIntoPhi()
[all …]
DInstCombineAndOrXor.cpp1222 Value *LogicOp = Builder->CreateBinOp(Opcode, Op0NotVal, Op1NotVal, in matchDeMorgansLaws()
1240 Value *LogicOp = Builder->CreateBinOp(Opcode, A, B, in matchDeMorgansLaws()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp105 Builder.CreateBinOp((Instruction::BinaryOps)OpCode, in createReplacementInstr()
/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
DIRBuilder.h982 Value *CreateBinOp(Instruction::BinaryOps Opc,
987 return Insert(Folder.CreateBinOp(Opc, LC, RC), Name);
/external/llvm/include/llvm/Analysis/
DTargetFolder.h109 Constant *CreateBinOp(Instruction::BinaryOps Opc, in CreateBinOp() function
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp356 return Builder.CreateBinOp(Instruction::BinaryOps(C->getOpcode()), in remapConstantExpr()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp499 NewV = IRB.CreateBinOp(mapBinOpcode(I->getOpcode()), in convert()
DScalarizer.cpp98 return Builder.CreateBinOp(BO.getOpcode(), Op0, Op1, Name); in operator ()()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp160 F = Builder.CreateBinOp(Instruction::FAdd, F, F); in TEST_F()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2354 Value *V = Builder.CreateBinOp(BinOp->getOpcode(), LHS, RHS); in vectorizeTree()
2514 Value *V0 = Builder.CreateBinOp(BinOp0->getOpcode(), LHS, RHS); in vectorizeTree()
2519 Value *V1 = Builder.CreateBinOp(BinOp1->getOpcode(), LHS, RHS); in vectorizeTree()
3857 return Builder.CreateBinOp((Instruction::BinaryOps)Opcode, L, R, Name); in createBinOp()
DLoopVectorize.cpp3186 NewI = B.CreateBinOp(BO->getOpcode(), in truncateToMinimalBitwidths()
3418 Builder.CreateBinOp((Instruction::BinaryOps)Op, RdxParts[part], in vectorizeLoop()
3450 TmpVec = addFastMathFlag(Builder.CreateBinOp( in vectorizeLoop()
3763 Value *V = Builder.CreateBinOp(BinOp->getOpcode(), A[Part], B[Part]); in vectorizeBlockInLoop()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2253 cast<Instruction>(Builder.CreateBinOp(Opc, PBI->getCondition(), in FoldBranchToCommonDest()
2319 cast<Instruction>(Builder.CreateBinOp(Instruction::And, in FoldBranchToCommonDest()
2324 cast<Instruction>(Builder.CreateBinOp(Instruction::Or, in FoldBranchToCommonDest()
2332 cast<Instruction>(Builder.CreateBinOp(Instruction::And, in FoldBranchToCommonDest()
2340 cast<Instruction>(Builder.CreateBinOp(Instruction::Or, in FoldBranchToCommonDest()
/external/clang/lib/CodeGen/
DCGAtomic.cpp632 Result = CGF.Builder.CreateBinOp(PostOp, RMWI, LoadVal1); in EmitAtomicOp()
1014 ResVal = Builder.CreateBinOp(PostOp, ResVal, LoadVal1); in EmitAtomicExpr()
DItaniumCXXABI.cpp935 EqZero = Builder.CreateBinOp(And, EqZero, OrAdjAnd1EqZero); in EmitMemberPointerComparison()
939 llvm::Value *Result = Builder.CreateBinOp(Or, EqZero, AdjEq); in EmitMemberPointerComparison()
940 Result = Builder.CreateBinOp(And, PtrEq, Result, in EmitMemberPointerComparison()
DMicrosoftCXXABI.cpp2752 Res = Builder.CreateBinOp(And, Res, Cmp); in EmitMemberPointerComparison()
2762 Res = Builder.CreateBinOp(Or, Res, IsZero); in EmitMemberPointerComparison()
2767 return Builder.CreateBinOp(And, Res, Cmp0, "memptr.cmp"); in EmitMemberPointerComparison()
DCGExprScalar.cpp1684 return isPre ? Builder.CreateBinOp(op, old, amt) : old; in EmitScalarPrePostIncDec()
DCGBuiltin.cpp173 Result = CGF.Builder.CreateBinOp(Op, Result, Args[1]); in EmitBinaryAtomicPost()
175 Result = CGF.Builder.CreateBinOp(llvm::Instruction::Xor, Result, in EmitBinaryAtomicPost()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp214 Instruction *BO = cast<Instruction>(Builder.CreateBinOp(Opcode, LHS, RHS)); in InsertBinop()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1843 Value *Shift = IRB.CreateBinOp(I.getOpcode(), S1, V2); in handleShift()
/external/llvm/lib/IR/
DCore.cpp2433 return wrap(unwrap(B)->CreateBinOp(Instruction::BinaryOps(map_from_llvmopcode(Op)), unwrap(LHS), in LLVMBuildBinOp()
/external/llvm/bindings/go/llvm/
Dir.go1412 func (b Builder) CreateBinOp(op Opcode, lhs, rhs Value, name string) (v Value) { func