Home
last modified time | relevance | path

Searched refs:CreateSub (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/pixelflinger2/
Dllvm_scanline.cpp55 builder.CreateStore(builder.CreateSub(s, builder.getInt8(1)), sPtr); in StencilOp()
65 builder.CreateStore(builder.CreateSub(s, builder.getInt8(1)), sPtr); in StencilOp()
142 factor = builder.CreateSub(one, src); in BlendFactor()
148 factor = builder.CreateSub(one, dst); in BlendFactor()
156 factor = builder.CreateSub(sOne, srcA); in BlendFactor()
166 factor = builder.CreateSub(sOne, dstA); in BlendFactor()
172 factor = minIntScalar(builder, srcA, builder.CreateSub(sOne, dstA)); in BlendFactor()
182 factor = builder.CreateSub(one, constant); in BlendFactor()
190 factor = builder.CreateSub(sOne, constantA); in BlendFactor()
383 res = builder.CreateSub(src, dst); in GenerateFSBlend()
[all …]
Dllvm_texture.cpp183 Value * h0 = builder.CreateMul(builder.CreateSub(s1, s0), xLerpVec); in linearSample()
188 Value * h1 = builder.CreateMul(builder.CreateSub(s2, s3), xLerpVec); in linearSample()
192 Value * sample = builder.CreateMul(builder.CreateSub(h1, h0), in linearSample()
262 tc = builder.CreateSub(dim, tc, name("tc_mirrored")); in texcoordWrap()
295 Value * textureW = builder.CreateSub(textureWidth, builder.getInt32(1)); in tex2D()
296 Value * textureH = builder.CreateSub(textureHeight, builder.getInt32(1)); in tex2D()
392 Value * textureW = builder.CreateSub(textureWidth, builder.getInt32(1)); in texCube()
393 Value * textureH = builder.CreateSub(textureHeight, builder.getInt32(1)); in texCube()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp71 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction()
76 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp148 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd()
178 return BinaryOperator::CreateSub(RHS, LHSV); in visitAdd()
184 return BinaryOperator::CreateSub(LHS, V); in visitAdd()
244 return BinaryOperator::CreateSub(SubOne(CRHS), X); in visitAdd()
529 Result = Builder->CreateSub(Result, Offset); in OptimizePointerDifference()
600 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
626 Builder->CreateSub(Z, Y, Op1->getName())); in visitSub()
DInstCombineMulDivRem.cpp41 A = IC.Builder->CreateSub(A, B); in simplifyValueKnownNonZero()
151 Sub = Builder->CreateSub(X, Y, "suba"); in visitMul()
153 Sub = Builder->CreateSub(Builder->CreateNeg(C1), Y, "subc"); in visitMul()
213 return BinaryOperator::CreateSub(Op0BO, Rem); in visitMul()
214 return BinaryOperator::CreateSub(Rem, Op0BO); in visitMul()
246 Value *V = Builder->CreateSub(Constant::getNullValue(I.getType()), in visitMul()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp98 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction()
102 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
/external/llvm/lib/MC/
DMCAsmInfo.cpp148 return MCBinaryExpr::CreateSub(Res, PC, Context); in getExprForFDESymbol()
DMCWin64EH.cpp56 const MCExpr *diff = MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create( in EmitAbsDifference()
/external/llvm/include/llvm/Support/
DNoFolder.h56 Instruction *CreateSub(Constant *LHS, Constant *RHS,
58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
DConstantFolder.h41 Constant *CreateSub(Constant *LHS, Constant *RHS,
DIRBuilder.h545 Value *CreateSub(Value *LHS, Value *RHS, const Twine &Name = "",
549 return Insert(Folder.CreateSub(LC, RC), Name);
554 return CreateSub(LHS, RHS, Name, false, true);
557 return CreateSub(LHS, RHS, Name, true, false);
1272 Value *Difference = CreateSub(LHS_int, RHS_int);
DTargetFolder.h57 Constant *CreateSub(Constant *LHS, Constant *RHS,
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp56 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp503 ResR = Builder.CreateSub(Op.LHS.first, Op.RHS.first, "sub.r"); in EmitBinSub()
504 ResI = Builder.CreateSub(Op.LHS.second, Op.RHS.second, "sub.i"); in EmitBinSub()
525 ResR = Builder.CreateSub(ResRl, ResRr, "mul.r"); in EmitBinMul()
568 llvm::Value *Tmp9 = Builder.CreateSub(Tmp7, Tmp8); // bc-ad in EmitBinDiv()
DCGExprScalar.cpp766 newIndx = Builder.CreateSub(Indx, Builder.getInt32(1), "shuf_idx_adj"); in VisitShuffleVectorExpr()
2034 return Builder.CreateSub(op.LHS, op.RHS, "sub"); in EmitSub()
2043 return Builder.CreateSub(op.LHS, op.RHS, "sub"); in EmitSub()
2058 Value *diffInChars = Builder.CreateSub(LHS, RHS, "sub.ptr.sub"); in EmitSub()
/external/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp124 Expr = MCBinaryExpr::CreateSub(Expr, PB, Ctx); in GetSymbolRef()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp316 return MCBinaryExpr::CreateSub(Res, PC, getContext()); in getExprForDwarfReference()
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp152 Expr = MCBinaryExpr::CreateSub(Expr, in LowerSymbolOperand()
172 Expr = MCBinaryExpr::CreateSub(Expr, in LowerSymbolOperand()
699 DotExpr = MCBinaryExpr::CreateSub(DotExpr, PICBase, OutContext); in EmitInstruction()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp777 MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create(FnEndLabel, OutContext), in EmitFunctionBody()
1136 MCBinaryExpr::CreateSub(LHS, Base, OutContext)); in EmitJumpTableInfo()
1214 Value = MCBinaryExpr::CreateSub(Value, JTI, OutContext); in EmitJumpTableEntry()
1367 MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create(Hi, OutContext), in EmitLabelDifference()
1398 MCBinaryExpr::CreateSub(Plus, in EmitLabelOffsetDifference()
1571 case Instruction::Sub: return MCBinaryExpr::CreateSub(LHS, RHS, Ctx); in LowerConstant()
DDwarfAccelTable.cpp173 MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create((*HI)->Sym, Context), in EmitOffsets()
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp918 PCRelExpr = MCBinaryExpr::CreateSub(PCRelExpr, DotExpr, OutContext); in EmitMachineConstantPoolValue()
920 Expr = MCBinaryExpr::CreateSub(Expr, PCRelExpr, OutContext); in EmitMachineConstantPoolValue()
962 Expr = MCBinaryExpr::CreateSub(Expr, MCSymbolRefExpr::Create(JTISymbol, in EmitJumpTable()
1027 MCBinaryExpr::CreateSub(MBBSymbolExpr, in EmitJump2Table()
1410 ARMMCExpr::CreateLower16(MCBinaryExpr::CreateSub(GVSymExpr, in EmitInstruction()
1448 ARMMCExpr::CreateUpper16(MCBinaryExpr::CreateSub(GVSymExpr, in EmitInstruction()
/external/llvm/include/llvm/MC/
DMCExpr.h408 static const MCBinaryExpr *CreateSub(const MCExpr *LHS, const MCExpr *RHS, in CreateSub() function
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.cpp266 LHS = MCBinaryExpr::CreateSub(Add, Sub, *Ctx); in tryAddingSymbolicOperand()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp409 SrcM1 = Builder.CreateSub(Src, SrcM1); in LowerIntrinsicCall()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp257 Value *SizeMinusOne = IRB.CreateSub( in instrumentMemIntrinsicParam()

12