Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachORelocationInfo.cpp50 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), in createExprForRelocation()
55 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), in createExprForRelocation()
60 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), in createExprForRelocation()
DX86ELFRelocationInfo.cpp123 Expr = MCBinaryExpr::CreateAdd(Expr, in createExprForRelocation()
DX86MCAsmInfo.cpp124 return MCBinaryExpr::CreateAdd(Res, Four, Context); in getExprForPersonalitySymbol()
/external/llvm/unittests/IR/
DPatternMatch.cpp54 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()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h224 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size),
233 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
246 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs");
/external/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp120 Expr = MCBinaryExpr::CreateAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand()
125 Expr = MCBinaryExpr::CreateAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp37 return MCBinaryExpr::CreateAdd(Res, Four, getContext()); in getTTypeGlobalReference()
60 return MCBinaryExpr::CreateAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel()
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp202 Expr = MCBinaryExpr::CreateAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand()
207 Expr = MCBinaryExpr::CreateAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
/external/llvm/lib/Target/PowerPC/
DPPCTargetObjectFile.cpp59 return MCBinaryExpr::CreateAdd(Expr, in getDebugThreadLocalSymbol()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp785 return IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow()
1011 LastAccessedByte = IRB.CreateAdd( in createSlowPathCmp()
1093 IRB.CreateAdd(AddrLong, ConstantInt::get(IntptrTy, TypeSize / 8 - 1)), in instrumentUnusualSizeOrAlignment()
1647 Value *Ptr = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in poisonRedZones()
1678 Value *p = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in SetShadowToStackAfterReturnInlined()
1826 IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Desc.Offset)), in poisonStack()
1839 IRB.CreateAdd(LocalStackBase, in poisonStack()
1849 IRB.CreateAdd(LocalStackBase, in poisonStack()
1886 Value *SavedFlagPtrPtr = IRBPoison.CreateAdd( in poisonStack()
2050 Value *AdditionalChunkSize = IRB.CreateAdd( in handleDynamicAllocaCall()
[all …]
DSanitizerCoverage.cpp367 Value *GuardP = IRB.CreateAdd( in InjectCoverageAtBlock()
391 Value *P = IRB.CreateAdd( in InjectCoverageAtBlock()
396 Value *Inc = IRB.CreateAdd(LI, ConstantInt::get(IRB.getInt8Ty(), 1)); in InjectCoverageAtBlock()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1121 return BinaryOperator::CreateAdd(XorLHS, in visitAdd()
1147 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd()
1203 Value *NewAdd = Builder->CreateAdd(X, CRHS, LHS->getName()); in visitAdd()
1294 auto *New = BinaryOperator::CreateAdd(A, B); in visitAdd()
1303 auto *New = BinaryOperator::CreateAdd(A, B); in visitAdd()
1521 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); in visitSub()
1547 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub()
1629 return BinaryOperator::CreateAdd(Op0, in visitSub()
1654 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub()
1661 return BinaryOperator::CreateAdd(Op0, NewMul); in visitSub()
/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/lib/Target/AArch64/
DAArch64MCInstLower.cpp74 Expr = MCBinaryExpr::CreateAdd( in lowerSymbolOperandDarwin()
144 Expr = MCBinaryExpr::CreateAdd( in lowerSymbolOperandELF()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp612 return BinaryOperator::CreateAdd(NextInChain, TheOther, BO->getName(), in removeConstOffset()
615 return BinaryOperator::CreateAdd(TheOther, NextInChain, BO->getName(), in removeConstOffset()
810 ResultPtr = Builder.CreateAdd(ResultPtr, Idx); in lowerToArithmetics()
816 ResultPtr = Builder.CreateAdd( in lowerToArithmetics()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp94 Value *newind = loop.CreateAdd(ind, ConstantInt::get(indType, 1)); in convertTransferToLoop()
123 Value *newind = loop.CreateAdd(ind, ConstantInt::get(len->getType(), 1)); in convertMemSetToLoop()
/external/llvm/examples/HowToUseJIT/
DHowToUseJIT.cpp87 Value *Add = builder.CreateAdd(One, ArgX); in main()
/external/llvm/lib/Target/Hexagon/
DHexagonMCInstLower.cpp34 ME = MCBinaryExpr::CreateAdd(ME, MCConstantExpr::Create(MO.getOffset(), MC), in GetSymbolRef()
/external/llvm/lib/Target/SystemZ/
DSystemZMCInstLower.cpp74 Expr = MCBinaryExpr::CreateAdd(Expr, OffsetExpr, Ctx); in getExpr()
/external/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp83 auto *Add1 = BinaryOperator::CreateAdd(Value, Value, "add", BB); in TEST_F()
/external/llvm/lib/Target/XCore/
DXCoreMCInstLower.cpp77 const MCBinaryExpr *Add = MCBinaryExpr::CreateAdd(MCSym, OffsetExpr, *Ctx); in LowerSymbolOperand()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp81 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, in CreateFibFunction()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h103 Value *AddResult = Builder.CreateAdd(Arg1, Arg2);
188 Value *Accumulator = Builder.CreateAdd(Param, RecursiveReturn);
/external/llvm/include/llvm/IR/
DNoFolder.h40 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);

1234