Home
last modified time | relevance | path

Searched refs:TySize (Results 1 – 17 of 17) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp123 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-12-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp846 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local
847 if ((TySize % 8) != 0) in collectInstructions()
861 unsigned VF = VecRegSize / TySize; in collectInstructions()
865 if (TySize > VecRegSize / 2 || in collectInstructions()
866 (VecTy && TTI.getLoadVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectInstructions()
900 unsigned TySize = DL.getTypeSizeInBits(Ty); in collectInstructions() local
901 if ((TySize % 8) != 0) in collectInstructions()
908 unsigned VF = VecRegSize / TySize; in collectInstructions()
912 if (TySize > VecRegSize / 2 || in collectInstructions()
913 (VecTy && TTI.getStoreVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) in collectInstructions()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp159 uint64_t TySize = in set() local
162 TySize *= CUI->getZExtValue(); // Get total allocated size. in set()
163 if (TySize == 0) TySize = 1; // Don't create zero-sized stack objects. in set()
168 TySize, 0, /*IsImmutable=*/false, /*isAliased=*/true); in set()
171 FrameIndex = MF->getFrameInfo().CreateStackObject(TySize, Alignment, in set()
DSelectionDAGBuilder.cpp3991 uint64_t TySize = DL.getTypeAllocSize(Ty); in visitAlloca() local
4002 DAG.getConstant(TySize, dl, IntPtr)); in visitAlloca()
8243 uint64_t TySize = DL.getTypeAllocSize(Ty); in getAddressForMemoryInput() local
8246 TySize, DL.getPrefTypeAlign(Ty), false); in getAddressForMemoryInput()
9448 uint64_t TySize = DL.getTypeAllocSize(CLI.RetTy); in LowerCallTo() local
9452 MF.getFrameInfo().CreateStackObject(TySize, Alignment, false); in LowerCallTo()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULateCodeGenPrepare.cpp119 unsigned TySize = DL->getTypeStoreSize(Ty); in canWidenScalarExtLoad() local
121 if (TySize >= 4) in canWidenScalarExtLoad()
DAMDGPUCodeGenPrepare.cpp309 int TySize = DL.getTypeSizeInBits(Ty); in canWidenScalarExtLoad() local
312 return I.isSimple() && TySize < 32 && Alignment >= 4 && DA->isUniform(&I); in canWidenScalarExtLoad()
1331 int TySize = Mod->getDataLayout().getTypeSizeInBits(I.getType()); in visitLoadInst() local
1332 Type *IntNTy = Builder.getIntNTy(TySize); in visitLoadInst()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DMemoryOpRemark.cpp342 Optional<TypeSize> TySize = AI->getAllocationSizeInBits(DL); in visitVariable() local
344 TySize ? getSizeInBytes(TySize->getFixedSize()) : None; in visitVariable()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp3298 unsigned TySize = (unsigned)Context.getTypeSize(Ty); in BitsContainNoUserData() local
3299 if (TySize <= StartBit) in BitsContainNoUserData()
4092 uint64_t TySize = TInfo.Width.getQuantity(); in EmitVAArg() local
4099 CGF.Builder.CreateMemCpy(Tmp, RegAddr, TySize, false); in EmitVAArg()
5924 CharUnits TySize = getContext().getTypeSizeInChars(Ty); in EmitAAPCSVAArg() local
5930 int RegSize = IsIndirect ? 8 : TySize.getQuantity(); in EmitAAPCSVAArg()
6058 TySize < SlotSize) { in EmitAAPCSVAArg()
6059 CharUnits Offset = SlotSize - TySize; in EmitAAPCSVAArg()
6101 StackSize = TySize.alignTo(StackSlotSize); in EmitAAPCSVAArg()
6111 TySize < StackSlotSize) { in EmitAAPCSVAArg()
[all …]
DCGOpenMPRuntimeGPU.cpp2131 for (unsigned TySize = 4; TySize > 0 && RealTySize > 0; TySize /=2) { in emitInterWarpCopyFunction() local
2132 unsigned NumIters = RealTySize / TySize; in emitInterWarpCopyFunction()
2136 C.toBits(CharUnits::fromQuantity(TySize)), /*Signed=*/1); in emitInterWarpCopyFunction()
2138 CharUnits Align = CharUnits::fromQuantity(TySize); in emitInterWarpCopyFunction()
2274 RealTySize %= TySize; in emitInterWarpCopyFunction()
DCGExpr.cpp737 uint64_t TySize = CGM.getMinimumObjectSize(Ty).getQuantity(); in EmitTypeCheck() local
738 llvm::Value *Size = llvm::ConstantInt::get(IntPtrTy, TySize); in EmitTypeCheck()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DSafeStack.cpp671 uint64_t TySize = DL.getTypeAllocSize(Ty); in moveDynamicAllocasToUnsafeStack() local
672 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize)); in moveDynamicAllocasToUnsafeStack()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp1132 unsigned TySize = Ty.getSizeInBytes(); in findGISelOptimalMemOpLowering() local
1133 while (TySize > Size) { in findGISelOptimalMemOpLowering()
1154 TySize = Size; in findGISelOptimalMemOpLowering()
1157 TySize = NewTySize; in findGISelOptimalMemOpLowering()
1165 Size -= TySize; in findGISelOptimalMemOpLowering()
1282 unsigned TySize = Ty.getSizeInBytes(); in optimizeMemset() local
1283 if (TySize > Size) { in optimizeMemset()
1287 DstOff -= TySize - Size; in optimizeMemset()
1317 Size -= TySize; in optimizeMemset()
DIRTranslator.cpp2637 Register TySize = in translateAlloca() local
2639 MIRBuilder.buildMul(AllocSize, NumElts, TySize); in translateAlloca()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1282 if (int64_t TySize = DL.getTypeAllocSize(Ty)) { in FindElementAtOffset() local
1283 FirstIdx = Offset/TySize; in FindElementAtOffset()
1284 Offset -= FirstIdx*TySize; in FindElementAtOffset()
1289 Offset += TySize; in FindElementAtOffset()
1292 assert((uint64_t)Offset < (uint64_t)TySize && "Out of range offset"); in FindElementAtOffset()
DInstCombineCasts.cpp2054 unsigned TySize = Ty->getScalarSizeInBits(); in visitPtrToInt() local
2056 if (TySize != PtrSize) { in visitPtrToInt()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp270 size_t Stride, size_t TySize);
2697 size_t Stride, size_t TySize) { in SelectBaseMVE_VMLLDAV() argument
2698 assert(TySize < Stride && "Invalid TySize"); in SelectBaseMVE_VMLLDAV()
2727 uint16_t Opcode = Opcodes[TySize]; in SelectBaseMVE_VMLLDAV()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp17553 const TypeSize &TySize = Ty->getPrimitiveSizeInBits(); in functionArgumentNeedsConsecutiveRegisters() local
17554 return TySize.isScalable() && TySize.getKnownMinSize() > 128; in functionArgumentNeedsConsecutiveRegisters()