/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 173 if (IntegerType *ITy = in getKindForGlobal() local 175 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal() 176 ITy->getBitWidth() == 32) && in getKindForGlobal() 178 if (ITy->getBitWidth() == 8) in getKindForGlobal() 180 if (ITy->getBitWidth() == 16) in getKindForGlobal() 183 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
|
/external/valgrind/main/memcheck/tests/ |
D | sh-mem.c | 133 #define DO(NNN, Ty, ITy, isF4) \ in main() argument 134 fprintf(stderr, "-- NNN: %d %s %s ------------------------\n", NNN, #Ty, #ITy); \ in main() 152 ITy undefN_ITy = (ITy)tmp; \ in main() 157 ITy undefN_ITyDef = undefN_ITy; \ in main()
|
/external/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/lib/Analysis/ |
D | InstructionSimplify.cpp | 1416 Type *ITy = GetCompareTy(LHS); // The return type. in SimplifyICmpInst() local 1423 return ConstantInt::get(ITy, CmpInst::isTrueWhenEqual(Pred)); in SimplifyICmpInst() 1472 return ConstantInt::get(ITy, CmpInst::isFalseWhenEqual(Pred)); in SimplifyICmpInst() 1482 return Constant::getNullValue(ITy); in SimplifyICmpInst() 1485 return ConstantInt::getAllOnesValue(ITy); in SimplifyICmpInst() 1489 return Constant::getNullValue(ITy); in SimplifyICmpInst() 1494 return ConstantInt::getAllOnesValue(ITy); in SimplifyICmpInst() 1499 return ConstantInt::getAllOnesValue(ITy); in SimplifyICmpInst() 1501 return Constant::getNullValue(ITy); in SimplifyICmpInst() 1506 return ConstantInt::getAllOnesValue(ITy); in SimplifyICmpInst() [all …]
|
D | MemoryDependenceAnalysis.cpp | 385 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) in getPointerDependencyFrom() local 386 if (LI->getAlignment()*8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
|
D | ScalarEvolution.cpp | 301 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); in getConstant() local 302 return getConstant(ConstantInt::get(ITy, V, isSigned)); in getConstant()
|
/external/llvm/lib/VMCore/ |
D | ValueTypes.cpp | 80 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 81 return ITy->getBitWidth(); in getExtendedSizeInBits()
|
D | Core.cpp | 1862 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local 1864 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc() 1866 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc() 1873 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local 1875 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc() 1877 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
|
D | Constants.cpp | 116 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local 118 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue() 399 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local 401 DenseMapAPIntKeyInfo::KeyTy Key(V, ITy); in get() 403 if (!Slot) Slot = new ConstantInt(ITy, V); in get()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 1460 Type *ITy = I->getType(); in ResolvedUndefsIn() local 1469 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1475 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1480 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn() 1493 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn() 1514 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 26 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) { in getPromotedType() local 27 if (ITy->getBitWidth() < 32) in getPromotedType() 145 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. in SimplifyMemSet() local 149 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); in SimplifyMemSet() 157 StoreInst *S = Builder->CreateStore(ConstantInt::get(ITy, Fill), Dest, in SimplifyMemSet()
|
D | InstCombineCasts.cpp | 589 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local 590 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp() 611 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp() 615 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp() 618 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
|
D | InstCombineAndOrXor.cpp | 1403 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in MatchBSwap() local 1404 if (!ITy || ITy->getBitWidth() % 16 || in MatchBSwap() 1406 ITy->getBitWidth() > 32*8) in MatchBSwap() 1412 ByteValues.resize(ITy->getBitWidth()/8); in MatchBSwap() 1428 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
|
/external/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, 656 : ITy<opcode, MRMSrcMem, typeinfo, outlist, 692 : ITy<opcode, f, typeinfo, outlist, 730 : ITy<opcode, f, typeinfo, outlist, 768 : ITy<opcode, MRMDestMem, typeinfo, 796 : ITy<opcode, f, typeinfo, 829 : ITy<0x82, f, typeinfo, [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 1077 IntegerType *ITy = IntegerType::get(FuncInfo.Fn->getContext(), in FastEmit_ri_() local 1079 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm)); in FastEmit_ri_()
|
/external/llvm/lib/Target/CBackend/ |
D | CBackend.cpp | 3477 if (IntegerType* ITy = dyn_cast<IntegerType>(Operand->getType())) in visitStoreInst() local 3478 if (!ITy->isPowerOf2ByteWidth()) in visitStoreInst() 3481 BitMask = ConstantInt::get(ITy, ITy->getBitMask()); in visitStoreInst()
|