Home
last modified time | relevance | path

Searched refs:CreateZExt (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp521 ExtDividend = Builder.CreateZExt(Rem->getOperand(0), Int32Ty); in expandRemainderUpTo32Bits()
522 ExtDivisor = Builder.CreateZExt(Rem->getOperand(1), Int32Ty); in expandRemainderUpTo32Bits()
571 ExtDividend = Builder.CreateZExt(Rem->getOperand(0), Int64Ty); in expandRemainderUpTo64Bits()
572 ExtDivisor = Builder.CreateZExt(Rem->getOperand(1), Int64Ty); in expandRemainderUpTo64Bits()
622 ExtDividend = Builder.CreateZExt(Div->getOperand(0), Int32Ty); in expandDivisionUpTo32Bits()
623 ExtDivisor = Builder.CreateZExt(Div->getOperand(1), Int32Ty); in expandDivisionUpTo32Bits()
672 ExtDividend = Builder.CreateZExt(Div->getOperand(0), Int64Ty); in expandDivisionUpTo64Bits()
673 ExtDivisor = Builder.CreateZExt(Div->getOperand(1), Int64Ty); in expandDivisionUpTo64Bits()
DSimplifyLibCalls.cpp380 B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), CI->getType())); in optimizeStrCmp()
383 return B.CreateZExt(B.CreateLoad(Str1P, "strcmpload"), CI->getType()); in optimizeStrCmp()
438 B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), CI->getType())); in optimizeStrNCmp()
441 return B.CreateZExt(B.CreateLoad(Str1P, "strcmpload"), CI->getType()); in optimizeStrNCmp()
572 return B.CreateZExt(B.CreateLoad(Src, "strlenfirst"), CI->getType()); in optimizeStrLen()
858 Value *LHSV = B.CreateZExt(B.CreateLoad(CastToCStr(LHS, B), "lhsc"), in optimizeMemCmp()
860 Value *RHSV = B.CreateZExt(B.CreateLoad(CastToCStr(RHS, B), "rhsc"), in optimizeMemCmp()
1141 LdExpArg = B.CreateZExt(OpC->getOperand(0), B.getInt32Ty()); in optimizeExp2()
1475 return B.CreateZExt(Op, CI->getType()); in optimizeIsDigit()
1489 return B.CreateZExt(Op, CI->getType()); in optimizeIsAscii()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp566 return RValue::get(Builder.CreateZExt(LHS, ConvertType(E->getType()))); in EmitBuiltinExpr()
571 return RValue::get(Builder.CreateZExt(V, ConvertType(E->getType()))); in EmitBuiltinExpr()
580 return RValue::get(Builder.CreateZExt(V, ConvertType(E->getType()))); in EmitBuiltinExpr()
615 return RValue::get(Builder.CreateZExt(V, ConvertType(E->getType()))); in EmitBuiltinExpr()
628 return RValue::get(Builder.CreateZExt(V, ConvertType(E->getType()))); in EmitBuiltinExpr()
896 return RValue::get(Builder.CreateZExt(Result, Int64Ty, "extend.zext")); in EmitBuiltinExpr()
1096 Result = Builder.CreateZExt(Result, ConvertType(E->getType())); in EmitBuiltinExpr()
1438 Builder.CreateZExt(EmitSignBit(*this, EmitScalarExpr(E->getArg(0))), in EmitBuiltinExpr()
1514 llvm::Value *CarryOut = Builder.CreateZExt(Builder.CreateOr(Carry1, Carry2), in EmitBuiltinExpr()
2966 return Builder.CreateZExt(Ops[0], Ty, "vmovl"); in EmitCommonNeonBuiltinExpr()
[all …]
DCGException.cpp1577 Code = Builder.CreateZExt(Code, CGM.IntPtrTy); in EmitSEHExceptionCodeSave()
1605 return Builder.CreateZExt(&*AI, Int32Ty); in EmitSEHAbnormalTermination()
DCGStmt.cpp1988 Arg = Builder.CreateZExt(Arg, OutputTy); in EmitAsmStmt()
1990 Arg = Builder.CreateZExt(Arg, IntPtrTy); in EmitAsmStmt()
DCGExpr.cpp604 llvm::Value *High = Builder.CreateZExt(VPtrVal, Int64Ty); in EmitTypeCheck()
1224 return Builder.CreateZExt(Value, ConvertTypeForMem(Ty), "frombool"); in EmitToMemory()
2191 return Builder.CreateZExt(V, TargetTy); in EmitCheckValue()
DCGCall.cpp898 Val = CGF.Builder.CreateZExt(Val, DestIntTy, "coerce.val.ii"); in CoerceIntOrPtrToIntOrPtr()
3189 V = Builder.CreateZExt(V, ArgInfo.getCoerceToType()); in EmitCall()
DCGExprCXX.cpp657 numElements = CGF.Builder.CreateZExt(numElements, CGF.SizeTy); in EmitCXXNewAllocSize()
DCGExprScalar.cpp1915 return Builder.CreateZExt(BoolVal, ConvertType(E->getType()), "lnot.ext"); in VisitUnaryLNot()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp687 FirstArg = Builder.CreateZExt(FirstArg, IntTy); in visitCallSite()
692 SecondArg = Builder.CreateZExt(SecondArg, IntTy); in visitCallSite()
DScalarEvolutionExpander.cpp1519 Value *I = Builder.CreateZExt(V, Ty); in visitZeroExtendExpr()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp857 Value *LCast = Builder->CreateZExt(LHS, CI.getType(), LHS->getName()); in visitZExt()
858 Value *RCast = Builder->CreateZExt(RHS, CI.getType(), RHS->getName()); in visitZExt()
884 Value *New = Builder->CreateZExt(X, CI.getType()); in visitZExt()
1066 Value *ZExt = Builder->CreateZExt(Src, DestTy); in visitSExt()
DInstCombineMulDivRem.cpp982 N = IC.Builder->CreateZExt(N, Z->getDestTy()); in foldUDivShl()
1397 Value *Ext = Builder->CreateZExt(Cmp, I.getType()); in visitURem()
DInstCombineCompares.cpp2102 Value *ZExt = Builder->CreateZExt(Add, OrigAdd->getType()); in ProcessUGT_ADDCST_ADD()
2382 MulA = Builder->CreateZExt(A, MulType); in ProcessUMulZExtIdiom()
2384 MulB = Builder->CreateZExt(B, MulType); in ProcessUMulZExtIdiom()
2410 cast<Instruction>(Builder->CreateZExt(ShortAnd, BO->getType())); in ProcessUMulZExtIdiom()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp873 Builder.CreateZExt(FromVal, IntegerType::get(FromVal->getContext(), in ConvertScalar_ExtractValue()
981 SV = Builder.CreateZExt(SV, AllocaType); in ConvertScalar_InsertValue()
2364 SrcVal = Builder.CreateZExt(SrcVal, in RewriteStoreUserOfWholeAlloca()
DSROA.cpp1890 return IRB.CreateZExt(V, NewITy); in convertValue()
2263 V = IRB.CreateZExt(V, IntTy, Name + ".ext"); in insertInteger()
2750 IRB.CreateZExt(V, SplatIntTy, "zext"), in getIntegerSplat()
DIndVarSimplify.cpp807 Builder.CreateZExt(NarrowOper, WideType); in getExtend()
DGVN.cpp1233 Val = Builder.CreateZExt(Val, IntegerType::get(Ctx, LoadSize*8)); in GetMemInstValueForLoad()
/external/llvm/lib/IR/
DAutoUpgrade.cpp523 Rep = Builder.CreateZExt(Rep, CI->getType(), ""); in UpgradeIntrinsicCall()
DCore.cpp2557 return wrap(unwrap(B)->CreateZExt(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildZExt()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp667 Value *ConvertedShadow2 = IRB.CreateZExt( in storeOrigin()
740 IRB.CreateZExt(ConvertedShadow, IRB.getIntNTy(8 * (1 << SizeIndex))); in materializeOneCheck()
1307 setShadow(&I, IRB.CreateZExt(getShadow(&I, 0), I.getType(), "_msprop")); in visitZExtInst()
DGCOVProfiling.cpp913 Value *ZExtPred = Builder.CreateZExt(Pred, Builder.getInt64Ty()); in insertIndirectCounterIncrement()
/external/llvm/include/llvm/IR/
DIRBuilder.h1178 Value *CreateZExt(Value *V, Type *DestTy, const Twine &Name = "") {
1193 return CreateZExt(V, DestTy, Name);
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1816 Val = Builder.CreateZExt(Opnd, Ty, "promoted"); in ZExtBuilder()
/external/llvm/bindings/go/llvm/
Dir.go1525 func (b Builder) CreateZExt(val Value, t Type, name string) (v Value) { func

12