/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | Mips.cpp | 24 void CoerceToIntArgs(uint64_t TySize, 26 llvm::Type* HandleAggregates(QualType Ty, uint64_t TySize) const; 111 uint64_t TySize, SmallVectorImpl<llvm::Type *> &ArgList) const { in CoerceToIntArgs() argument 116 for (unsigned N = TySize / (MinABIStackAlignInBytes * 8); N; --N) in CoerceToIntArgs() 120 unsigned R = TySize % (MinABIStackAlignInBytes * 8); in CoerceToIntArgs() 128 llvm::Type* MipsABIInfo::HandleAggregates(QualType Ty, uint64_t TySize) const { in HandleAggregates() 132 CoerceToIntArgs(TySize, ArgList); in HandleAggregates() 143 CoerceToIntArgs(TySize, ArgList); in HandleAggregates() 149 assert(!(TySize % 8) && "Size of structure must be multiple of 8."); in HandleAggregates() 178 CoerceToIntArgs(TySize - LastOffset, IntArgList); in HandleAggregates() [all …]
|
H A D | AVR.cpp | 59 unsigned TySize = getContext().getTypeSize(Ty); in classifyArgumentType() local 62 if (TySize == 8 && NumRegs >= 2) { in classifyArgumentType() 69 TySize = llvm::alignTo(TySize, 16); in classifyArgumentType() 73 if (TySize <= NumRegs * 8) { in classifyArgumentType() 74 NumRegs -= TySize / 8; in classifyArgumentType()
|
H A D | AArch64.cpp | 577 CharUnits TySize = getContext().getTypeSizeInChars(Ty); in EmitAAPCSVAArg() local 583 int RegSize = IsIndirect ? 8 : TySize.getQuantity(); in EmitAAPCSVAArg() 711 TySize < SlotSize) { in EmitAAPCSVAArg() 712 CharUnits Offset = SlotSize - TySize; in EmitAAPCSVAArg() 743 StackSize = TySize.alignTo(StackSlotSize); in EmitAAPCSVAArg() 753 TySize < StackSlotSize) { in EmitAAPCSVAArg() 754 CharUnits Offset = StackSlotSize - TySize; in EmitAAPCSVAArg()
|
H A D | ARM.cpp | 768 CharUnits TySize = getContext().getTypeSizeInChars(Ty); in EmitVAArg() local 775 if (TySize > CharUnits::fromQuantity(16) && isIllegalVectorType(Ty)) { in EmitVAArg() 780 } else if (TySize > CharUnits::fromQuantity(16) && in EmitVAArg() 801 TypeInfoChars TyInfo(TySize, TyAlignForABI, AlignRequirementKind::None); in EmitVAArg()
|
H A D | LoongArch.cpp | 438 int TySize = getContext().getTypeSize(Ty); in extendType() local 440 if (GRLen == 64 && Ty->isUnsignedIntegerOrEnumerationType() && TySize == 32) in extendType()
|
H A D | RISCV.cpp | 518 int TySize = getContext().getTypeSize(Ty); in extendType() local 520 if (XLen == 64 && Ty->isUnsignedIntegerOrEnumerationType() && TySize == 32) in extendType()
|
H A D | X86.cpp | 2310 unsigned TySize = (unsigned)Context.getTypeSize(Ty); in BitsContainNoUserData() local 2311 if (TySize <= StartBit) in BitsContainNoUserData() 3142 uint64_t TySize = TInfo.Width.getQuantity(); in EmitVAArg() local 3149 CGF.Builder.CreateMemCpy(Tmp, RegAddr, TySize, false); in EmitVAArg()
|
/freebsd/contrib/llvm-project/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 193 assert(((Ty.isScalar() && TySize == 32) || in selectLoadStoreOpCode() 194 (Ty.isPointer() && TySize == 32 && MemSizeInBytes == 4)) && in selectLoadStoreOpCode() 196 (void)TySize; in selectLoadStoreOpCode() 224 assert(((TySize == 32 && MemSizeInBytes == 4) || in selectLoadStoreOpCode() 225 (TySize == 64 && MemSizeInBytes == 8)) && in selectLoadStoreOpCode() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 146 uint64_t TySize = in set() local 149 TySize *= CUI->getZExtValue(); // Get total allocated size. in set() 150 if (TySize == 0) TySize = 1; // Don't create zero-sized stack objects. in set() 155 TySize, 0, /*IsImmutable=*/false, /*isAliased=*/true); in set() 158 FrameIndex = MF->getFrameInfo().CreateStackObject(TySize, Alignment, in set()
|
H A D | SelectionDAGBuilder.cpp | 4438 TypeSize TySize = DL.getTypeAllocSize(Ty); in visitAlloca() local 4447 if (TySize.isScalable()) in visitAlloca() 4451 TySize.getKnownMinValue()))); in visitAlloca() 4454 DAG.getConstant(TySize.getFixedValue(), dl, MVT::getIntegerVT(64)); in visitAlloca() 9571 TypeSize TySize = DL.getTypeAllocSize(Ty); in getAddressForMemoryInput() local 9575 if (TySize.isScalable()) in getAddressForMemoryInput() 9577 int SSFI = MF.getFrameInfo().CreateStackObject(TySize.getKnownMinValue(), in getAddressForMemoryInput() 10838 uint64_t TySize = DL.getTypeAllocSize(CLI.RetTy); in LowerCallTo() local 10842 MF.getFrameInfo().CreateStackObject(TySize, Alignment, false); in LowerCallTo()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | MemoryOpRemark.cpp | 347 std::optional<TypeSize> TySize = AI->getAllocationSize(DL); in visitVariable() local 349 TySize ? std::optional(TySize->getFixedValue()) : std::nullopt; 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 1342 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectEquivalenceClasses() local 1343 if ((TySize % 8) != 0) in collectEquivalenceClasses() 1357 unsigned VF = VecRegSize / TySize; in collectEquivalenceClasses() 1366 if (TySize > VecRegSize / 2 || in collectEquivalenceClasses() 1367 (VecTy && TTI.getLoadVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectEquivalenceClasses()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Loads.cpp | 442 TypeSize TySize = DL.getTypeStoreSize(Ty); in isSafeToLoadUnconditionally() local 443 if (TySize.isScalable()) in isSafeToLoadUnconditionally() 445 APInt Size(DL.getIndexTypeSizeInBits(V->getType()), TySize.getFixedValue()); in isSafeToLoadUnconditionally()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 445 unsigned TySize = DL->getTypeStoreSize(Ty); in canWidenScalarExtLoad() local 447 if (TySize >= 4) in canWidenScalarExtLoad()
|
H A D | AMDGPUCodeGenPrepare.cpp | 459 int TySize = DL.getTypeSizeInBits(Ty); in canWidenScalarExtLoad() local 462 return I.isSimple() && TySize < 32 && Alignment >= 4 && UA->isUniform(&I); in canWidenScalarExtLoad() 1665 int TySize = Mod->getDataLayout().getTypeSizeInBits(I.getType()); in visitLoadInst() local 1666 Type *IntNTy = Builder.getIntNTy(TySize); in visitLoadInst()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 8690 unsigned TySize = Ty.getSizeInBytes(); in findGISelOptimalMemOpLowering() local 8691 while (TySize > Size) { in findGISelOptimalMemOpLowering() 8712 TySize = Size; in findGISelOptimalMemOpLowering() 8715 TySize = NewTySize; in findGISelOptimalMemOpLowering() 8723 Size -= TySize; in findGISelOptimalMemOpLowering() 8834 unsigned TySize = Ty.getSizeInBytes(); in lowerMemset() local 8835 if (TySize > Size) { in lowerMemset() 8839 DstOff -= TySize - Size; in lowerMemset() 8868 Size -= TySize; in lowerMemset()
|
H A D | IRTranslator.cpp | 3062 Register TySize = in translateAlloca() local 3064 MIRBuilder.buildMul(AllocSize, NumElts, TySize); in translateAlloca()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 2036 unsigned TySize = Ty->getScalarSizeInBits(); in visitPtrToInt() local 2038 if (TySize != PtrSize) { in visitPtrToInt()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 2567 for (unsigned TySize = 4; TySize > 0 && RealTySize > 0; TySize /= 2) { in emitInterWarpCopyFunction() local 2568 Type *CType = Builder.getIntNTy(TySize * 8); in emitInterWarpCopyFunction() 2570 unsigned NumIters = RealTySize / TySize; in emitInterWarpCopyFunction() 2702 RealTySize %= TySize; in emitInterWarpCopyFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelDAGToDAG.cpp | 272 size_t Stride, size_t TySize); 2714 size_t Stride, size_t TySize) { in SelectBaseMVE_VMLLDAV() argument 2715 assert(TySize < Stride && "Invalid TySize"); in SelectBaseMVE_VMLLDAV() 2741 uint16_t Opcode = Opcodes[TySize]; in SelectBaseMVE_VMLLDAV()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 744 uint64_t TySize = CGM.getMinimumObjectSize(Ty).getQuantity(); in EmitTypeCheck() local 745 llvm::Value *Size = llvm::ConstantInt::get(IntPtrTy, TySize); in EmitTypeCheck()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 26734 const TypeSize &TySize = Ty->getPrimitiveSizeInBits(); in functionArgumentNeedsConsecutiveRegisters() local 26735 return TySize.isScalable() && TySize.getKnownMinValue() > 128; in functionArgumentNeedsConsecutiveRegisters()
|