Home
last modified time | relevance | path

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

123

/external/mesa3d/src/pixelflinger2/
Dllvm_texture.cpp149 Value * x1 = builder.CreateAdd(x0, builder.getInt32(1)); in linearSample()
151 Value * y1 = builder.CreateAdd(y0, builder.getInt32(1)); in linearSample()
158 index = builder.CreateAdd(index, x0); in linearSample()
159 index = builder.CreateAdd(index, indexOffset); in linearSample()
164 index = builder.CreateAdd(index, x1); in linearSample()
165 index = builder.CreateAdd(index, indexOffset); in linearSample()
170 index = builder.CreateAdd(index, x1); in linearSample()
171 index = builder.CreateAdd(index, indexOffset); in linearSample()
176 index = builder.CreateAdd(index, x0); in linearSample()
177 index = builder.CreateAdd(index, indexOffset); in linearSample()
[all …]
Dllvm_scanline.cpp48 builder.CreateStore(builder.CreateAdd(s, builder.getInt8(1)), sPtr); in StencilOp()
62 builder.CreateStore(builder.CreateAdd(s, builder.getInt8(1)), sPtr); in StencilOp()
371 sf = builder.CreateAdd(sf, builder.CreateLShr(sf, constIntVec(builder,7,7,7,7))); in GenerateFSBlend()
372 df = builder.CreateAdd(df, builder.CreateLShr(df, constIntVec(builder,7,7,7,7))); in GenerateFSBlend()
380 res = builder.CreateAdd(src, dst); in GenerateFSBlend()
398 resA = builder.CreateAdd(srcA, dstA); in GenerateFSBlend()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp174 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd()
235 Value *NewAdd = Builder->CreateAdd(X, Z, LHS->getName()); in visitAdd()
262 Value *NewAdd = Builder->CreateAdd(X, CRHS, LHS->getName()); in visitAdd()
438 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size), in EmitGEPOffset()
448 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs"); in EmitGEPOffset()
461 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs"); in EmitGEPOffset()
553 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); in visitSub()
570 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub()
625 return BinaryOperator::CreateAdd(Op0, in visitSub()
663 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub()
[all …]
DInstCombineMulDivRem.cpp135 return BinaryOperator::CreateAdd(Add, Builder->CreateMul(C1, CI)); in visitMul()
469 N = Builder->CreateAdd(N, ConstantInt::get(I.getType(),CI->logBase2())); in visitUDiv()
632 Value *Add = Builder->CreateAdd(Op1, N1); in visitURem()
DInstCombineSelect.cpp474 return ReplaceInstUsesWith(SI, Builder->CreateAdd(And, C1)); in visitSelectInstWithICmp()
647 V = Builder->CreateAdd(V, Offset); in foldSelectICmpAnd()
837 return BinaryOperator::CreateAdd(SubOp->getOperand(0), NewSel); in visitSelectInst()
DInstCombineAndOrXor.cpp294 Value *Add = Builder->CreateAdd(V, NegLo, V->getName()+".off"); in InsertRangeTest()
313 Value *Add = Builder->CreateAdd(V, NegLo, V->getName()+".off"); in InsertRangeTest()
387 return Builder->CreateAdd(LHSI->getOperand(0), RHS, "fold"); in FoldLogicalPlusAnd()
865 Value *Add = Builder->CreateAdd(Val, AddCST, Val->getName()+".off"); in FoldAndOfICmps()
1526 Value *Add = Builder->CreateAdd(Val, AddCST, Val->getName()+".off"); in FoldOrOfICmps()
2120 return BinaryOperator::CreateAdd(Op0I->getOperand(1), ConstantRHS); in visitXor()
2136 return BinaryOperator::CreateAdd(Op0I->getOperand(0), C); in visitXor()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp33 return MCBinaryExpr::CreateAdd(Res, Four, getContext()); in getExprForDwarfGlobalReference()
/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/unittests/Transforms/Utils/
DLocal.cpp52 builder.CreateAdd(phi, phi); in TEST()
/external/llvm/examples/HowToUseJIT/
DHowToUseJIT.cpp86 Value *Add = builder.CreateAdd(One, ArgX); in main()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp261 Value *AddrPlusSizeMinisOne = IRB.CreateAdd(AddrLong, SizeMinusOne); in instrumentMemIntrinsicParam()
359 Value *LastAccessedByte = IRB2.CreateAdd( in instrumentAddress()
767 Ptr = IRB.CreateAdd( in PoisonStack()
783 Ptr = IRB.CreateAdd(ShadowBase, in PoisonStack()
890 IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Pos)), in poisonStackInFunction()
900 Value *BasePlus1 = IRB.CreateAdd(LocalStackBase, in poisonStackInFunction()
/external/llvm/lib/Target/Hexagon/
DHexagonMCInstLower.cpp34 ME = MCBinaryExpr::CreateAdd(ME, MCConstantExpr::Create(MO.getOffset(), MC), in GetSymbolRef()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp123 return MCBinaryExpr::CreateAdd(Res, Four, Context); in getExprForPersonalitySymbol()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp82 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, in CreateFibFunction()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp491 ResR = Builder.CreateAdd(Op.LHS.first, Op.RHS.first, "add.r"); in EmitBinAdd()
492 ResI = Builder.CreateAdd(Op.LHS.second, Op.RHS.second, "add.i"); in EmitBinAdd()
529 ResI = Builder.CreateAdd(ResIl, ResIr, "mul.i"); in EmitBinMul()
560 llvm::Value *Tmp3 = Builder.CreateAdd(Tmp1, Tmp2); // ac+bd in EmitBinDiv()
564 llvm::Value *Tmp6 = Builder.CreateAdd(Tmp4, Tmp5); // cc+dd in EmitBinDiv()
/external/llvm/include/llvm/Support/
DNoFolder.h40 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp103 Expr = MCBinaryExpr::CreateAdd(Expr, in LowerSymbolOperand()
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp58 Expr = MCBinaryExpr::CreateAdd(Expr, in GetSymbolRef()
/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()
DCodeGenPrepare.cpp898 Result = Builder.CreateAdd(Result, V, "sunkaddr"); in OptimizeMemoryInst()
907 Result = Builder.CreateAdd(Result, V, "sunkaddr"); in OptimizeMemoryInst()
916 Result = Builder.CreateAdd(Result, V, "sunkaddr"); in OptimizeMemoryInst()
/external/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp115 Expr = MCBinaryExpr::CreateAdd(Expr, in GetSymbolRef()
/external/llvm/unittests/ExecutionEngine/JIT/
DJITEventListenerTestCommon.h113 Arg = Builder.CreateMul(Arg, Builder.CreateAdd(Arg, one)); in buildFunction()
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.cpp270 Expr = MCBinaryExpr::CreateAdd(LHS, Off, *Ctx); in tryAddingSymbolicOperand()
275 Expr = MCBinaryExpr::CreateAdd(Add, Off, *Ctx); in tryAddingSymbolicOperand()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp287 PartValue = Builder.CreateAdd(LHS, RHS, "ctpop.step"); in LowerCTPOP()
289 Count = Builder.CreateAdd(PartValue, Count, "ctpop.part"); in LowerCTPOP()

123