| /freebsd-9-stable/contrib/llvm/lib/Target/ |
| D | TargetLoweringObjectFile.cpp | 178 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/ |
| D | PatternMatch.h | 65 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/ |
| D | InstructionSimplify.cpp | 1875 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 …]
|
| D | MemoryDependenceAnalysis.cpp | 422 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) in getPointerDependencyFrom() local 423 if (LI->getAlignment()*8 > ITy->getPrimitiveSizeInBits() && in getPointerDependencyFrom()
|
| D | ScalarEvolution.cpp | 331 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/ |
| D | SCCP.cpp | 1301 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()
|
| D | SROA.cpp | 959 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/ |
| D | ValueTypes.cpp | 98 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() local 99 return ITy->getBitWidth(); in getExtendedSizeInBits()
|
| D | Core.cpp | 2176 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()
|
| D | Constants.cpp | 164 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/ |
| D | InstCombineCalls.cpp | 30 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()
|
| D | InstCombineCasts.cpp | 594 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()
|
| D | InstCombineAndOrXor.cpp | 1492 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/ |
| D | X86InstrArithmetic.td | 678 /// 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/ |
| D | PPCCTRLoops.cpp | 190 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/ |
| D | FastISel.cpp | 1192 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/ |
| D | LoopVectorize.cpp | 1053 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/ |
| D | NVPTXAsmPrinter.cpp | 435 if (const IntegerType *ITy = dyn_cast<IntegerType>(Ty)) { in printReturnValStr() local 436 size = ITy->getBitWidth(); in printReturnValStr()
|
| D | NVPTXISelLowering.cpp | 366 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/ |
| D | CGBuiltin.cpp | 1022 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()
|