/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/valgrind/memcheck/tests/ |
D | sh-mem.c | 134 #define DO(NNN, Ty, ITy, isF4) \ in main() argument 136 NNN, #Ty, #ITy); \ in main() 154 ITy undefN_ITy = (ITy)tmp; \ in main() 159 ITy undefN_ITyDef = undefN_ITy; \ in main()
|
/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/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 …]
|
D | MemoryDependenceAnalysis.cpp | 396 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) in getPointerDependencyFrom() local 397 if (LI->getAlignment()*8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
|
/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/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/lib/VMCore/ |
D | ValueTypes.cpp | 86 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 87 return ITy->getBitWidth(); in getExtendedSizeInBits()
|
D | Core.cpp | 1983 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local 1985 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc() 1987 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc() 1994 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local 1996 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc() 1998 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
|
D | Constants.cpp | 131 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local 133 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue() 414 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local 416 DenseMapAPIntKeyInfo::KeyTy Key(V, ITy); in get() 418 if (!Slot) Slot = new ConstantInt(ITy, V); in get()
|
/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/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/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()
|
D | InstCombineCasts.cpp | 590 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local 591 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp() 612 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp() 616 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp() 619 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
|
D | InstCombineAndOrXor.cpp | 1404 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in MatchBSwap() local 1405 if (!ITy || ITy->getBitWidth() % 16 || in MatchBSwap() 1407 ITy->getBitWidth() > 32*8) in MatchBSwap() 1413 ByteValues.resize(ITy->getBitWidth()/8); in MatchBSwap() 1429 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
|
/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/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()
|
D | InstCombineLoadStoreAlloca.cpp | 365 auto *ITy = cast<IntegerType>(NewTy); in combineLoadToNewType() local 367 ConstantPointerNull::get(cast<PointerType>(Ptr->getType())), ITy); in combineLoadToNewType() 369 ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in combineLoadToNewType()
|