Home
last modified time | relevance | path

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

/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp168 if (IntegerType *ITy = in getKindForGlobal() local
170 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal()
171 ITy->getBitWidth() == 32) && in getKindForGlobal()
173 if (ITy->getBitWidth() == 8) in getKindForGlobal()
175 if (ITy->getBitWidth() == 16) in getKindForGlobal()
178 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.h63 template<typename ITy>
64 bool match(ITy *V) { return isa<Class>(V); } in match()
79 template<typename ITy>
80 bool match(ITy *V) { in match()
95 template<typename ITy>
96 bool match(ITy *V) { in match()
125 template<typename ITy>
126 bool match(ITy *V) { in match()
150 template<typename ITy>
151 bool match(ITy *V) { in match()
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1650 Type *ITy = GetCompareTy(LHS); // The return type. in SimplifyICmpInst() local
1657 return ConstantInt::get(ITy, CmpInst::isTrueWhenEqual(Pred)); in SimplifyICmpInst()
1706 return ConstantInt::get(ITy, CmpInst::isTrueWhenEqual(Pred)); in SimplifyICmpInst()
1719 return ConstantInt::get(ITy, false); in SimplifyICmpInst()
1725 return ConstantInt::get(ITy, false); in SimplifyICmpInst()
1731 return ConstantInt::get(ITy, false); in SimplifyICmpInst()
1733 return ConstantInt::get(ITy, true); in SimplifyICmpInst()
1740 return ConstantInt::get(ITy, false); in SimplifyICmpInst()
1742 return ConstantInt::get(ITy, true); in SimplifyICmpInst()
1752 return getFalse(ITy); in SimplifyICmpInst()
[all …]
DMemoryDependenceAnalysis.cpp484 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) in getPointerDependencyFrom() local
485 if (LI->getAlignment()*8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
DScalarEvolution.cpp323 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); in getConstant() local
324 return getConstant(ConstantInt::get(ITy, V, isSigned)); in getConstant()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp1311 Type *ITy = I->getType(); in ResolvedUndefsIn() local
1326 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1340 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1349 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1357 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
1365 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1381 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1389 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
1399 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
/external/llvm/lib/VMCore/
DValueTypes.cpp86 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local
87 return ITy->getBitWidth(); in getExtendedSizeInBits()
DCore.cpp1994 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local
1996 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc()
1998 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc()
2005 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local
2007 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc()
2009 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
DConstants.cpp142 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local
144 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue()
425 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local
427 DenseMapAPIntKeyInfo::KeyTy Key(V, ITy); in get()
429 if (!Slot) Slot = new ConstantInt(ITy, V); in get()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp25 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()
DInstCombineCasts.cpp585 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local
586 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp()
606 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp()
610 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp()
613 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
DInstCombineAndOrXor.cpp1379 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in MatchBSwap() local
1380 if (!ITy || ITy->getBitWidth() % 16 || in MatchBSwap()
1382 ITy->getBitWidth() > 32*8) in MatchBSwap()
1388 ByteValues.resize(ITy->getBitWidth()/8); in MatchBSwap()
1404 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
/external/llvm/lib/Target/X86/
DX86InstrArithmetic.td619 /// ITy - This instruction base class takes the type info for the instruction.
627 class ITy<bits<8> opcode, Format f, X86TypeInfo typeinfo, dag outs, dag ins,
645 : ITy<opcode, f, typeinfo, outlist,
687 : ITy<opcode, MRMSrcReg, typeinfo,
697 : ITy<opcode, MRMSrcReg, typeinfo, (outs),
707 : ITy<opcode, MRMSrcMem, typeinfo, outlist,
743 : ITy<opcode, f, typeinfo, outlist,
780 : ITy<opcode, f, typeinfo, outlist,
818 : ITy<opcode, MRMDestMem, typeinfo,
846 : ITy<opcode, f, typeinfo,
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1134 IntegerType *ITy = IntegerType::get(FuncInfo.Fn->getContext(), in FastEmit_ri_() local
1136 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm)); in FastEmit_ri_()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp947 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() local
949 Ptr = Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitBuiltinExpr()
951 Builder.CreateStore(llvm::Constant::getNullValue(ITy), Ptr); in EmitBuiltinExpr()