Home
last modified time | relevance | path

Searched refs:CreateAdd (Results 1 – 25 of 56) 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.cpp162 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 …]
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()
633 Value *Add = Builder->CreateAdd(Op1, N1, "tmp"); in visitURem()
DInstCombineSelect.cpp466 return ReplaceInstUsesWith(SI, Builder->CreateAdd(And, C1)); in visitSelectInstWithICmp()
633 V = Builder->CreateAdd(V, Offset); in foldSelectICmpAnd()
816 return BinaryOperator::CreateAdd(SubOp->getOperand(0), NewSel); in visitSelectInst()
DInstCombineAndOrXor.cpp357 Value *Add = Builder->CreateAdd(V, NegLo, V->getName()+".off"); in InsertRangeTest()
376 Value *Add = Builder->CreateAdd(V, NegLo, V->getName()+".off"); in InsertRangeTest()
450 return Builder->CreateAdd(LHSI->getOperand(0), RHS, "fold"); in FoldLogicalPlusAnd()
885 Value *Add = Builder->CreateAdd(Val, AddCST, Val->getName()+".off"); in FoldAndOfICmps()
1562 Value *Add = Builder->CreateAdd(Val, AddCST, Val->getName()+".off"); in FoldOrOfICmps()
2151 return BinaryOperator::CreateAdd(Op0I->getOperand(1), ConstantRHS); in visitXor()
2167 return BinaryOperator::CreateAdd(Op0I->getOperand(0), C); in visitXor()
/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/X86/MCTargetDesc/
DX86MCAsmInfo.cpp119 return MCBinaryExpr::CreateAdd(Res, Four, Context); in getExprForPersonalitySymbol()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp82 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, in CreateFibFunction()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp34 return MCBinaryExpr::CreateAdd(Res, Four, getContext()); in getExprForDwarfGlobalReference()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp476 ResR = Builder.CreateAdd(Op.LHS.first, Op.RHS.first, "add.r"); in EmitBinAdd()
477 ResI = Builder.CreateAdd(Op.LHS.second, Op.RHS.second, "add.i"); in EmitBinAdd()
514 ResI = Builder.CreateAdd(ResIl, ResIr, "mul.i"); in EmitBinMul()
545 llvm::Value *Tmp3 = Builder.CreateAdd(Tmp1, Tmp2, "tmp"); // ac+bd in EmitBinDiv()
549 llvm::Value *Tmp6 = Builder.CreateAdd(Tmp4, Tmp5, "tmp"); // cc+dd in EmitBinDiv()
/external/llvm/include/llvm/Support/
DNoFolder.h40 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
DConstantFolder.h34 Constant *CreateAdd(Constant *LHS, Constant *RHS,
DTargetFolder.h50 Constant *CreateAdd(Constant *LHS, Constant *RHS,
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp59 Expr = MCBinaryExpr::CreateAdd(Expr, in GetSymbolRef()
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp103 Expr = MCBinaryExpr::CreateAdd(Expr, in LowerSymbolOperand()
/external/llvm/lib/Target/MBlaze/
DMBlazeMCInstLower.cpp111 Expr = MCBinaryExpr::CreateAdd(Expr, in LowerSymbolOperand()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp47 Res = Builder.CreateAdd(Orig, Delta); in LowerAtomicIntrinsic()
DCodeGenPrepare.cpp878 Result = BinaryOperator::CreateAdd(Result, V, "sunkaddr", InsertPt); in OptimizeMemoryInst()
888 Result = BinaryOperator::CreateAdd(Result, V, "sunkaddr", InsertPt); in OptimizeMemoryInst()
897 Result = BinaryOperator::CreateAdd(Result, V, "sunkaddr", InsertPt); in OptimizeMemoryInst()
DReassociate.cpp504 BinaryOperator::CreateAdd(Sub->getOperand(0), NegVal, "", Sub); in BreakUpSubtract()
568 return BinaryOperator::CreateAdd(V2, V1, "tmp", I); in EmitAddTreeOfValues()
835 Instruction *DummyInst = BinaryOperator::CreateAdd(MaxOccVal, MaxOccVal); in OptimizeAdd()
/external/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp115 Expr = MCBinaryExpr::CreateAdd(Expr, in GetSymbolRef()
/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()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp470 Count = Builder.CreateAdd(Count, in emitProfileArcs()
484 Count = Builder.CreateAdd(Count, in emitProfileArcs()

123