| /freebsd-14.2/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; 120 unsigned R = TySize % (MinABIStackAlignInBytes * 8); in CoerceToIntArgs() 132 CoerceToIntArgs(TySize, ArgList); in HandleAggregates() 143 CoerceToIntArgs(TySize, ArgList); in HandleAggregates() 178 CoerceToIntArgs(TySize - LastOffset, IntArgList); in HandleAggregates() 197 uint64_t TySize = getContext().getTypeSize(Ty); in classifyArgumentType() local 203 Offset = CurrOffset + llvm::alignTo(TySize, Align * 8) / 8; in classifyArgumentType() 207 if (TySize == 0) in classifyArgumentType() 219 ABIArgInfo::getDirect(HandleAggregates(Ty, TySize), 0, in classifyArgumentType() [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 | 559 CharUnits TySize = getContext().getTypeSizeInChars(Ty); in EmitAAPCSVAArg() local 565 int RegSize = IsIndirect ? 8 : TySize.getQuantity(); in EmitAAPCSVAArg() 693 TySize < SlotSize) { in EmitAAPCSVAArg() 694 CharUnits Offset = SlotSize - TySize; in EmitAAPCSVAArg() 736 StackSize = TySize.alignTo(StackSlotSize); in EmitAAPCSVAArg() 746 TySize < StackSlotSize) { in EmitAAPCSVAArg() 747 CharUnits Offset = StackSlotSize - TySize; in EmitAAPCSVAArg()
|
| H A D | ARM.cpp | 773 CharUnits TySize = getContext().getTypeSizeInChars(Ty); in EmitVAArg() local 780 if (TySize > CharUnits::fromQuantity(16) && isIllegalVectorType(Ty)) { in EmitVAArg() 785 } else if (TySize > CharUnits::fromQuantity(16) && in EmitVAArg() 806 TypeInfoChars TyInfo(TySize, TyAlignForABI, AlignRequirementKind::None); in EmitVAArg()
|
| H A D | LoongArch.cpp | 439 int TySize = getContext().getTypeSize(Ty); in extendType() local 441 if (GRLen == 64 && Ty->isUnsignedIntegerOrEnumerationType() && TySize == 32) in extendType()
|
| H A D | RISCV.cpp | 513 int TySize = getContext().getTypeSize(Ty); in extendType() local 515 if (XLen == 64 && Ty->isUnsignedIntegerOrEnumerationType() && TySize == 32) in extendType()
|
| H A D | X86.cpp | 2292 unsigned TySize = (unsigned)Context.getTypeSize(Ty); in BitsContainNoUserData() local 2293 if (TySize <= StartBit) in BitsContainNoUserData() 3119 uint64_t TySize = TInfo.Width.getQuantity(); in EmitVAArg() local 3126 CGF.Builder.CreateMemCpy(Tmp, RegAddr, TySize, false); in EmitVAArg()
|
| /freebsd-14.2/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 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 …]
|
| /freebsd-14.2/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 | 4245 TypeSize TySize = DL.getTypeAllocSize(Ty); in visitAlloca() local 4254 if (TySize.isScalable()) in visitAlloca() 4258 TySize.getKnownMinValue()))); in visitAlloca() 4261 DAG.getConstant(TySize.getFixedValue(), dl, MVT::getIntegerVT(64)); in visitAlloca() 9058 uint64_t TySize = DL.getTypeAllocSize(Ty); in getAddressForMemoryInput() local 9061 TySize, DL.getPrefTypeAlign(Ty), false); in getAddressForMemoryInput() 10318 uint64_t TySize = DL.getTypeAllocSize(CLI.RetTy); in LowerCallTo() local 10322 MF.getFrameInfo().CreateStackObject(TySize, Alignment, false); in LowerCallTo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULateCodeGenPrepare.cpp | 126 unsigned TySize = DL->getTypeStoreSize(Ty); in canWidenScalarExtLoad() local 128 if (TySize >= 4) in canWidenScalarExtLoad()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 457 int TySize = DL.getTypeSizeInBits(Ty); in canWidenScalarExtLoad() local 460 return I.isSimple() && TySize < 32 && Alignment >= 4 && UA->isUniform(&I); in canWidenScalarExtLoad() 1657 int TySize = Mod->getDataLayout().getTypeSizeInBits(I.getType()); in visitLoadInst() local 1658 Type *IntNTy = Builder.getIntNTy(TySize); in visitLoadInst()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1343 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectEquivalenceClasses() local 1344 if ((TySize % 8) != 0) in collectEquivalenceClasses() 1358 unsigned VF = VecRegSize / TySize; in collectEquivalenceClasses() 1367 if (TySize > VecRegSize / 2 || in collectEquivalenceClasses() 1368 (VecTy && TTI.getLoadVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectEquivalenceClasses()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 433 TypeSize TySize = DL.getTypeStoreSize(Ty); in isSafeToLoadUnconditionally() local 434 if (TySize.isScalable()) in isSafeToLoadUnconditionally() 436 APInt Size(DL.getIndexTypeSizeInBits(V->getType()), TySize.getFixedValue()); in isSafeToLoadUnconditionally()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1785 for (unsigned TySize = 4; TySize > 0 && RealTySize > 0; TySize /=2) { in emitInterWarpCopyFunction() local 1786 unsigned NumIters = RealTySize / TySize; in emitInterWarpCopyFunction() 1790 C.toBits(CharUnits::fromQuantity(TySize)), /*Signed=*/1); in emitInterWarpCopyFunction() 1792 CharUnits Align = CharUnits::fromQuantity(TySize); in emitInterWarpCopyFunction() 1918 RealTySize %= TySize; in emitInterWarpCopyFunction()
|
| H A D | CGExpr.cpp | 733 uint64_t TySize = CGM.getMinimumObjectSize(Ty).getQuantity(); in EmitTypeCheck() local 734 llvm::Value *Size = llvm::ConstantInt::get(IntPtrTy, TySize); in EmitTypeCheck()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 8160 unsigned TySize = Ty.getSizeInBytes(); in findGISelOptimalMemOpLowering() local 8161 while (TySize > Size) { in findGISelOptimalMemOpLowering() 8182 TySize = Size; in findGISelOptimalMemOpLowering() 8185 TySize = NewTySize; in findGISelOptimalMemOpLowering() 8193 Size -= TySize; in findGISelOptimalMemOpLowering() 8311 unsigned TySize = Ty.getSizeInBytes(); in lowerMemset() local 8312 if (TySize > Size) { in lowerMemset() 8316 DstOff -= TySize - Size; in lowerMemset() 8345 Size -= TySize; in lowerMemset()
|
| H A D | IRTranslator.cpp | 2897 Register TySize = in translateAlloca() local 2899 MIRBuilder.buildMul(AllocSize, NumElts, TySize); in translateAlloca()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 1960 unsigned TySize = Ty->getScalarSizeInBits(); in visitPtrToInt() local 1962 if (TySize != PtrSize) { in visitPtrToInt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 274 size_t Stride, size_t TySize); 2708 size_t Stride, size_t TySize) { in SelectBaseMVE_VMLLDAV() argument 2709 assert(TySize < Stride && "Invalid TySize"); in SelectBaseMVE_VMLLDAV() 2735 uint16_t Opcode = Opcodes[TySize]; in SelectBaseMVE_VMLLDAV()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 25288 const TypeSize &TySize = Ty->getPrimitiveSizeInBits(); in functionArgumentNeedsConsecutiveRegisters() local 25289 return TySize.isScalable() && TySize.getKnownMinValue() > 128; in functionArgumentNeedsConsecutiveRegisters()
|