/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 174 if (IntegerType *ITy = in getKindForGlobal() local 176 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal() 177 ITy->getBitWidth() == 32) && in getKindForGlobal() 179 if (ITy->getBitWidth() == 8) in getKindForGlobal() 181 if (ITy->getBitWidth() == 16) in getKindForGlobal() 184 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
|
/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/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 62 template<typename ITy> 63 bool match(ITy *V) { return isa<Class>(V); } in match() 78 template<typename ITy> 79 bool match(ITy *V) { in match() 94 template<typename ITy> 95 bool match(ITy *V) { in match() 117 template<typename ITy> 118 bool match(ITy *V) { in match() 142 template<typename ITy> 143 bool match(ITy *V) { in match() [all …]
|
/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/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 1436 Type *ITy = GetCompareTy(LHS); // The return type. in SimplifyICmpInst() local 1443 return ConstantInt::get(ITy, CmpInst::isTrueWhenEqual(Pred)); in SimplifyICmpInst() 1492 return ConstantInt::get(ITy, CmpInst::isFalseWhenEqual(Pred)); in SimplifyICmpInst() 1501 return getFalse(ITy); in SimplifyICmpInst() 1503 return getTrue(ITy); in SimplifyICmpInst() 1507 return getFalse(ITy); in SimplifyICmpInst() 1512 return getTrue(ITy); in SimplifyICmpInst() 1517 return getTrue(ITy); in SimplifyICmpInst() 1519 return getFalse(ITy); in SimplifyICmpInst() 1524 return getTrue(ITy); in SimplifyICmpInst() [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()
|
/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()
|
/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()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ValueTypes.cpp | 86 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 87 return ITy->getBitWidth(); in getExtendedSizeInBits()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SCCP.cpp | 1485 Type *ITy = I->getType(); in ResolvedUndefsIn() local 1500 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1514 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1523 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1531 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1539 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1555 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1563 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1573 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
|
/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/lib/Target/X86/ |
D | X86InstrArithmetic.td | 582 /// ITy - This instruction base class takes the type info for the instruction. 590 class ITy<bits<8> opcode, Format f, X86TypeInfo typeinfo, dag outs, dag ins, 605 : ITy<opcode, f, typeinfo, outlist, 645 : ITy<opcode, MRMSrcReg, typeinfo, 655 : ITy<opcode, MRMSrcReg, typeinfo, (outs), 665 : ITy<opcode, MRMSrcMem, typeinfo, outlist, 701 : ITy<opcode, f, typeinfo, outlist, 739 : ITy<opcode, f, typeinfo, outlist, 777 : ITy<opcode, MRMDestMem, typeinfo, 805 : ITy<opcode, f, typeinfo, [all …]
|
/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/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 25 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) { in getPromotedType() local 26 if (ITy->getBitWidth() < 32) in getPromotedType() 144 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. in SimplifyMemSet() local 148 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); in SimplifyMemSet() 156 StoreInst *S = Builder->CreateStore(ConstantInt::get(ITy, Fill), Dest, in SimplifyMemSet()
|
/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 …]
|