/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 162 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd() 224 Value *NewAdd = Builder->CreateAdd(X, Z, LHS->getName()); in visitAdd() 251 Value *NewAdd = Builder->CreateAdd(X, CRHS, LHS->getName()); in visitAdd() 427 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size), in EmitGEPOffset() 437 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs"); in EmitGEPOffset() 450 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs"); in EmitGEPOffset() 542 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); in visitSub() 559 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub() 611 return BinaryOperator::CreateAdd(Op0, in visitSub() 649 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub() [all …]
|
/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 54 Value *One = IRB.CreateAdd(IRB.CreateAdd(IRB.getInt32(1), IRB.getInt32(2)), in TEST_F() 56 Value *Two = IRB.CreateAdd(One, IRB.getInt32(42)); in TEST_F() 57 Value *Leaf = IRB.CreateAdd(IRB.CreateAdd(Two, IRB.getInt32(8)), in TEST_F() 58 IRB.CreateAdd(Two, IRB.getInt32(13))); in TEST_F() 269 EXPECT_FALSE(m_NSWAdd(m_Value(), m_Value()).match(IRB.CreateAdd(L, R))); in TEST_F() 283 EXPECT_FALSE(m_NUWAdd(m_Value(), m_Value()).match(IRB.CreateAdd(L, R))); in TEST_F()
|
D | AsmWriterTest.cpp | 27 std::unique_ptr<BinaryOperator> Add(BinaryOperator::CreateAdd(Undef, Undef)); in TEST()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 220 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size), 229 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs"); 242 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs");
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | ir_array.cc | 180 source_index[i] = builder->CreateAdd( in SourceIndexOfSlice() 185 source_index[i] = builder->CreateAdd( in SourceIndexOfSlice() 216 logical_linear_index = builder->CreateAdd(logical_linear_index, addend, "", in Linearize() 312 new_index[which_dimension] = ir_builder->CreateAdd( in BumpIndex()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 102 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); in convertMemCpyToLoop() 196 Value *FwdIndexPtr = FwdLoopBuilder.CreateAdd( in convertMemMoveToLoop() 234 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLen->getType(), 1)); in convertMemSetToLoop()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1101 return BinaryOperator::CreateAdd(XorLHS, in visitAdd() 1127 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd() 1171 Value *NewAdd = Builder->CreateAdd(X, CRHS, LHS->getName()); in visitAdd() 1262 auto *New = BinaryOperator::CreateAdd(A, B); in visitAdd() 1271 auto *New = BinaryOperator::CreateAdd(A, B); in visitAdd() 1488 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); in visitSub() 1514 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub() 1608 return BinaryOperator::CreateAdd(Op0, in visitSub() 1633 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub() 1640 return BinaryOperator::CreateAdd(Op0, NewMul); in visitSub()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 34 return MCBinaryExpr::CreateAdd(Res, Four, getContext()); in getExprForDwarfGlobalReference()
|
/external/swiftshader/third_party/LLVM/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 56 Instruction *Add = BinaryOperator::CreateAdd(One, ArgX, "addresult", BB); in createAdd1() 107 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB); in CreateFibFunction()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 73 Instruction *Add = BinaryOperator::CreateAdd(One, ArgX, "addresult", BB); in createAdd1() 124 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB); in CreateFibFunction()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 965 IRB.CreateAdd(ShadowLong, in getShadowPtr() 979 IRB.CreateAdd(OriginLong, in getOriginPtr() 996 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForArgument() 1006 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForArgument() 2958 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument() 2999 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, AMD64FpEndOffset), in finalizeInstrumentation() 3014 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 3025 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 3085 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument() 3114 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() [all …]
|
D | AddressSanitizer.cpp | 694 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst() 891 return IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow() 1127 LastAccessedByte = IRB.CreateAdd( in createSlowPathCmp() 1213 IRB.CreateAdd(AddrLong, ConstantInt::get(IntptrTy, TypeSize / 8 - 1)), in instrumentUnusualSizeOrAlignment() 1942 Value *Ptr = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in poisonRedZones() 1973 Value *p = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in SetShadowToStackAfterReturnInlined() 2150 IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Desc.Offset)), in poisonStack() 2163 IRB.CreateAdd(LocalStackBase, in poisonStack() 2173 IRB.CreateAdd(LocalStackBase, in poisonStack() 2220 Value *SavedFlagPtrPtr = IRBPoison.CreateAdd( in poisonStack() [all …]
|
D | SanitizerCoverage.cpp | 541 Value *GuardP = IRB.CreateAdd( in InjectCoverageAtBlock() 571 Value *P = IRB.CreateAdd( in InjectCoverageAtBlock() 576 Value *Inc = IRB.CreateAdd(LI, ConstantInt::get(IRB.getInt8Ty(), 1)); in InjectCoverageAtBlock()
|
/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/ |
D | Local.cpp | 52 builder.CreateAdd(phi, phi); in TEST()
|
/external/swiftshader/third_party/LLVM/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 86 Value *Add = builder.CreateAdd(One, ArgX); in main()
|
/external/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 95 Value *Add = builder.CreateAdd(One, ArgX); in main()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
D | X86MCAsmInfo.cpp | 119 return MCBinaryExpr::CreateAdd(Res, Four, Context); in getExprForPersonalitySymbol()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | NoFolder.h | 40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | parallel_loop_emitter.cc | 84 llvm::Value* linear_index = ir_builder_->CreateAdd( in EmitIndexAndSetExitBasicBlock()
|
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 94 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, in CreateFibFunction()
|
/external/swiftshader/third_party/LLVM/examples/Fibonacci/ |
D | fibonacci.cpp | 82 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, in CreateFibFunction()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestBase.h | 101 Value *AddResult = Builder.CreateAdd(Arg1, Arg2); 186 Value *Accumulator = Builder.CreateAdd(Param, RecursiveReturn);
|
/external/llvm/include/llvm/IR/ |
D | NoFolder.h | 40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
D | MSP430MCInstLower.cpp | 103 Expr = MCBinaryExpr::CreateAdd(Expr, in LowerSymbolOperand()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 59 Expr = MCBinaryExpr::CreateAdd(Expr, in GetSymbolRef()
|