| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsInstructionSelector.cpp | 123 const unsigned TySize = Ty.getSizeInBits(); in getRegClassForTypeOnBank() local 126 assert((Ty.isScalar() || Ty.isPointer()) && TySize == 32 && in getRegClassForTypeOnBank() 133 assert((TySize == 32 || TySize == 64) && in getRegClassForTypeOnBank() 135 if (TySize == 32) in getRegClassForTypeOnBank() 186 const unsigned TySize = Ty.getSizeInBits(); in selectLoadStoreOpCode() local 192 assert(((Ty.isScalar() && TySize == 32) || in selectLoadStoreOpCode() 193 (Ty.isPointer() && TySize == 32 && MemSizeInBytes == 4)) && in selectLoadStoreOpCode() 195 (void)TySize; in selectLoadStoreOpCode() 223 assert(((TySize == 32 && MemSizeInBytes == 4) || in selectLoadStoreOpCode() 224 (TySize == 64 && MemSizeInBytes == 8)) && in selectLoadStoreOpCode() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 833 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local 834 if ((TySize % 8) != 0) in collectInstructions() 848 unsigned VF = VecRegSize / TySize; in collectInstructions() 852 if (TySize > VecRegSize / 2 || in collectInstructions() 853 (VecTy && TTI.getLoadVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectInstructions() 880 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local 881 if ((TySize % 8) != 0) in collectInstructions() 888 unsigned VF = VecRegSize / TySize; in collectInstructions() 892 if (TySize > VecRegSize / 2 || in collectInstructions() 893 (VecTy && TTI.getStoreVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectInstructions()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 156 uint64_t TySize = in set() local 159 TySize *= CUI->getZExtValue(); // Get total allocated size. in set() 160 if (TySize == 0) TySize = 1; // Don't create zero-sized stack objects. in set() 165 TySize, 0, /*IsImmutable=*/false, /*isAliased=*/true); in set() 168 FrameIndex = MF->getFrameInfo().CreateStackObject(TySize, Alignment, in set()
|
| H A D | SelectionDAGBuilder.cpp | 3998 TypeSize TySize = DL.getTypeAllocSize(Ty); in visitAlloca() local 4007 if (TySize.isScalable()) in visitAlloca() 4011 TySize.getKnownMinValue()))); in visitAlloca() 4015 DAG.getConstant(TySize.getFixedValue(), dl, IntPtr)); in visitAlloca() 8481 uint64_t TySize = DL.getTypeAllocSize(Ty); in getAddressForMemoryInput() local 8484 TySize, DL.getPrefTypeAlign(Ty), false); in getAddressForMemoryInput() 9669 uint64_t TySize = DL.getTypeAllocSize(CLI.RetTy); in LowerCallTo() local 9673 MF.getFrameInfo().CreateStackObject(TySize, Alignment, false); in LowerCallTo()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULateCodeGenPrepare.cpp | 117 unsigned TySize = DL->getTypeStoreSize(Ty); in canWidenScalarExtLoad() local 119 if (TySize >= 4) in canWidenScalarExtLoad()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 313 int TySize = DL.getTypeSizeInBits(Ty); in canWidenScalarExtLoad() local 316 return I.isSimple() && TySize < 32 && Alignment >= 4 && DA->isUniform(&I); in canWidenScalarExtLoad() 1351 int TySize = Mod->getDataLayout().getTypeSizeInBits(I.getType()); in visitLoadInst() local 1352 Type *IntNTy = Builder.getIntNTy(TySize); in visitLoadInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MemoryOpRemark.cpp | 342 Optional<TypeSize> TySize = AI->getAllocationSizeInBits(DL); in visitVariable() local 344 TySize ? getSizeInBytes(TySize->getFixedSize()) : None; in visitVariable()
|
| H A D | Evaluator.cpp | 131 TypeSize TySize = DL.getTypeStoreSize(Ty); in read() local 137 !TypeSize::isKnownLE(TySize, DL.getTypeStoreSize(AggTy))) in read() 170 TypeSize TySize = DL.getTypeStoreSize(Ty); in write() local 181 !TypeSize::isKnownLE(TySize, DL.getTypeStoreSize(AggTy))) in write()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 408 TypeSize TySize = DL.getTypeStoreSize(Ty); in isSafeToLoadUnconditionally() local 409 if (TySize.isScalable()) in isSafeToLoadUnconditionally() 411 APInt Size(DL.getIndexTypeSizeInBits(V->getType()), TySize.getFixedValue()); in isSafeToLoadUnconditionally()
|
| H A D | IVDescriptors.cpp | 1553 TypeSize TySize = DL.getTypeAllocSize(ElementType); in isInductionPHI() local 1557 if (TySize.isZero() || TySize.isScalable()) in isInductionPHI() 1560 int64_t Size = static_cast<int64_t>(TySize.getFixedSize()); in isInductionPHI()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 3361 if (TySize <= StartBit) in BitsContainNoUserData() 6161 TySize < SlotSize) { in EmitAAPCSVAArg() 6214 TySize < StackSlotSize) { in EmitAAPCSVAArg() 7872 void CoerceToIntArgs(uint64_t TySize, 7980 CoerceToIntArgs(TySize, ArgList); in HandleAggregates() 7991 CoerceToIntArgs(TySize, ArgList); in HandleAggregates() 8055 if (TySize == 0) in classifyArgumentType() 8364 if (TySize == 8 && NumRegs >= 2) { in classifyArgumentType() 8371 TySize = llvm::alignTo(TySize, 16); in classifyArgumentType() 8375 if (TySize <= NumRegs * 8) { in classifyArgumentType() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 2175 for (unsigned TySize = 4; TySize > 0 && RealTySize > 0; TySize /=2) { in emitInterWarpCopyFunction() local 2176 unsigned NumIters = RealTySize / TySize; in emitInterWarpCopyFunction() 2180 C.toBits(CharUnits::fromQuantity(TySize)), /*Signed=*/1); in emitInterWarpCopyFunction() 2182 CharUnits Align = CharUnits::fromQuantity(TySize); in emitInterWarpCopyFunction() 2320 RealTySize %= TySize; in emitInterWarpCopyFunction()
|
| H A D | CGExpr.cpp | 736 uint64_t TySize = CGM.getMinimumObjectSize(Ty).getQuantity(); in EmitTypeCheck() local 737 llvm::Value *Size = llvm::ConstantInt::get(IntPtrTy, TySize); in EmitTypeCheck()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 668 uint64_t TySize = DL.getTypeAllocSize(Ty); in moveDynamicAllocasToUnsafeStack() local 669 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize)); in moveDynamicAllocasToUnsafeStack()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 7367 unsigned TySize = Ty.getSizeInBytes(); in findGISelOptimalMemOpLowering() local 7368 while (TySize > Size) { in findGISelOptimalMemOpLowering() 7389 TySize = Size; in findGISelOptimalMemOpLowering() 7392 TySize = NewTySize; in findGISelOptimalMemOpLowering() 7400 Size -= TySize; in findGISelOptimalMemOpLowering() 7518 unsigned TySize = Ty.getSizeInBytes(); in lowerMemset() local 7519 if (TySize > Size) { in lowerMemset() 7523 DstOff -= TySize - Size; in lowerMemset() 7552 Size -= TySize; in lowerMemset()
|
| H A D | IRTranslator.cpp | 2724 Register TySize = in translateAlloca() local 2726 MIRBuilder.buildMul(AllocSize, NumElts, TySize); in translateAlloca()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 2084 unsigned TySize = Ty->getScalarSizeInBits(); in visitPtrToInt() local 2086 if (TySize != PtrSize) { in visitPtrToInt()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 270 size_t Stride, size_t TySize); 2702 size_t Stride, size_t TySize) { in SelectBaseMVE_VMLLDAV() argument 2703 assert(TySize < Stride && "Invalid TySize"); in SelectBaseMVE_VMLLDAV() 2732 uint16_t Opcode = Opcodes[TySize]; in SelectBaseMVE_VMLLDAV()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 20597 const TypeSize &TySize = Ty->getPrimitiveSizeInBits(); in functionArgumentNeedsConsecutiveRegisters() local 20598 return TySize.isScalable() && TySize.getKnownMinSize() > 128; in functionArgumentNeedsConsecutiveRegisters()
|