/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 517 ExtDividend = Builder.CreateZExt(Rem->getOperand(0), Int32Ty); in expandRemainderUpTo32Bits() 518 ExtDivisor = Builder.CreateZExt(Rem->getOperand(1), Int32Ty); in expandRemainderUpTo32Bits() 565 ExtDividend = Builder.CreateZExt(Rem->getOperand(0), Int64Ty); in expandRemainderUpTo64Bits() 566 ExtDivisor = Builder.CreateZExt(Rem->getOperand(1), Int64Ty); in expandRemainderUpTo64Bits() 614 ExtDividend = Builder.CreateZExt(Div->getOperand(0), Int32Ty); in expandDivisionUpTo32Bits() 615 ExtDivisor = Builder.CreateZExt(Div->getOperand(1), Int32Ty); in expandDivisionUpTo32Bits() 663 ExtDividend = Builder.CreateZExt(Div->getOperand(0), Int64Ty); in expandDivisionUpTo64Bits() 664 ExtDivisor = Builder.CreateZExt(Div->getOperand(1), Int64Ty); in expandDivisionUpTo64Bits()
|
D | SimplifyLibCalls.cpp | 264 B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), CI->getType())); in optimizeStrCmp() 267 return B.CreateZExt(B.CreateLoad(Str1P, "strcmpload"), CI->getType()); in optimizeStrCmp() 313 B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), CI->getType())); in optimizeStrNCmp() 316 return B.CreateZExt(B.CreateLoad(Str1P, "strcmpload"), CI->getType()); in optimizeStrNCmp() 476 return B.CreateZExt(B.CreateLoad(Src, "strlenfirst"), CI->getType()); in optimizeStrLen() 713 Value *LHSV = B.CreateZExt(B.CreateLoad(castToCStr(LHS, B), "lhsc"), in optimizeMemCmp() 715 Value *RHSV = B.CreateZExt(B.CreateLoad(castToCStr(RHS, B), "rhsc"), in optimizeMemCmp() 739 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmp() 1129 LdExpArg = B.CreateZExt(OpC->getOperand(0), B.getInt32Ty()); in optimizeExp2() 1523 return B.CreateZExt(Op, CI->getType()); in optimizeIsDigit() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 347 return B.CreateNeg(B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), in CallOptimizer() 351 return B.CreateZExt(B.CreateLoad(Str1P, "strcmpload"), CI->getType()); in CallOptimizer() 412 return B.CreateNeg(B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), in CallOptimizer() 416 return B.CreateZExt(B.CreateLoad(Str1P, "strcmpload"), CI->getType()); in CallOptimizer() 534 return B.CreateZExt(B.CreateLoad(Src, "strlenfirst"), CI->getType()); in CallOptimizer() 751 Value *LHSV = B.CreateZExt(B.CreateLoad(CastToCStr(LHS, B), "lhsc"), in CallOptimizer() 753 Value *RHSV = B.CreateZExt(B.CreateLoad(CastToCStr(RHS, B), "rhsc"), in CallOptimizer() 919 LdExpArg = B.CreateZExt(OpC->getOperand(0), B.getInt32Ty()); in CallOptimizer() 1027 return B.CreateZExt(Op, CI->getType()); in CallOptimizer() 1045 return B.CreateZExt(Op, CI->getType()); in CallOptimizer()
|
D | ScalarReplAggregates.cpp | 765 Builder.CreateZExt(FromVal, IntegerType::get(FromVal->getContext(), in ConvertScalar_ExtractValue() 851 SV = Builder.CreateZExt(SV, AllocaType); in ConvertScalar_InsertValue() 2198 SrcVal = Builder.CreateZExt(SrcVal, in RewriteStoreUserOfWholeAlloca()
|
D | IndVarSimplify.cpp | 874 Builder.CreateZExt(NarrowOper, WideType); in getExtend()
|
D | GVN.cpp | 1056 Val = Builder.CreateZExt(Val, IntegerType::get(Ctx, LoadSize*8)); in GetMemInstValueForLoad()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 213 return CGF.Builder.CreateZExt(CGF.Builder.CreateExtractValue(Pair, 1), in MakeAtomicCmpXchgValue() 846 return RValue::get(Builder.CreateZExt(LHS, ConvertType(E->getType()))); in EmitBuiltinExpr() 851 return RValue::get(Builder.CreateZExt(V, ConvertType(E->getType()))); in EmitBuiltinExpr() 866 return RValue::get(Builder.CreateZExt(FCmp, ConvertType(E->getType()))); in EmitBuiltinExpr() 901 return RValue::get(Builder.CreateZExt(V, ConvertType(E->getType()))); in EmitBuiltinExpr() 1165 return RValue::get(Builder.CreateZExt(Result, Int64Ty, "extend.zext")); in EmitBuiltinExpr() 1662 Builder.CreateZExt(EmitSignBit(*this, EmitScalarExpr(E->getArg(0))), in EmitBuiltinExpr() 1737 llvm::Value *CarryOut = Builder.CreateZExt(Builder.CreateOr(Carry1, Carry2), in EmitBuiltinExpr() 2268 ? Builder.CreateZExt(ArgSize, Int32Ty) in EmitBuiltinExpr() 2330 ? Builder.CreateZExt(ArgSize, Int32Ty) in EmitBuiltinExpr() [all …]
|
D | CGStmt.cpp | 1988 Arg = Builder.CreateZExt(Arg, OutputTy); in EmitAsmStmt() 1990 Arg = Builder.CreateZExt(Arg, IntPtrTy); in EmitAsmStmt()
|
D | CGExpr.cpp | 647 llvm::Value *High = Builder.CreateZExt(VPtrVal, Int64Ty); in EmitTypeCheck() 1355 return Builder.CreateZExt(Value, ConvertTypeForMem(Ty), "frombool"); in EmitToMemory() 2368 return Builder.CreateZExt(V, TargetTy); in EmitCheckValue() 2701 llvm::Value *ValidVtable = Builder.CreateZExt( in EmitCfiCheckFail()
|
D | CGException.cpp | 1776 return Builder.CreateZExt(&*AI, Int32Ty); in EmitSEHAbnormalTermination()
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 677 Builder.CreateZExt(NewVal, PMV.WordType), PMV.ShiftAmt); in performMaskedAtomicOp() 708 Builder.CreateShl(Builder.CreateZExt(AI->getValOperand(), PMV.WordType), in expandPartwordAtomicRMW() 790 Builder.CreateShl(Builder.CreateZExt(NewVal, PMV.WordType), PMV.ShiftAmt); in expandPartwordCmpXchg() 792 Builder.CreateShl(Builder.CreateZExt(Cmp, PMV.WordType), PMV.ShiftAmt); in expandPartwordCmpXchg()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 844 Value *LCast = Builder->CreateZExt(LHS, CI.getType(), LHS->getName()); in visitZExt() 845 Value *RCast = Builder->CreateZExt(RHS, CI.getType(), RHS->getName()); in visitZExt() 881 Value *New = Builder->CreateZExt(X, CI.getType()); in visitZExt() 1315 Value *P = Builder->CreateZExt(CI.getOperand(0), in visitIntToPtr()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 751 FirstArg = Builder.CreateZExt(FirstArg, IntTy); in visitCallSite() 756 SecondArg = Builder.CreateZExt(SecondArg, IntTy); in visitCallSite()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 932 Value *LCast = Builder->CreateZExt(LHS, CI.getType(), LHS->getName()); in visitZExt() 933 Value *RCast = Builder->CreateZExt(RHS, CI.getType(), RHS->getName()); in visitZExt() 959 Value *New = Builder->CreateZExt(X, CI.getType()); in visitZExt() 1139 Value *ZExt = Builder->CreateZExt(Src, DestTy); in visitSExt()
|
D | InstCombineMulDivRem.cpp | 1006 N = IC.Builder->CreateZExt(N, Z->getDestTy()); in foldUDivShl() 1446 Value *Ext = Builder->CreateZExt(Cmp, I.getType()); in visitURem()
|
D | InstCombineCompares.cpp | 2564 Value *ZExt = Builder->CreateZExt(Add, OrigAdd->getType()); in ProcessUGT_ADDCST_ADD() 2834 MulA = Builder->CreateZExt(A, MulType); in ProcessUMulZExtIdiom() 2836 MulB = Builder->CreateZExt(B, MulType); in ProcessUMulZExtIdiom() 2862 cast<Instruction>(Builder->CreateZExt(ShortAnd, BO->getType())); in ProcessUMulZExtIdiom()
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 1080 SrcSize = Builder.CreateZExt(SrcSize, DestSize->getType()); in processMemSetMemCpyDependence() 1082 DestSize = Builder.CreateZExt(DestSize, SrcSize->getType()); in processMemSetMemCpyDependence()
|
D | SROA.cpp | 2043 V = IRB.CreateZExt(V, IntTy, Name + ".ext"); in insertInteger() 2366 V = IRB.CreateZExt(V, LI.getType()); in rewriteIntegerLoad() 2401 V = IRB.CreateZExt(V, TITy, "load.ext"); in visitLoadInst() 2579 IRB.CreateZExt(V, SplatIntTy, "zext"), in getIntegerSplat()
|
D | IndVarSimplify.cpp | 958 Builder.CreateZExt(NarrowOper, WideType); in createExtendInst()
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 896 Rep = Builder.CreateZExt(Rep, CI->getType(), ""); in UpgradeIntrinsicCall() 928 : Builder.CreateZExt(SV, DstTy); in UpgradeIntrinsicCall()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 923 Value *ZExtPred = Builder.CreateZExt(Pred, Builder.getInt64Ty()); in insertIndirectCounterIncrement()
|
D | MemorySanitizer.cpp | 736 Value *ConvertedShadow2 = IRB.CreateZExt( in storeOrigin() 809 IRB.CreateZExt(ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex))); in materializeOneCheck() 1377 setShadow(&I, IRB.CreateZExt(getShadow(&I, 0), I.getType(), "_msprop")); in visitZExtInst()
|
/external/llvm/include/llvm/IR/ |
D | IRBuilder.h | 1266 Value *CreateZExt(Value *V, Type *DestTy, const Twine &Name = "") { 1281 return CreateZExt(V, DestTy, Name);
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 1303 Value *I = Builder.CreateZExt(V, Ty); in visitZeroExtendExpr()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | IRBuilder.h | 919 Value *CreateZExt(Value *V, Type *DestTy, const Twine &Name = "") {
|