/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 182 if (IntegerType *ITy = in getKindForGlobal() local 184 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal() 185 ITy->getBitWidth() == 32) && in getKindForGlobal() 187 if (ITy->getBitWidth() == 8) in getKindForGlobal() 189 if (ITy->getBitWidth() == 16) in getKindForGlobal() 192 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 190 if (IntegerType *ITy = in getKindForGlobal() local 192 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal() 193 ITy->getBitWidth() == 32) && in getKindForGlobal() 195 if (ITy->getBitWidth() == 8) in getKindForGlobal() 197 if (ITy->getBitWidth() == 16) in getKindForGlobal() 200 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IndirectBrExpandPass.cpp | 148 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction() local 149 ConstantInt *BBIndexC = ConstantInt::get(ITy, BBIndex); in runOnFunction() 176 auto *ITy = in runOnFunction() local 178 if (!CommonITy || ITy->getBitWidth() > CommonITy->getBitWidth()) in runOnFunction() 179 CommonITy = ITy; in runOnFunction()
|
D | ValueTypes.cpp | 107 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 108 return ITy->getBitWidth(); in getExtendedSizeInBits()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 60 template <typename ITy> bool match(ITy *V) { return isa<Class>(V); } in match() 92 template <typename ITy> bool match(ITy *V) { in match() 107 template <typename ITy> bool match(ITy *V) { in match() 128 template <typename ITy> bool match(ITy *V) { in match() 140 template <typename ITy> bool match(ITy *V) { in match() 163 template <typename ITy> bool match(ITy *V) { in match() 183 template <typename ITy> bool match(ITy *V) { in match() 205 template <typename ITy> bool match(ITy *V) { in match() 221 template <typename ITy> bool match(ITy *V) { in match() 286 template <typename ITy> bool match(ITy *V) { in match() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1570 Type *ITy = Op0->getType(); in simplifyAndOfICmpsWithAdd() local 1578 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1580 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1584 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1586 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1592 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1595 return getFalse(ITy); in simplifyAndOfICmpsWithAdd() 1641 Type *ITy = Op0->getType(); in simplifyOrOfICmpsWithAdd() local 1649 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() 1651 return getTrue(ITy); in simplifyOrOfICmpsWithAdd() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 68 template <typename ITy> bool match(ITy *V) { return isa<Class>(V); } in match() 100 template <typename ITy> bool match(ITy *V) { in match() 115 template <typename ITy> bool match(ITy *V) { in match() 140 template <typename ITy> bool match(ITy *V) { in match() 160 template <typename ITy> bool match(ITy *V) { in match() 184 template <typename ITy> bool match(ITy *V) { in match() 207 template <typename ITy> bool match(ITy *V) { in match() 242 template <typename ITy> bool match(ITy *V) { in match() 264 template <typename ITy> bool match(ITy *V) { in match() 366 template <typename ITy> bool match(ITy *V) { in match() [all …]
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1501 Type *ITy = Op0->getType(); in SimplifyAndOfICmps() local 1518 return getFalse(ITy); in SimplifyAndOfICmps() 1538 return getFalse(ITy); in SimplifyAndOfICmps() 1540 return getFalse(ITy); in SimplifyAndOfICmps() 1544 return getFalse(ITy); in SimplifyAndOfICmps() 1546 return getFalse(ITy); in SimplifyAndOfICmps() 1552 return getFalse(ITy); in SimplifyAndOfICmps() 1555 return getFalse(ITy); in SimplifyAndOfICmps() 1700 Type *ITy = Op0->getType(); in SimplifyOrOfICmps() local 1712 return getTrue(ITy); in SimplifyOrOfICmps() [all …]
|
/external/llvm/lib/IR/ |
D | Function.cpp | 827 IntegerType *ITy = cast<IntegerType>(Ty); in DecodeFixedType() local 828 assert(ITy->getBitWidth() % 2 == 0); in DecodeFixedType() 829 return IntegerType::get(Context, ITy->getBitWidth() / 2); in DecodeFixedType() 992 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local 993 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); in matchIntrinsicType() 1007 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local 1008 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2); in matchIntrinsicType()
|
D | ValueTypes.cpp | 112 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 113 return ITy->getBitWidth(); in getExtendedSizeInBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Function.cpp | 929 IntegerType *ITy = cast<IntegerType>(Ty); in DecodeFixedType() local 930 assert(ITy->getBitWidth() % 2 == 0); in DecodeFixedType() 931 return IntegerType::get(Context, ITy->getBitWidth() / 2); in DecodeFixedType() 1095 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local 1096 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth()); in matchIntrinsicType() 1110 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy)) in matchIntrinsicType() local 1111 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2); in matchIntrinsicType()
|
D | AutoUpgrade.cpp | 2398 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local 2399 Rep = Builder.CreateAnd(Builder.CreateBitCast(CI->getArgOperand(0), ITy), in UpgradeIntrinsicCall() 2400 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in UpgradeIntrinsicCall() 2406 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local 2407 Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy)); in UpgradeIntrinsicCall() 2409 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in UpgradeIntrinsicCall() 2415 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local 2416 Rep = Builder.CreateOr(Builder.CreateBitCast(CI->getArgOperand(0), ITy), in UpgradeIntrinsicCall() 2417 Builder.CreateBitCast(CI->getArgOperand(1), ITy)); in UpgradeIntrinsicCall() 2423 VectorType *ITy = VectorType::getInteger(FTy); in UpgradeIntrinsicCall() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 1356 Type *ITy = I.getType(); in ResolvedUndefsIn() local 1371 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1385 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1394 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1401 markForcedConstant(&I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1408 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1428 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1443 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1461 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
|
D | SROA.cpp | 1114 IntegerType *ITy = nullptr; in findCommonType() local 1143 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in findCommonType() 1144 ITy = UserITy; in findCommonType() 1155 return TyIsCommon ? Ty : ITy; in findCommonType() 1992 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local 1993 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice() 2017 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local 2018 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 1299 Type *ITy = I.getType(); in ResolvedUndefsIn() local 1314 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1328 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1337 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1345 markForcedConstant(&I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1353 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1374 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1390 markForcedConstant(&I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1408 markForcedConstant(&I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
|
D | SROA.cpp | 1065 IntegerType *ITy = nullptr; in findCommonType() local 1094 if (!ITy || ITy->getBitWidth() < UserITy->getBitWidth()) in findCommonType() 1095 ITy = UserITy; in findCommonType() 1106 return TyIsCommon ? Ty : ITy; in findCommonType() 1918 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local 1919 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice() 1939 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local 1940 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 2431 auto *ITy = cast<IntegerType>(NewTy); in copyNonnullMetadata() local 2433 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy); in copyNonnullMetadata() 2434 auto *NonNullInt = ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in copyNonnullMetadata() 2643 IntegerType *ITy = dyn_cast<IntegerType>(I->getType()); in recognizeBSwapOrBitReverseIdiom() local 2644 if (!ITy || ITy->getBitWidth() > 128) in recognizeBSwapOrBitReverseIdiom() 2646 unsigned BW = ITy->getBitWidth(); in recognizeBSwapOrBitReverseIdiom() 2649 IntegerType *DemandedTy = ITy; in recognizeBSwapOrBitReverseIdiom() 2682 if (ITy != DemandedTy) { in recognizeBSwapOrBitReverseIdiom() 2695 auto *ExtInst = CastInst::Create(Instruction::ZExt, CI, ITy, "zext", I); in recognizeBSwapOrBitReverseIdiom() 2700 Function *F = Intrinsic::getDeclaration(I->getModule(), Intrin, ITy); in recognizeBSwapOrBitReverseIdiom()
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1890 IntegerType *ITy = dyn_cast<IntegerType>(I->getType()); in recognizeBSwapOrBitReverseIdiom() local 1891 if (!ITy || ITy->getBitWidth() > 128) in recognizeBSwapOrBitReverseIdiom() 1893 unsigned BW = ITy->getBitWidth(); in recognizeBSwapOrBitReverseIdiom() 1896 IntegerType *DemandedTy = ITy; in recognizeBSwapOrBitReverseIdiom() 1929 if (ITy != DemandedTy) { in recognizeBSwapOrBitReverseIdiom() 1942 auto *ExtInst = CastInst::Create(Instruction::ZExt, CI, ITy, "zext", I); in recognizeBSwapOrBitReverseIdiom() 1947 Function *F = Intrinsic::getDeclaration(I->getModule(), Intrin, ITy); in recognizeBSwapOrBitReverseIdiom()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | MIPatternMatch.h | 160 template <typename ITy> bool match(const MachineRegisterInfo &MRI, ITy &&V) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 724 Type *ITy = I->getType(); in SimplifyMultipleUseDemandedBits() local 748 return Constant::getIntegerValue(ITy, IKnownOne); in SimplifyMultipleUseDemandedBits() 779 return Constant::getIntegerValue(ITy, IKnownOne); in SimplifyMultipleUseDemandedBits() 811 return Constant::getIntegerValue(ITy, IKnownOne); in SimplifyMultipleUseDemandedBits() 833 return Constant::getIntegerValue(ITy, Known.One); in SimplifyMultipleUseDemandedBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrArithmetic.td | 605 /// ITy - This instruction base class takes the type info for the instruction. 613 class ITy<bits<8> opcode, Format f, X86TypeInfo typeinfo, dag outs, dag ins, 628 : ITy<opcode, MRMDestReg, typeinfo, outlist, 661 : ITy<opcode, MRMSrcReg, typeinfo, 678 : ITy<opcode, MRMSrcReg, typeinfo, (outs), 691 : ITy<opcode, MRMSrcMem, typeinfo, outlist, 721 : ITy<opcode, f, typeinfo, outlist, 752 : ITy<opcode, f, typeinfo, outlist, 784 : ITy<opcode, MRMDestMem, typeinfo, 815 : ITy<opcode, f, typeinfo, [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrArithmetic.td | 631 /// ITy - This instruction base class takes the type info for the instruction. 639 class ITy<bits<8> opcode, Format f, X86TypeInfo typeinfo, dag outs, dag ins, 657 : ITy<opcode, f, typeinfo, outlist, 692 : ITy<opcode, MRMSrcReg, typeinfo, 709 : ITy<opcode, MRMSrcReg, typeinfo, (outs), 723 : ITy<opcode, MRMSrcMem, typeinfo, outlist, 761 : ITy<opcode, f, typeinfo, outlist, 793 : ITy<opcode, f, typeinfo, outlist, 825 : ITy<opcode, MRMDestMem, typeinfo, 855 : ITy<opcode, f, typeinfo, [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 193 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in isLargeIntegerTy() local 194 return ITy->getBitWidth() > (Is32Bit ? 32U : 64U); in isLargeIntegerTy()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCCTRLoops.cpp | 220 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in isLargeIntegerTy() local 221 return ITy->getBitWidth() > (Is32Bit ? 32U : 64U); in isLargeIntegerTy()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 667 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local 668 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp() 688 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp() 692 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp() 695 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
|