/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTypeCache.h | 22 class IntegerType; 37 llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty; 42 llvm::IntegerType *IntTy; 46 llvm::IntegerType *IntPtrTy; 47 llvm::IntegerType *SizeTy; 48 llvm::IntegerType *PtrDiffTy;
|
H A D | PatternInit.cpp | 36 unsigned BitWidth = cast<llvm::IntegerType>( 51 llvm::Type *IntTy = llvm::IntegerType::get(CGM.getLLVMContext(), PtrWidth);
|
H A D | CGOpenCLRuntime.cpp | 101 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); 111 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); 120 return llvm::IntegerType::getInt8PtrTy(
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Type.h | 32 class IntegerType; 86 // MAX_INT_BITS value in IntegerType class. 196 /// True if this is an instance of IntegerType. 199 /// Return true if this is an IntegerType of the given width. 419 static IntegerType *getIntNTy(LLVMContext &C, unsigned N); 420 static IntegerType *getInt1Ty(LLVMContext &C); 421 static IntegerType *getInt8Ty(LLVMContext &C); 422 static IntegerType *getInt16Ty(LLVMContext &C); 423 static IntegerType *getInt32Ty(LLVMContext &C); 424 static IntegerType *getInt64T [all...] |
H A D | DerivedTypes.h | 40 class IntegerType : public Type { class in namespace:llvm 44 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ function in class:llvm::IntegerType 49 /// This enum is just used to hold constants we need for IntegerType. 58 /// This static method is the primary way of constructing an IntegerType. 59 /// If an IntegerType with the same NumBits value was previously instantiated, 62 /// Get or create an IntegerType instance. 63 static IntegerType *get(LLVMContext &C, unsigned NumBits); 66 IntegerType *getExtendedType() const { 70 /// Get the number of bits in this IntegerType 90 /// This method determines if the width of this IntegerType i [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Type.cpp | 58 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; 125 return TypeSize::Fixed(cast<IntegerType>(this)->getBitWidth()); 177 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; } 178 IntegerType *Type::getInt8Ty(LLVMContext &C) { return &C.pImpl->Int8Ty; } 179 IntegerType *Type::getInt16Ty(LLVMContext &C) { return &C.pImpl->Int16Ty; } 180 IntegerType *Type::getInt32Ty(LLVMContext &C) { return &C.pImpl->Int32Ty; } 181 IntegerType *Type::getInt64Ty(LLVMContext &C) { return &C.pImpl->Int64Ty; } 182 IntegerType *Type::getInt128Ty(LLVMContext &C) { return &C.pImpl->Int128Ty; } 184 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) { 185 return IntegerType [all...] |
H A D | ConstantFold.cpp | 60 Type *Ty = IntegerType::get(CV->getContext(), 32); 94 IntegerType *FakeIntPtrTy = Type::getInt64Ty(DstTy->getContext()); 215 (cast<IntegerType>(C->getType())->getBitWidth() & 7) == 0 && 217 unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8; 280 IntegerType::get(CE->getContext(), ByteSize * 8)); 303 IntegerType::get(CE->getContext(), ByteSize * 8)); 315 cast<IntegerType>(CE->getOperand(0)->getType())->getBitWidth(); 319 return Constant::getNullValue(IntegerType::get(CE->getContext(), 339 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), 387 getFoldedSizeOf(PointerType::get(IntegerType [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IndirectBrExpandPass.cpp | 148 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); 172 IntegerType *CommonITy = nullptr; 175 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType()));
|
H A D | TypePromotion.cpp | 108 IntegerType *OrigTy = nullptr; 114 IntegerType *ExtTy = nullptr; 129 IRPromoter(LLVMContext &C, IntegerType *Ty, unsigned Width, 135 ExtTy = IntegerType::get(Ctx, PromotedWidth); 229 if (!isa<IntegerType>(V->getType())) 389 if (!isa<IntegerType>(V->getType()) || isSink(V)) 533 if ((Op->getType() == ExtTy) || !isa<IntegerType>(Op->getType())) 557 if (!isa<Instruction>(V) || !isa<IntegerType>(V->getType())) 660 IntegerType *SrcTy = cast<IntegerType>(Trun [all...] |
H A D | ValueTypes.cpp | 30 VT.LLVMTy = IntegerType::get(Context, BitWidth); 107 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) 151 case MVT::i128: return IntegerType::get(Context, 128); 332 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth()); 358 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
|
H A D | ExpandMemCmp.cpp | 338 IntegerType *const MaxLoadType = 340 : IntegerType::get(CI->getContext(), MaxLoadSize * 8); 344 IntegerType *LoadSizeType = 345 IntegerType::get(CI->getContext(), CurLoadEntry.LoadSize * 8); 448 IntegerType::get(CI->getContext(), CurLoadEntry.LoadSize * 8); 449 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8); 531 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8); 570 Type *LoadSizeType = IntegerType::get(CI->getContext(), Size * 8);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | OpDescriptor.cpp | 16 if (auto *IntTy = dyn_cast<IntegerType>(T)) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 390 if (!isa<IntegerType>(I->getType())) 414 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); 448 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0); 458 if (!isa<IntegerType>(I->getType())) 476 // Casting to IntegerType is safe because we skipped vector GEPs. 477 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); 489 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1), 604 IntegerType *DeltaType = 605 IntegerType [all...] |
H A D | InductiveRangeCheckElimination.cpp | 378 unsigned BitWidth = cast<IntegerType>(IndexAddRec->getType())->getBitWidth(); 678 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth(); 726 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth(); 784 if (!ICI || !isa<IntegerType>(ICI->getOperand(0)->getType())) { 798 IntegerType *IndVarTy = cast<IntegerType>(LeftValue->getType()); 819 IntegerType *Ty = cast<IntegerType>(AR->getType()); 820 IntegerType *WideTy = 821 IntegerType [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/CodeGen/ |
H A D | SwiftCallingConv.h | 23 class IntegerType; 135 bool isLegalIntegerType(CodeGenModule &CGM, llvm::IntegerType *type);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SanitizerStats.cpp | 46 IntegerType *IntPtrTy = B.getIntPtrTy(M->getDataLayout()); 78 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext());
|
H A D | BypassSlowDivision.cpp | 80 IntegerType *BypassType = nullptr; 127 IntegerType *SlowType = dyn_cast<IntegerType>(SlowDivOrRem->getType()); 137 IntegerType *BT = IntegerType::get(I->getContext(), BI->second);
|
H A D | VNCoercion.cpp | 111 StoredValTy = IntegerType::get(StoredValTy->getContext(), StoredValSize); 125 Type *NewIntTy = IntegerType::get(StoredValTy->getContext(), LoadedValSize); 365 SrcVal = Helper.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize * 8)); 379 IntegerType::get(Ctx, LoadSize * 8)); 427 Type *DestTy = IntegerType::get(LoadTy->getContext(), NewLoadSize * 8); 477 Helper.CreateZExtOrBitCast(Val, IntegerType::get(Ctx, LoadSize * 8));
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | PtrUseVisitor.h | 225 IntegerType *IntIdxTy = cast<IntegerType>(DL.getIndexType(I.getType()));
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVVMIntrRange.cpp | 74 IntegerType *Int32Ty = Type::getInt32Ty(Context);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 570 IntegerType *getPmpyType() const { 572 return IntegerType::get(Ctx, 32); 575 bool isPromotableTo(Value *V, IntegerType *Ty); 576 void promoteTo(Instruction *In, IntegerType *DestTy, BasicBlock *LoopB); 965 IntegerType *DestTy) { 966 IntegerType *T = dyn_cast<IntegerType>(Val->getType()); 1003 IntegerType *DestTy, BasicBlock *LoopB) { 1020 IntegerType *Ty = cast<IntegerType>(In [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMParallelDSP.cpp | 229 LoadInst* CreateWideLoad(MemInstList &Loads, IntegerType *LoadTy); 700 ConstantInt::get(IntegerType::get(M->getContext(), 64), 0) : 701 ConstantInt::get(IntegerType::get(M->getContext(), 32), 0); 715 IntegerType *Ty = IntegerType::get(M->getContext(), 32); 734 IntegerType *LoadTy) { 789 IntegerType *OffsetTy = cast<IntegerType>(Offset->getType());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 193 if (IntegerType *ITy = 194 dyn_cast<IntegerType>(ATy->getElementType())) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrOrderFile.cpp | 121 IntegerType *Int32Ty = Type::getInt32Ty(Ctx); 122 IntegerType *Int8Ty = Type::getInt8Ty(Ctx);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroInternal.h | 144 IntegerType *getIndexType() const { 147 return cast<IntegerType>(FrameTy->getElementType(SwitchFieldIndex::Index));
|