/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 62 Value *UDividend = Builder.CreateSub(DvdXor, DividendSign); in generateSignedRemainderCode() 63 Value *UDivisor = Builder.CreateSub(DvsXor, DivisorSign); in generateSignedRemainderCode() 66 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() 91 Value *Remainder = Builder.CreateSub(Dividend, Product); in generatedUnsignedRemainderCode() 134 Value *U_Dvnd = Builder.CreateSub(Tmp2, Tmp); in generateSignedDivisionCode() 136 Value *U_Dvsr = Builder.CreateSub(Tmp3, Tmp1); in generateSignedDivisionCode() 140 Value *Q = Builder.CreateSub(Tmp4, Q_Sgn); in generateSignedDivisionCode() 257 Value *SR = Builder.CreateSub(Tmp0, Tmp1); in generateUnsignedDivisionCode() 273 Value *Tmp2 = Builder.CreateSub(MSB, SR); in generateUnsignedDivisionCode() 315 Value *Tmp9 = Builder.CreateSub(Tmp4, Tmp7); in generateUnsignedDivisionCode() [all …]
|
D | LoopUnrollRuntime.cpp | 324 Builder.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in CloneLoopBlocks() 654 Value *TestVal = B2.CreateSub(TripCount, ModVal, "unroll_iter"); in UnrollRuntimeLoopRemainder() 660 B2.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in UnrollRuntimeLoopRemainder()
|
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 84 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 89 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
|
/external/swiftshader/third_party/LLVM/examples/Fibonacci/ |
D | fibonacci.cpp | 71 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 76 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 41 A = IC.Builder->CreateSub(A, B); in simplifyValueKnownNonZero() 151 Sub = Builder->CreateSub(X, Y, "suba"); in visitMul() 153 Sub = Builder->CreateSub(Builder->CreateNeg(C1), Y, "subc"); in visitMul() 213 return BinaryOperator::CreateSub(Op0BO, Rem); in visitMul() 214 return BinaryOperator::CreateSub(Rem, Op0BO); in visitMul() 246 Value *V = Builder->CreateSub(Constant::getNullValue(I.getType()), in visitMul()
|
D | InstCombineAddSub.cpp | 166 return BinaryOperator::CreateSub(RHS, LHSV); in visitAdd() 172 return BinaryOperator::CreateSub(LHS, V); in visitAdd() 233 return BinaryOperator::CreateSub(SubOne(CRHS), X); in visitAdd() 517 Result = Builder->CreateSub(Result, CstOffset); in OptimizePointerDifference() 589 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub() 612 Builder->CreateSub(Z, Y, Op1->getName())); in visitSub()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1000 return Builder->CreateSub(RHS, NewAnd, "sub"); in checkForNegativeOperand() 1005 return Builder->CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand() 1025 return Builder->CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand() 1095 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd() 1131 return BinaryOperator::CreateSub(RHS, LHSV); in visitAdd() 1137 return BinaryOperator::CreateSub(LHS, V); in visitAdd() 1149 return BinaryOperator::CreateSub(SubOne(CRHS), X); in visitAdd() 1462 Result = Builder->CreateSub(Result, Offset); in OptimizePointerDifference() 1524 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub() 1609 Builder->CreateSub(Z, Y, Op1->getName())); in visitSub()
|
D | InstCombineMulDivRem.cpp | 42 A = IC.Builder->CreateSub(A, B); in simplifyValueKnownNonZero() 256 Sub = Builder->CreateSub(X, Y, "suba"); in visitMul() 258 Sub = Builder->CreateSub(Builder->CreateNeg(C1), Y, "subc"); in visitMul() 338 return BinaryOperator::CreateSub(Op0BO, Rem); in visitMul() 339 return BinaryOperator::CreateSub(Rem, Op0BO); in visitMul() 386 Value *V = Builder->CreateSub(Constant::getNullValue(I.getType()), in visitMul()
|
/external/swiftshader/third_party/LLVM/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 98 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 102 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 115 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 119 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | NoFolder.h | 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
|
/external/llvm/bindings/go/llvm/ |
D | executionengine_test.go | 50 n_minus := builder.CreateSub(n, ConstInt(Int32Type(), 1, false), "subtmp")
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | MCAsmInfo.cpp | 146 return MCBinaryExpr::CreateSub(Res, PC, Context); in getExprForFDESymbol()
|
/external/llvm/include/llvm/IR/ |
D | NoFolder.h | 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeNVPTX.cpp | 74 llvm::Value *Mask = Bld.CreateSub(getNVPTXWarpSize(CGF), Bld.getInt32(1)); in getMasterThreadID() 76 return Bld.CreateAnd(Bld.CreateSub(NumThreads, Bld.getInt32(1)), in getMasterThreadID()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 56 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 61 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 1014 return ir_builder_->CreateSub(lhs_value, rhs_value); in EmitIntegerBinaryOp() 1226 auto r = ir_builder_->CreateSub(q, p); in MakeRngElementGenerator() 1463 ir_builder_->CreateSub(source_index[concat_dim], concat_dim_size); in MakeElementGenerator() 1476 source_index[dim] = ir_builder_->CreateSub( in MakeElementGenerator() 1619 ir_builder_->CreateSub(slice_start_index[i], input_dim_size); in MakeElementGenerator() 1670 ir_builder_->CreateSub(index[i], slice_start_index_adjusted[i]), in MakeElementGenerator() 1714 index[i] = ir_builder_->CreateSub( in MakeElementGenerator()
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 322 return MCBinaryExpr::CreateSub(Res, PC, getContext()); in getExprForDwarfReference()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCMCInstLower.cpp | 124 Expr = MCBinaryExpr::CreateSub(Expr, PB, Ctx); in GetSymbolRef()
|
/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 272 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateSub(L, R))); in TEST_F() 286 EXPECT_FALSE(m_NUWSub(m_Value(), m_Value()).match(IRB.CreateSub(L, R))); in TEST_F()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 747 MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create(FnEndLabel, OutContext), in EmitFunctionBody() 1094 MCBinaryExpr::CreateSub(LHS, Base, OutContext)); in EmitJumpTableInfo() 1163 Value = MCBinaryExpr::CreateSub(Value, JTI, OutContext); in EmitJumpTableEntry() 1321 MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create(Hi, OutContext), in EmitLabelDifference() 1352 MCBinaryExpr::CreateSub(Plus, in EmitLabelOffsetDifference() 1527 case Instruction::Sub: return MCBinaryExpr::CreateSub(LHS, RHS, Ctx); in LowerConstant()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 891 PCRelExpr = MCBinaryExpr::CreateSub(PCRelExpr, DotExpr, OutContext); in EmitMachineConstantPoolValue() 893 Expr = MCBinaryExpr::CreateSub(Expr, PCRelExpr, OutContext); in EmitMachineConstantPoolValue() 935 Expr = MCBinaryExpr::CreateSub(Expr, MCSymbolRefExpr::Create(JTISymbol, in EmitJumpTable() 1000 MCBinaryExpr::CreateSub(MBBSymbolExpr, in EmitJump2Table() 1331 ARMMCExpr::CreateLower16(MCBinaryExpr::CreateSub(GVSymExpr, in EmitInstruction() 1369 ARMMCExpr::CreateUpper16(MCBinaryExpr::CreateSub(GVSymExpr, in EmitInstruction()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86MCInstLower.cpp | 152 Expr = MCBinaryExpr::CreateSub(Expr, in LowerSymbolOperand() 171 Expr = MCBinaryExpr::CreateSub(Expr, in LowerSymbolOperand() 682 DotExpr = MCBinaryExpr::CreateSub(DotExpr, PICBase, OutContext); in EmitInstruction()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 153 Value *ObjSize = Builder->CreateSub(Size, Offset); in instrument()
|