/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 61 Value *UDividend = Builder.CreateSub(DvdXor, DividendSign); in generateSignedRemainderCode() 62 Value *UDivisor = Builder.CreateSub(DvsXor, DivisorSign); in generateSignedRemainderCode() 65 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() 90 Value *Remainder = Builder.CreateSub(Dividend, Product); in generatedUnsignedRemainderCode() 133 Value *U_Dvnd = Builder.CreateSub(Tmp2, Tmp); in generateSignedDivisionCode() 135 Value *U_Dvsr = Builder.CreateSub(Tmp3, Tmp1); in generateSignedDivisionCode() 139 Value *Q = Builder.CreateSub(Tmp4, Q_Sgn); in generateSignedDivisionCode() 256 Value *SR = Builder.CreateSub(Tmp0, Tmp1); in generateUnsignedDivisionCode() 272 Value *Tmp2 = Builder.CreateSub(MSB, SR); in generateUnsignedDivisionCode() 314 Value *Tmp9 = Builder.CreateSub(Tmp4, Tmp7); in generateUnsignedDivisionCode() [all …]
|
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 61 Value *UDividend = Builder.CreateSub(DvdXor, DividendSign); in generateSignedRemainderCode() 62 Value *UDivisor = Builder.CreateSub(DvsXor, DivisorSign); in generateSignedRemainderCode() 65 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() 90 Value *Remainder = Builder.CreateSub(Dividend, Product); in generatedUnsignedRemainderCode() 133 Value *U_Dvnd = Builder.CreateSub(Tmp2, Tmp); in generateSignedDivisionCode() 135 Value *U_Dvsr = Builder.CreateSub(Tmp3, Tmp1); in generateSignedDivisionCode() 139 Value *Q = Builder.CreateSub(Tmp4, Q_Sgn); in generateSignedDivisionCode() 256 Value *SR = Builder.CreateSub(Tmp0, Tmp1); in generateUnsignedDivisionCode() 272 Value *Tmp2 = Builder.CreateSub(MSB, SR); in generateUnsignedDivisionCode() 314 Value *Tmp9 = Builder.CreateSub(Tmp4, Tmp7); in generateUnsignedDivisionCode() [all …]
|
D | LoopUnrollRuntime.cpp | 362 Builder.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in CloneLoopBlocks() 896 Value *TestVal = B2.CreateSub(TripCount, ModVal, "unroll_iter"); in UnrollRuntimeLoopRemainder() 902 B2.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in UnrollRuntimeLoopRemainder()
|
/external/llvm-project/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 83 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 88 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
|
/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/llvm-project/llvm/unittests/Transforms/Utils/ |
D | SSAUpdaterBulkTest.cpp | 57 Value *SubOp1 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 2)); in TEST() 62 Value *SubOp2 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 4)); in TEST() 69 auto *I4 = cast<Instruction>(B.CreateSub(SubOp1, SubOp2)); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 795 return Builder.CreateSub(RHS, NewAnd, "sub"); in checkForNegativeOperand() 800 return Builder.CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand() 820 return Builder.CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand() 880 return BinaryOperator::CreateSub(ConstantExpr::getAdd(Op00C, Op1C), X); in foldAddWithConstant() 900 return BinaryOperator::CreateSub(SubOne(Op1C), X); in foldAddWithConstant() 1263 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd() 1292 return BinaryOperator::CreateSub(RHS, A); in visitAdd() 1297 return BinaryOperator::CreateSub(LHS, B); in visitAdd() 1308 return BinaryOperator::CreateSub(A, B); in visitAdd() 1669 Result = Builder.CreateSub(Result, Offset); in OptimizePointerDifference() [all …]
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 792 return Builder.CreateSub(RHS, NewAnd, "sub"); in checkForNegativeOperand() 797 return Builder.CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand() 817 return Builder.CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand() 877 return BinaryOperator::CreateSub(ConstantExpr::getAdd(Op00C, Op1C), X); in foldAddWithConstant() 897 return BinaryOperator::CreateSub(InstCombiner::SubOne(Op1C), X); in foldAddWithConstant() 936 return BinaryOperator::CreateSub(ConstantInt::get(Ty, *C2 + *C), X); in foldAddWithConstant() 1325 return BinaryOperator::CreateSub(RHS, A); in visitAdd() 1330 return BinaryOperator::CreateSub(LHS, B); in visitAdd() 1341 return BinaryOperator::CreateSub(A, B); in visitAdd() 1684 Result = Builder.CreateSub(Result, Offset, "gepdiff", /* NUW */ false, in OptimizePointerDifference() [all …]
|
/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/llvm-project/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 113 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 117 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
|
/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()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | MatrixBuilder.h | 186 Value *CreateSub(Value *LHS, Value *RHS) { in CreateSub() function 206 : B.CreateSub(LHS, RHS); in CreateSub()
|
D | NoFolder.h | 57 Instruction *CreateSub(Constant *LHS, Constant *RHS, 60 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
|
D | FixedPointBuilder.h | 193 Value *CreateSub(Value *LHS, const FixedPointSemantics &LHSSema, in CreateSub() function 206 Result = B.CreateSub(WideLHS, WideRHS); in CreateSub()
|
/external/llvm-project/polly/lib/CodeGen/ |
D | PerfMonitor.cpp | 144 Value *CyclesTotal = Builder.CreateSub(CurrentCycles, CyclesStart); in insertFinalReporting() 282 Value *CyclesInScop = Builder.CreateSub(CurrentCycles, CyclesStart); in insertRegionEnd()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 725 Res = Builder.CreateSub(Num, Rem); in expandDivRem24() 822 Value *RCP_S_E = Builder.CreateSub(RCP, E); in expandDivRem32() 834 Value *Remainder = Builder.CreateSub(Num, Num_S_Remainder); in expandDivRem32() 855 Value *Quotient_S_One = Builder.CreateSub(Quotient, One); in expandDivRem32() 864 Value *Remainder_S_Den = Builder.CreateSub(Remainder, Den); in expandDivRem32() 878 Res = Builder.CreateSub(Res, Sign); in expandDivRem32()
|
/external/llvm-project/llvm/bindings/go/llvm/ |
D | executionengine_test.go | 49 n_minus := builder.CreateSub(n, ConstInt(Int32Type(), 1, false), "subtmp")
|
/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-10.0/llvm/include/llvm/IR/ |
D | NoFolder.h | 61 Instruction *CreateSub(Constant *LHS, Constant *RHS, 63 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
|
/external/llvm/include/llvm/IR/ |
D | NoFolder.h | 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 964 Res = Builder.CreateSub(Num, Rem); in expandDivRem24Impl() 1123 Value *NegY = Builder.CreateSub(Zero, Y); in expandDivRem32() 1129 Value *R = Builder.CreateSub(X, Builder.CreateMul(Q, Y)); in expandDivRem32() 1135 R = Builder.CreateSelect(Cond, Builder.CreateSub(R, Y), R); in expandDivRem32() 1143 Res = Builder.CreateSelect(Cond, Builder.CreateSub(R, Y), R); in expandDivRem32() 1147 Res = Builder.CreateSub(Res, Sign); in expandDivRem32()
|
/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/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 60 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
|