| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTypeCache.h | 22 class IntegerType; variable 37 llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty; 42 llvm::IntegerType *IntTy; 45 llvm::IntegerType *CharTy; 49 llvm::IntegerType *IntPtrTy; 50 llvm::IntegerType *SizeTy; 51 llvm::IntegerType *PtrDiffTy;
|
| H A D | PatternInit.cpp | 38 cast<llvm::IntegerType>(Ty->getScalarType())->getBitWidth(); in initializationPatternFor() 50 llvm::Type *IntTy = llvm::IntegerType::get(CGM.getLLVMContext(), PtrWidth); in initializationPatternFor()
|
| H A D | CGOpenCLRuntime.cpp | 101 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemSize() 111 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemAlign() 120 return llvm::IntegerType::getInt8PtrTy( in getGenericVoidPointerType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | Bitfields.h | 159 using IntegerType = typename Bitfield::IntegerType; 160 using C = Compressor<IntegerType, Bitfield::Bits>; 170 static void update(StorageType &Packed, IntegerType UserValue) { 178 static IntegerType extract(StorageType Packed) { 225 using IntegerType = 237 static constexpr size_t TypeBits = sizeof(IntegerType) * CHAR_BIT; 242 std::is_unsigned<IntegerType>::value, 244 static_assert(std::is_integral<IntegerType>::value && 245 std::numeric_limits<IntegerType>::is_integer, 248 static constexpr IntegerType UserMaxValue = [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Type.cpp | 207 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) { in getIntNTy() 208 return IntegerType::get(C, N); in getIntNTy() 275 IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) { in get() 281 case 1: return cast<IntegerType>(Type::getInt1Ty(C)); in get() 282 case 8: return cast<IntegerType>(Type::getInt8Ty(C)); in get() 283 case 16: return cast<IntegerType>(Type::getInt16Ty(C)); in get() 284 case 32: return cast<IntegerType>(Type::getInt32Ty(C)); in get() 285 case 64: return cast<IntegerType>(Type::getInt64Ty(C)); in get() 291 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits]; in get() 294 Entry = new (C.pImpl->Alloc) IntegerType(C, NumBits); in get() [all …]
|
| H A D | ConstantFold.cpp | 70 Type *Ty = IntegerType::get(CV->getContext(), 32); in BitCastConstantVector() 283 IntegerType::get(CE->getContext(), ByteSize * 8)); in ExtractConstantBytes() 306 IntegerType::get(CE->getContext(), ByteSize * 8)); in ExtractConstantBytes() 419 Type *Ty = IntegerType::get(V->getContext(), 32); in ConstantFoldCastInstruction() 539 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction() 733 Type *Ty = IntegerType::get(V1->getContext(), 32); in ConstantFoldShuffleVectorInstruction() 757 Type *Ty = IntegerType::get(V2->getContext(), 32); in ConstantFoldShuffleVectorInstruction() 762 Type *Ty = IntegerType::get(V1->getContext(), 32); in ConstantFoldShuffleVectorInstruction() 845 Type *Ty = IntegerType::get(VTy->getContext(), 32); in ConstantFoldUnaryInstruction() 1226 Type *Ty = IntegerType::get(FVTy->getContext(), 32); in ConstantFoldBinaryInstruction() [all …]
|
| H A D | DataLayout.cpp | 838 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() 840 return IntegerType::get(C, getPointerSizeInBits(AddressSpace)); in getIntPtrType() 847 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIntPtrType() 869 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); in getIndexType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TypePromotion.cpp | 106 IntegerType *OrigTy = nullptr; 112 IntegerType *ExtTy = nullptr; 127 IRPromoter(LLVMContext &C, IntegerType *Ty, unsigned Width, in IRPromoter() 133 ExtTy = IntegerType::get(Ctx, PromotedWidth); in IRPromoter() 228 if (!isa<IntegerType>(V->getType())) in isSource() 388 if (!isa<IntegerType>(V->getType()) || isSink(V)) in shouldPromote() 659 IntegerType *SrcTy = cast<IntegerType>(Trunc->getOperand(0)->getType()); in ConvertTruncs() 660 IntegerType *DestTy = cast<IntegerType>(TruncTysMap[Trunc][0]); in ConvertTruncs() 732 if (!isa<IntegerType>(Ty) || in isSupportedType() 733 cast<IntegerType>(Ty)->getBitWidth() == 1 || in isSupportedType() [all …]
|
| H A D | IndirectBrExpandPass.cpp | 161 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction() 197 IntegerType *CommonITy = nullptr; in runOnFunction() 200 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
|
| H A D | ExpandMemCmp.cpp | 388 IntegerType *const MaxLoadType = in getCompareLoadPairs() 390 : IntegerType::get(CI->getContext(), MaxLoadSize * 8); in getCompareLoadPairs() 394 IntegerType::get(CI->getContext(), CurLoadEntry.LoadSize * 8), in getCompareLoadPairs() 480 IntegerType::get(CI->getContext(), CurLoadEntry.LoadSize * 8); in emitLoadCompareBlock() 481 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8); in emitLoadCompareBlock() 554 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8); in setupResultBlockPHINodes() 593 Type *LoadSizeType = IntegerType::get(CI->getContext(), Size * 8); in getMemCmpOneBlock()
|
| H A D | ValueTypes.cpp | 38 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT() 143 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() 192 case MVT::i128: return IntegerType::get(Context, 128); in getTypeForEVT() 202 case MVT::i64x8: return IntegerType::get(Context, 512); in getTypeForEVT() 534 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth()); in getVT() 563 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth()); in getEVT()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Type.h | 31 class IntegerType; variable 425 static IntegerType *getIntNTy(LLVMContext &C, unsigned N); 426 static IntegerType *getInt1Ty(LLVMContext &C); 427 static IntegerType *getInt8Ty(LLVMContext &C); 428 static IntegerType *getInt16Ty(LLVMContext &C); 429 static IntegerType *getInt32Ty(LLVMContext &C); 430 static IntegerType *getInt64Ty(LLVMContext &C); 431 static IntegerType *getInt128Ty(LLVMContext &C);
|
| H A D | DerivedTypes.h | 40 class IntegerType : public Type { 44 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() function 63 static IntegerType *get(LLVMContext &C, unsigned NumBits); 66 IntegerType *getExtendedType() const { in getExtendedType() 97 return cast<IntegerType>(this)->getBitWidth(); in getIntegerBitWidth() 442 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger() 450 auto *EltTy = cast<IntegerType>(VTy->getElementType()); in getExtendedElementVectorType() 474 EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType() 717 return cast<IntegerType>(this)->getExtendedType(); in getExtendedType()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | ConstantInitBuilder.h | 197 void addInt(llvm::IntegerType *intTy, uint64_t value, 225 void addRelativeOffset(llvm::IntegerType *type, llvm::Constant *target) { in addRelativeOffset() 231 void addRelativeOffsetToPosition(llvm::IntegerType *type, in addRelativeOffsetToPosition() 240 void addTaggedRelativeOffset(llvm::IntegerType *type, in addTaggedRelativeOffset() 290 llvm::IntegerType *type, uint64_t value, 334 llvm::Constant *getRelativeOffset(llvm::IntegerType *offsetType, 337 llvm::Constant *getRelativeOffsetToPosition(llvm::IntegerType *offsetType,
|
| H A D | SwiftCallingConv.h | 24 class IntegerType; variable 136 bool isLegalIntegerType(CodeGenModule &CGM, llvm::IntegerType *type);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | StraightLineStrengthReduce.cpp | 401 if (!isa<IntegerType>(I->getType())) in allocateCandidatesAndFindBasisForAdd() 425 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); in allocateCandidatesAndFindBasisForAdd() 459 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0); in allocateCandidatesAndFindBasisForMul() 469 if (!isa<IntegerType>(I->getType())) in allocateCandidatesAndFindBasisForMul() 488 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP() 500 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1), in factorArrayIndex() 615 IntegerType *DeltaType = in emitBump() 616 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump()
|
| H A D | SROA.cpp | 1155 if (IntegerType *UserITy = dyn_cast_or_null<IntegerType>(UserTy)) { in findCommonType() 1711 if (isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) { in canConvertValue() 1771 assert(!(isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) && in convertValue() 2042 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() 2067 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() 2142 IntegerType *IntTy = cast<IntegerType>(V->getType()); in extractInteger() 2165 IntegerType *IntTy = cast<IntegerType>(Old->getType()); in insertInteger() 2166 IntegerType *Ty = cast<IntegerType>(V->getType()); in insertInteger() 2760 IntegerType *VTy = cast<IntegerType>(V->getType()); in getIntegerSplat() 4006 IntegerType *Ty = cast<IntegerType>(LI->getType()); in presplitLoadsAndStores() [all …]
|
| H A D | InductiveRangeCheckElimination.cpp | 789 if (!ICI || !isa<IntegerType>(ICI->getOperand(0)->getType())) { in parseLoopStructure() 803 IntegerType *IndVarTy = cast<IntegerType>(LeftValue->getType()); in parseLoopStructure() 824 IntegerType *Ty = cast<IntegerType>(AR->getType()); in parseLoopStructure() 825 IntegerType *WideTy = in parseLoopStructure() 826 IntegerType::get(Ty->getContext(), Ty->getBitWidth() * 2); in parseLoopStructure() 1064 IntegerType *Ty = cast<IntegerType>(LatchTakenCount->getType()); in calculateSubRanges() 1066 auto *RTy = cast<IntegerType>(Range.getType()); in calculateSubRanges() 1421 IntegerType *IVTy = in run() 1422 cast<IntegerType>(Range.getBegin()->getType()); in run() 1587 auto *IVType = cast<IntegerType>(IndVar->getType()); in computeSafeIterationSpace() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 124 StoredValTy = IntegerType::get(StoredValTy->getContext(), StoredValSize); in coerceAvailableValueToLoadTypeHelper() 138 Type *NewIntTy = IntegerType::get(StoredValTy->getContext(), LoadedValSize); in coerceAvailableValueToLoadTypeHelper() 256 if (!isa<IntegerType>(LI->getType()) || !LI->isSimple()) in getLoadLoadClobberFullWidthSize() 446 SrcVal = Helper.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize * 8)); in getStoreValueForLoadHelper() 460 IntegerType::get(Ctx, LoadSize * 8)); in getStoreValueForLoadHelper() 509 Type *DestTy = IntegerType::get(LoadTy->getContext(), NewLoadSize * 8); in getLoadValueForLoad() 560 Helper.CreateZExtOrBitCast(Val, IntegerType::get(Ctx, LoadSize * 8)); in getMemInstValueForLoadHelper()
|
| H A D | BypassSlowDivision.cpp | 80 IntegerType *BypassType = nullptr; 127 IntegerType *SlowType = dyn_cast<IntegerType>(SlowDivOrRem->getType()); in FastDivInsertionTask() 137 IntegerType *BT = IntegerType::get(I->getContext(), BI->second); in FastDivInsertionTask()
|
| H A D | SanitizerStats.cpp | 46 IntegerType *IntPtrTy = B.getIntPtrTy(M->getDataLayout()); in create() 78 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); in finish()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 229 LoadInst* CreateWideLoad(MemInstList &Loads, IntegerType *LoadTy); 696 ConstantInt::get(IntegerType::get(M->getContext(), 64), 0) : in InsertParallelMACs() 697 ConstantInt::get(IntegerType::get(M->getContext(), 32), 0); in InsertParallelMACs() 710 IntegerType *Ty = IntegerType::get(M->getContext(), 32); in InsertParallelMACs() 729 IntegerType *LoadTy) { in CreateWideLoad() 783 IntegerType *OffsetTy = cast<IntegerType>(Offset->getType()); in CreateWideLoad()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 588 IntegerType *getPmpyType() const { in getPmpyType() 590 return IntegerType::get(Ctx, 32); in getPmpyType() 983 IntegerType *DestTy) { in isPromotableTo() 984 IntegerType *T = dyn_cast<IntegerType>(Val->getType()); in isPromotableTo() 1021 IntegerType *DestTy, BasicBlock *LoopB) { in promoteTo() 1038 IntegerType *Ty = cast<IntegerType>(InV->getType()); in promoteTo() 1056 IntegerType *TruncTy = cast<IntegerType>(OrigTy); in promoteTo() 1081 IntegerType *DestTy = getPmpyType(); in promoteTypes() 1089 IntegerType *T = dyn_cast<IntegerType>(P.getType()); in promoteTypes() 1347 if (!isa<IntegerType>(V->getType())) in convertShiftsToLeft() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 224 IntegerType *IntIdxTy = cast<IntegerType>(DL.getIndexType(I.getType())); in visitPtr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 77 switch (cast<IntegerType>(Ty)->getBitWidth()) { in getTypeID() 127 switch (cast<IntegerType>(Ty)->getBitWidth()) { in ffiTypeFor() 148 switch (cast<IntegerType>(Ty)->getBitWidth()) { in ffiValueFor() 240 switch (cast<IntegerType>(RetTy)->getBitWidth()) { in ffiInvoke()
|