Home
last modified time | relevance | path

Searched refs:WideType (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp874 Type *WideType; member in __anon670f678f0511::WidenIV
897 WideType(WI.WidestNativeType), in WidenIV()
913 Value *createExtendInst(Value *NarrowOper, Type *WideType, bool IsSigned,
947 Value *WidenIV::createExtendInst(Value *NarrowOper, Type *WideType, in createExtendInst() argument
957 return IsSigned ? Builder.CreateSExt(NarrowOper, WideType) : in createExtendInst()
958 Builder.CreateZExt(NarrowOper, WideType); in createExtendInst()
999 : createExtendInst(NarrowUse->getOperand(0), WideType, in cloneBitwiseIVUser()
1003 : createExtendInst(NarrowUse->getOperand(1), WideType, in cloneBitwiseIVUser()
1047 WideRHS = GetExtend(NarrowRHS, WideType); in cloneArithmeticIVUser()
1050 WideLHS = GetExtend(NarrowLHS, WideType); in cloneArithmeticIVUser()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp933 Type *WideType; member in __anon97d482e70511::WidenIV
995 : OrigPhi(WI.NarrowIV), WideType(WI.WidestNativeType), LI(LInfo), in WidenIV()
1005 Value *createExtendInst(Value *NarrowOper, Type *WideType, bool IsSigned,
1044 Value *WidenIV::createExtendInst(Value *NarrowOper, Type *WideType, in createExtendInst() argument
1054 return IsSigned ? Builder.CreateSExt(NarrowOper, WideType) : in createExtendInst()
1055 Builder.CreateZExt(NarrowOper, WideType); in createExtendInst()
1097 : createExtendInst(NarrowUse->getOperand(0), WideType, in cloneBitwiseIVUser()
1101 : createExtendInst(NarrowUse->getOperand(1), WideType, in cloneBitwiseIVUser()
1145 WideRHS = GetExtend(NarrowRHS, WideType); in cloneArithmeticIVUser()
1148 WideLHS = GetExtend(NarrowLHS, WideType); in cloneArithmeticIVUser()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp798 Type *WideType; member in __anonf7e225bb0311::WidenIV
821 WideType(WI.WidestNativeType), in WidenIV()
837 Value *getExtend(Value *NarrowOper, Type *WideType, bool IsSigned,
863 Value *WidenIV::getExtend(Value *NarrowOper, Type *WideType, bool IsSigned, in getExtend() argument
873 return IsSigned ? Builder.CreateSExt(NarrowOper, WideType) : in getExtend()
874 Builder.CreateZExt(NarrowOper, WideType); in getExtend()
903 getExtend(DU.NarrowUse->getOperand(0), WideType, IsSigned, DU.NarrowUse); in CloneIVUser()
905 getExtend(DU.NarrowUse->getOperand(1), WideType, IsSigned, DU.NarrowUse); in CloneIVUser()
942 SE->getSCEV(DU.NarrowUse->getOperand(ExtendOperIdx)), WideType); in GetExtendedOperandRecurrence()
945 SE->getSCEV(DU.NarrowUse->getOperand(ExtendOperIdx)), WideType); in GetExtendedOperandRecurrence()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1623 Type *WideType = W->getType(); in foldICmpAndConstConst() local
1624 unsigned WideScalarBits = WideType->getScalarSizeInBits(); in foldICmpAndConstConst()
1625 Constant *ZextC1 = ConstantInt::get(WideType, C1.zext(WideScalarBits)); in foldICmpAndConstConst()
1626 Constant *ZextC2 = ConstantInt::get(WideType, C2->zext(WideScalarBits)); in foldICmpAndConstConst()