Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp375 Value *NSh = Builder->CreateBinOp(I.getOpcode(), TrOp, ShAmt,I.getName()); in FoldShiftByConstant()
425 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), YS, V1, in FoldShiftByConstant()
461 Value *X = Builder->CreateBinOp(Op0BO->getOpcode(), V1, YS, in FoldShiftByConstant()
524 Builder->CreateBinOp(I.getOpcode(), Op0BO->getOperand(0), Op1); in FoldShiftByConstant()
DInstructionCombining.cpp468 V = Builder->CreateBinOp(TopLevelOpcode, B, D, RHS->getName()); in tryFactorization()
470 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V); in tryFactorization()
488 V = Builder->CreateBinOp(TopLevelOpcode, A, C, LHS->getName()); in tryFactorization()
490 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B); in tryFactorization()
575 C = Builder->CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws()
600 A = Builder->CreateBinOp(InnerOpcode, L, R); in SimplifyUsingDistributiveLaws()
667 Value *RI = IC->Builder->CreateBinOp(BO->getOpcode(), Op0, Op1, in FoldOperationIntoSelectOperand()
834 InV = Builder->CreateBinOp(cast<BinaryOperator>(I).getOpcode(), in FoldOpIntoPhi()
1186 Value *BORes = B->CreateBinOp(Inst.getOpcode(), LHS, RHS); in CreateBinOpAsGiven()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp104 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.h851 Value *CreateBinOp(Instruction::BinaryOps Opc,
856 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/unittests/IR/
DIRBuilderTest.cpp159 F = Builder.CreateBinOp(Instruction::FAdd, F, F); in TEST_F()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp349 return Builder.CreateBinOp(Instruction::BinaryOps(C->getOpcode()), in remapConstantExpr()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1785 Value *V = Builder.CreateBinOp(BinOp->getOpcode(), LHS, RHS); in vectorizeTree()
1912 Value *V0 = Builder.CreateBinOp(BinOp0->getOpcode(), LHS, RHS); in vectorizeTree()
1917 Value *V1 = Builder.CreateBinOp(BinOp1->getOpcode(), LHS, RHS); in vectorizeTree()
2804 return Builder.CreateBinOp((Instruction::BinaryOps)Opcode, L, R, Name); in createBinOp()
DLoopVectorize.cpp2743 Builder.CreateBinOp((Instruction::BinaryOps)Op, RdxParts[part], in vectorizeLoop()
2775 TmpVec = addFastMathFlag(Builder.CreateBinOp( in vectorizeLoop()
3106 Value *V = Builder.CreateBinOp(BinOp->getOpcode(), A[Part], B[Part]); in vectorizeBlockInLoop()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2178 cast<Instruction>(Builder.CreateBinOp(Opc, PBI->getCondition(), in FoldBranchToCommonDest()
2244 cast<Instruction>(Builder.CreateBinOp(Instruction::And, in FoldBranchToCommonDest()
2249 cast<Instruction>(Builder.CreateBinOp(Instruction::Or, in FoldBranchToCommonDest()
2257 cast<Instruction>(Builder.CreateBinOp(Instruction::And, in FoldBranchToCommonDest()
2265 cast<Instruction>(Builder.CreateBinOp(Instruction::Or, in FoldBranchToCommonDest()
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp98 return Builder.CreateBinOp(BO.getOpcode(), Op0, Op1, Name); in operator ()()
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp775 EqZero = Builder.CreateBinOp(And, EqZero, OrAdjAnd1EqZero); in EmitMemberPointerComparison()
779 llvm::Value *Result = Builder.CreateBinOp(Or, EqZero, AdjEq); in EmitMemberPointerComparison()
780 Result = Builder.CreateBinOp(And, PtrEq, Result, in EmitMemberPointerComparison()
DMicrosoftCXXABI.cpp2043 Res = Builder.CreateBinOp(And, Res, Cmp); in EmitMemberPointerComparison()
2053 Res = Builder.CreateBinOp(Or, Res, IsZero); in EmitMemberPointerComparison()
2058 return Builder.CreateBinOp(And, Res, Cmp0, "memptr.cmp"); in EmitMemberPointerComparison()
DCGAtomic.cpp444 Result = CGF.Builder.CreateBinOp(PostOp, RMWI, LoadVal1); in EmitAtomicOp()
DCGExprScalar.cpp1586 return isPre ? Builder.CreateBinOp(op, old, amt) : old; in EmitScalarPrePostIncDec()
DCGBuiltin.cpp140 Result = CGF.Builder.CreateBinOp(Op, Result, Args[1]); in EmitBinaryAtomicPost()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp193 Instruction *BO = cast<Instruction>(Builder.CreateBinOp(Opcode, LHS, RHS)); in InsertBinop()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1646 Value *Shift = IRB.CreateBinOp(I.getOpcode(), S1, V2); in handleShift()
/external/llvm/lib/IR/
DCore.cpp2229 return wrap(unwrap(B)->CreateBinOp(Instruction::BinaryOps(map_from_llvmopcode(Op)), unwrap(LHS), in LLVMBuildBinOp()