Home
last modified time | relevance | path

Searched refs:CreateAdd (Results 1 – 25 of 70) sorted by relevance

123

/external/llvm/include/llvm/Transforms/Utils/
DLocal.h206 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size),
215 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
228 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs");
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp32 return MCBinaryExpr::CreateAdd(Res, Four, getContext()); in getTTypeGlobalReference()
/external/llvm/unittests/Transforms/Utils/
DLocal.cpp52 builder.CreateAdd(phi, phi); in TEST()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp56 Instruction *Add = BinaryOperator::CreateAdd(One, ArgX, "addresult", BB); in createAdd1()
107 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB); in CreateFibFunction()
/external/llvm/examples/HowToUseJIT/
DHowToUseJIT.cpp86 Value *Add = builder.CreateAdd(One, ArgX); in main()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp72 Value *newind = loop.CreateAdd(ind, ConstantInt::get(indType, 1)); in convertTransferToLoop()
102 Value *newind = loop.CreateAdd(ind, ConstantInt::get(len->getType(), 1)); in convertMemSetToLoop()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp966 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd()
1027 Value *NewAdd = Builder->CreateAdd(X, Z, LHS->getName()); in visitAdd()
1054 Value *NewAdd = Builder->CreateAdd(X, CRHS, LHS->getName()); in visitAdd()
1293 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); in visitSub()
1310 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub()
1370 return BinaryOperator::CreateAdd(Op0, in visitSub()
1408 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub()
1415 return BinaryOperator::CreateAdd(Op0, NewMul); in visitSub()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp229 Value *SR_1 = Builder.CreateAdd(SR, One); in generateUnsignedDivisionCode()
241 Value *Tmp4 = Builder.CreateAdd(Divisor, NegOne); in generateUnsignedDivisionCode()
277 Value *SR_2 = Builder.CreateAdd(SR_3, NegOne); in generateUnsignedDivisionCode()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp555 return IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow()
570 Value *AddrLast = IRB.CreateAdd(AddrLong, SizeMinusOne); in instrumentMemIntrinsicParam()
662 IRB.CreateAdd(IRB.CreatePointerCast(Addr, IntptrTy), in instrumentMop()
705 LastAccessedByte = IRB.CreateAdd( in createSlowPathCmp()
1267 Ptr = IRB.CreateAdd( in poisonRedZones()
1283 Ptr = IRB.CreateAdd(ShadowBase, in poisonRedZones()
1348 IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Pos)), in poisonStack()
1360 Value *BasePlus1 = IRB.CreateAdd(LocalStackBase, in poisonStack()
DMemorySanitizer.cpp634 IRB.CreateAdd(ShadowLong, in getOriginPtr()
647 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForArgument()
657 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForArgument()
1879 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
1916 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, AMD64FpEndOffset), in finalizeInstrumentation()
1931 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
1942 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
/external/llvm/lib/Target/Hexagon/
DHexagonMCInstLower.cpp35 ME = MCBinaryExpr::CreateAdd(ME, MCConstantExpr::Create(MO.getOffset(), MC), in GetSymbolRef()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp122 return MCBinaryExpr::CreateAdd(Res, Four, Context); in getExprForPersonalitySymbol()
/external/llvm/lib/Target/XCore/
DXCoreMCInstLower.cpp77 const MCBinaryExpr *Add = MCBinaryExpr::CreateAdd(MCSym, OffsetExpr, *Ctx); in LowerSymbolOperand()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp82 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, in CreateFibFunction()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp501 ResR = Builder.CreateAdd(Op.LHS.first, Op.RHS.first, "add.r"); in EmitBinAdd()
502 ResI = Builder.CreateAdd(Op.LHS.second, Op.RHS.second, "add.i"); in EmitBinAdd()
539 ResI = Builder.CreateAdd(ResIl, ResIr, "mul.i"); in EmitBinMul()
570 llvm::Value *Tmp3 = Builder.CreateAdd(Tmp1, Tmp2); // ac+bd in EmitBinDiv()
574 llvm::Value *Tmp6 = Builder.CreateAdd(Tmp4, Tmp5); // cc+dd in EmitBinDiv()
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp58 Expr = MCBinaryExpr::CreateAdd(Expr, in GetSymbolRef()
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp103 Expr = MCBinaryExpr::CreateAdd(Expr, in LowerSymbolOperand()
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp79 Expr = MCBinaryExpr::CreateAdd(Expr, in lowerSymbolOperand()
/external/llvm/include/llvm/Support/
DNoFolder.h40 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
/external/llvm/lib/Target/MBlaze/
DMBlazeMCInstLower.cpp109 Expr = MCBinaryExpr::CreateAdd(Expr, in LowerSymbolOperand()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp53 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
/external/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp113 const MCBinaryExpr *Add = MCBinaryExpr::CreateAdd(MCSym, OffsetExpr, *Ctx); in LowerSymbolOperand()
/external/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp134 Expr = MCBinaryExpr::CreateAdd(Expr, in GetSymbolRef()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h161 Value *AddResult = Builder.CreateAdd(Arg1, Arg2);
/external/llvm/unittests/ExecutionEngine/JIT/
DJITEventListenerTestCommon.h111 Arg = Builder.CreateMul(Arg, Builder.CreateAdd(Arg, one)); in buildFunction()

123