| /openbsd/src/gnu/llvm/llvm/lib/Target/Mips/ |
| 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 …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| D | LoadStoreVectorizer.cpp | 836 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local 837 if ((TySize % 8) != 0) in collectInstructions() 851 unsigned VF = VecRegSize / TySize; in collectInstructions() 855 if (TySize > VecRegSize / 2 || in collectInstructions() 856 (VecTy && TTI.getLoadVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectInstructions() 883 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local 884 if ((TySize % 8) != 0) in collectInstructions() 891 unsigned VF = VecRegSize / TySize; in collectInstructions() 895 if (TySize > VecRegSize / 2 || in collectInstructions() 896 (VecTy && TTI.getStoreVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectInstructions()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| D | FunctionLoweringInfo.cpp | 152 uint64_t TySize = in set() local 155 TySize *= CUI->getZExtValue(); // Get total allocated size. in set() 156 if (TySize == 0) TySize = 1; // Don't create zero-sized stack objects. in set() 161 TySize, 0, /*IsImmutable=*/false, /*isAliased=*/true); in set() 164 FrameIndex = MF->getFrameInfo().CreateStackObject(TySize, Alignment, in set()
|
| D | SelectionDAGBuilder.cpp | 4051 TypeSize TySize = DL.getTypeAllocSize(Ty); in visitAlloca() local 4060 if (TySize.isScalable()) in visitAlloca() 4064 TySize.getKnownMinValue()))); in visitAlloca() 4068 DAG.getConstant(TySize.getFixedValue(), dl, IntPtr)); in visitAlloca() 8650 uint64_t TySize = DL.getTypeAllocSize(Ty); in getAddressForMemoryInput() local 8653 TySize, DL.getPrefTypeAlign(Ty), false); in getAddressForMemoryInput() 9917 uint64_t TySize = DL.getTypeAllocSize(CLI.RetTy); in LowerCallTo() local 9921 MF.getFrameInfo().CreateStackObject(TySize, Alignment, false); in LowerCallTo()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | AMDGPULateCodeGenPrepare.cpp | 117 unsigned TySize = DL->getTypeStoreSize(Ty); in canWidenScalarExtLoad() local 119 if (TySize >= 4) in canWidenScalarExtLoad()
|
| 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() 1353 int TySize = Mod->getDataLayout().getTypeSizeInBits(I.getType()); in visitLoadInst() local 1354 Type *IntNTy = Builder.getIntNTy(TySize); in visitLoadInst()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | MemoryOpRemark.cpp | 344 std::optional<TypeSize> TySize = AI->getAllocationSize(DL); in visitVariable() local 346 TySize ? std::optional(TySize->getFixedValue()) : std::nullopt; in visitVariable()
|
| 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| 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()
|
| D | IVDescriptors.cpp | 1581 TypeSize TySize = DL.getTypeAllocSize(ElementType); in isInductionPHI() local 1585 if (TySize.isZero() || TySize.isScalable()) in isInductionPHI() 1588 int64_t Size = static_cast<int64_t>(TySize.getFixedValue()); in isInductionPHI()
|
| /openbsd/src/gnu/llvm/clang/lib/CodeGen/ |
| D | TargetInfo.cpp | 3355 unsigned TySize = (unsigned)Context.getTypeSize(Ty); in BitsContainNoUserData() local 3356 if (TySize <= StartBit) in BitsContainNoUserData() 4187 uint64_t TySize = TInfo.Width.getQuantity(); in EmitVAArg() local 4194 CGF.Builder.CreateMemCpy(Tmp, RegAddr, TySize, false); in EmitVAArg() 6040 CharUnits TySize = getContext().getTypeSizeInChars(Ty); in EmitAAPCSVAArg() local 6046 int RegSize = IsIndirect ? 8 : TySize.getQuantity(); in EmitAAPCSVAArg() 6174 TySize < SlotSize) { in EmitAAPCSVAArg() 6175 CharUnits Offset = SlotSize - TySize; in EmitAAPCSVAArg() 6217 StackSize = TySize.alignTo(StackSlotSize); in EmitAAPCSVAArg() 6227 TySize < StackSlotSize) { in EmitAAPCSVAArg() [all …]
|
| D | CGOpenMPRuntimeGPU.cpp | 1823 for (unsigned TySize = 4; TySize > 0 && RealTySize > 0; TySize /=2) { in emitInterWarpCopyFunction() local 1824 unsigned NumIters = RealTySize / TySize; in emitInterWarpCopyFunction() 1828 C.toBits(CharUnits::fromQuantity(TySize)), /*Signed=*/1); in emitInterWarpCopyFunction() 1830 CharUnits Align = CharUnits::fromQuantity(TySize); in emitInterWarpCopyFunction() 1968 RealTySize %= TySize; in emitInterWarpCopyFunction()
|
| D | CGExpr.cpp | 737 uint64_t TySize = CGM.getMinimumObjectSize(Ty).getQuantity(); in EmitTypeCheck() local 738 llvm::Value *Size = llvm::ConstantInt::get(IntPtrTy, TySize); in EmitTypeCheck()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | SafeStack.cpp | 669 uint64_t TySize = DL.getTypeAllocSize(Ty); in moveDynamicAllocasToUnsafeStack() local 670 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize)); in moveDynamicAllocasToUnsafeStack()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| D | LegalizerHelper.cpp | 7633 unsigned TySize = Ty.getSizeInBytes(); in findGISelOptimalMemOpLowering() local 7634 while (TySize > Size) { in findGISelOptimalMemOpLowering() 7655 TySize = Size; in findGISelOptimalMemOpLowering() 7658 TySize = NewTySize; in findGISelOptimalMemOpLowering() 7666 Size -= TySize; in findGISelOptimalMemOpLowering() 7784 unsigned TySize = Ty.getSizeInBytes(); in lowerMemset() local 7785 if (TySize > Size) { in lowerMemset() 7789 DstOff -= TySize - Size; in lowerMemset() 7818 Size -= TySize; in lowerMemset()
|
| D | IRTranslator.cpp | 2742 Register TySize = in translateAlloca() local 2744 MIRBuilder.buildMul(AllocSize, NumElts, TySize); in translateAlloca()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineCasts.cpp | 2083 unsigned TySize = Ty->getScalarSizeInBits(); in visitPtrToInt() local 2085 if (TySize != PtrSize) { in visitPtrToInt()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/ARM/ |
| D | ARMISelDAGToDAG.cpp | 274 size_t Stride, size_t TySize); 2710 size_t Stride, size_t TySize) { in SelectBaseMVE_VMLLDAV() argument 2711 assert(TySize < Stride && "Invalid TySize"); in SelectBaseMVE_VMLLDAV() 2740 uint16_t Opcode = Opcodes[TySize]; in SelectBaseMVE_VMLLDAV()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/ |
| D | AArch64ISelLowering.cpp | 22518 const TypeSize &TySize = Ty->getPrimitiveSizeInBits(); in functionArgumentNeedsConsecutiveRegisters() local 22519 return TySize.isScalable() && TySize.getKnownMinValue() > 128; in functionArgumentNeedsConsecutiveRegisters()
|