Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/lib/Target/
DTargetLoweringObjectFile.cpp178 if (IntegerType *ITy = in getKindForGlobal() local
180 if ((ITy->getBitWidth() == 8 || ITy->getBitWidth() == 16 || in getKindForGlobal()
181 ITy->getBitWidth() == 32) && in getKindForGlobal()
183 if (ITy->getBitWidth() == 8) in getKindForGlobal()
185 if (ITy->getBitWidth() == 16) in getKindForGlobal()
188 assert(ITy->getBitWidth() == 32 && "Unknown width"); in getKindForGlobal()
/freebsd-9-stable/contrib/llvm/include/llvm/Support/
DPatternMatch.h65 template<typename ITy>
66 bool match(ITy *V) { return isa<Class>(V); } in match()
88 template<typename ITy>
89 bool match(ITy *V) { in match()
105 template<typename ITy>
106 bool match(ITy *V) { in match()
127 template<typename ITy>
128 bool match(ITy *V) { in match()
140 template<typename ITy>
141 bool match(ITy *V) { in match()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Analysis/
DInstructionSimplify.cpp1875 Type *ITy = GetCompareTy(LHS); // The return type. in SimplifyICmpInst() local
1882 return ConstantInt::get(ITy, CmpInst::isTrueWhenEqual(Pred)); in SimplifyICmpInst()
1927 return getFalse(ITy); in SimplifyICmpInst()
1929 return getTrue(ITy); in SimplifyICmpInst()
1933 return getFalse(ITy); in SimplifyICmpInst()
1938 return getTrue(ITy); in SimplifyICmpInst()
1943 return getTrue(ITy); in SimplifyICmpInst()
1945 return getFalse(ITy); in SimplifyICmpInst()
1950 return getTrue(ITy); in SimplifyICmpInst()
1952 return getFalse(ITy); in SimplifyICmpInst()
[all …]
DMemoryDependenceAnalysis.cpp422 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) in getPointerDependencyFrom() local
423 if (LI->getAlignment()*8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
DScalarEvolution.cpp331 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty)); in getConstant() local
332 return getConstant(ConstantInt::get(ITy, V, isSigned)); in getConstant()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DSCCP.cpp1301 Type *ITy = I->getType(); in ResolvedUndefsIn() local
1316 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1330 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1339 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1347 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
1355 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1371 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
1379 markForcedConstant(I, Constant::getAllOnesValue(ITy)); in ResolvedUndefsIn()
1389 markForcedConstant(I, Constant::getNullValue(ITy)); in ResolvedUndefsIn()
DSROA.cpp959 if (IntegerType *ITy = dyn_cast<IntegerType>(UserTy)) { in INITIALIZE_PASS_DEPENDENCY() local
964 if (ITy->getBitWidth() % 8 != 0 || in INITIALIZE_PASS_DEPENDENCY()
965 ITy->getBitWidth() / 8 > (EndOffset - B->beginOffset())) in INITIALIZE_PASS_DEPENDENCY()
974 return ITy; in INITIALIZE_PASS_DEPENDENCY()
1673 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() local
1674 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice()
1688 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() local
1689 if (ITy->getBitWidth() < DL.getTypeStoreSizeInBits(ITy)) in isIntegerWideningViableForSlice()
/freebsd-9-stable/contrib/llvm/lib/IR/
DValueTypes.cpp98 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local
99 return ITy->getBitWidth(); in getExtendedSizeInBits()
DCore.cpp2176 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildMalloc() local
2178 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildMalloc()
2180 ITy, unwrap(Ty), AllocSize, in LLVMBuildMalloc()
2187 Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); in LLVMBuildArrayMalloc() local
2189 AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy); in LLVMBuildArrayMalloc()
2191 ITy, unwrap(Ty), AllocSize, in LLVMBuildArrayMalloc()
DConstants.cpp164 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in getAllOnesValue() local
166 APInt::getAllOnesValue(ITy->getBitWidth())); in getAllOnesValue()
484 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth()); in get() local
487 ConstantInt *&Slot = pImpl->IntConstants[DenseMapAPIntKeyInfo::KeyTy(V, ITy)]; in get()
488 if (!Slot) Slot = new ConstantInt(ITy, V); in get()
/freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp30 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) { in getPromotedType() local
31 if (ITy->getBitWidth() < 32) in getPromotedType()
173 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. in SimplifyMemSet() local
177 Type *NewDstPtrTy = PointerType::get(ITy, DstAddrSp); in SimplifyMemSet()
185 StoreInst *S = Builder->CreateStore(ConstantInt::get(ITy, Fill), Dest, in SimplifyMemSet()
DInstCombineCasts.cpp594 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) { in transformZExtICmp() local
595 uint32_t BitWidth = ITy->getBitWidth(); in transformZExtICmp()
615 ConstantInt::get(ITy, UnknownBit)); in transformZExtICmp()
619 Result, ConstantInt::get(ITy, UnknownBit.countTrailingZeros())); in transformZExtICmp()
622 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
DInstCombineAndOrXor.cpp1492 IntegerType *ITy = dyn_cast<IntegerType>(I.getType()); in MatchBSwap() local
1493 if (!ITy || ITy->getBitWidth() % 16 || in MatchBSwap()
1495 ITy->getBitWidth() > 32*8) in MatchBSwap()
1501 ByteValues.resize(ITy->getBitWidth()/8); in MatchBSwap()
1517 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
/freebsd-9-stable/contrib/llvm/lib/Target/X86/
DX86InstrArithmetic.td678 /// ITy - This instruction base class takes the type info for the instruction.
686 class ITy<bits<8> opcode, Format f, X86TypeInfo typeinfo, dag outs, dag ins,
704 : ITy<opcode, f, typeinfo, outlist,
748 : ITy<opcode, MRMSrcReg, typeinfo,
764 : ITy<opcode, MRMSrcReg, typeinfo, (outs),
777 : ITy<opcode, MRMSrcMem, typeinfo, outlist,
815 : ITy<opcode, f, typeinfo, outlist,
854 : ITy<opcode, f, typeinfo, outlist,
893 : ITy<opcode, MRMDestMem, typeinfo,
923 : ITy<opcode, f, typeinfo,
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp190 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty)) in isLargeIntegerTy() local
191 return ITy->getBitWidth() > (Is32Bit ? 32 : 64); in isLargeIntegerTy()
/freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1192 IntegerType *ITy = IntegerType::get(FuncInfo.Fn->getContext(), in FastEmit_ri_() local
1194 MaterialReg = getRegForValue(ConstantInt::get(ITy, Imm)); in FastEmit_ri_()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1053 Type *ITy = Val->getType()->getScalarType(); in getConsecutiveVector() local
1061 Indices.push_back(ConstantInt::get(ITy, StartIdx + Idx, Negate)); in getConsecutiveVector()
5169 Type *ITy = Val->getType(); in getConsecutiveVector() local
5170 assert(!ITy->isVectorTy() && "Val must be a scalar"); in getConsecutiveVector()
5171 Constant *C = ConstantInt::get(ITy, StartIdx, Negate); in getConsecutiveVector()
/freebsd-9-stable/contrib/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp435 if (const IntegerType *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local
436 size = ITy->getBitWidth(); in printReturnValStr()
DNVPTXISelLowering.cpp366 if (const IntegerType *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype() local
367 size = ITy->getBitWidth(); in getPrototype()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGBuiltin.cpp1022 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() local
1024 Ptr = Builder.CreateBitCast(Ptr, ITy->getPointerTo()); in EmitBuiltinExpr()
1026 Builder.CreateStore(llvm::Constant::getNullValue(ITy), Ptr); in EmitBuiltinExpr()