Home
last modified time | relevance | path

Searched refs:ITy (Results 1 – 16 of 16) sorted by relevance

/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp173 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/
Dsh-mem.c133 #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/
DPatternMatch.h62 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/
DInstructionSimplify.cpp1416 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 …]
DMemoryDependenceAnalysis.cpp385 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) in getPointerDependencyFrom() local
386 if (LI->getAlignment()*8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
DScalarEvolution.cpp301 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); in getConstant() local
302 return getConstant(ConstantInt::get(ITy, V, isSigned)); in getConstant()
/external/llvm/lib/VMCore/
DValueTypes.cpp80 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local
81 return ITy->getBitWidth(); in getExtendedSizeInBits()
DCore.cpp1862 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()
DConstants.cpp116 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/
DSCCP.cpp1460 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/
DInstCombineCalls.cpp26 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()
DInstCombineCasts.cpp589 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()
DInstCombineAndOrXor.cpp1403 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/
DX86InstrArithmetic.td582 /// 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/
DFastISel.cpp1077 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/
DCBackend.cpp3477 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()