Searched refs:typeWidthInBytes (Results 1 – 21 of 21) sorted by relevance
79 size_t typeWidthInBytes(Type Ty);124 assert(result == (1 == typeWidthInBytes(Ty))); in isByteSizedType()
143 size_t typeWidthInBytes(Type Ty) { in typeWidthInBytes() function266 return typeWidthInBytes(Ty) * CHAR_BIT; in getScalarIntBitWidth()
1071 assert(typeWidthInBytes(DestTy) <= 4); in emitIAS()1711 assert(typeWidthInBytes(SrcTy) <= 4); in emitIAS()1729 assert(typeWidthInBytes(DestTy) <= 4); in emitIAS()1744 assert(typeWidthInBytes(DestTy) <= 4); in emitIAS()2387 typeWidthInBytes(SrcVar->getType()) == in emitIAS()2388 typeWidthInBytes(Dest->getType()))); in emitIAS()2401 typeWidthInBytes(SrcVar->getType()) == in emitIAS()2402 typeWidthInBytes(Dest->getType()))); in emitIAS()2502 assert(typeWidthInBytes(Dest->getType()) > 1); in emitIAS()2503 assert(typeWidthInBytes(Dest->getType()) > typeWidthInBytes(SrcTy)); in emitIAS()[all …]
98 Traits::Is64Bit ? 4 * typeWidthInBytes(Traits::WordType) : 0;1115 PreservedRegsSizeBytes += typeWidthInBytes(Traits::WordType);1128 PreservedRegsSizeBytes += typeWidthInBytes(Traits::WordType);1735 if (typeWidthInBytes(Src0->getType()) < typeWidthInBytes(T->getType())) {2422 uint32_t TypeWidth = Traits::X86_CHAR_BIT * typeWidthInBytes(Ty);2524 uint32_t TypeWidth = Traits::X86_CHAR_BIT * typeWidthInBytes(Ty);2696 assert(typeWidthInBytes(Ty) >= 4);2914 Traits::X86_CHAR_BIT * typeWidthInBytes(typeElementType(DestTy)) -2950 size_t DestBits = Traits::X86_CHAR_BIT * typeWidthInBytes(DestTy);2953 if (typeWidthInBytes(DestTy) <= typeWidthInBytes(Src0RM->getType())) {[all …]
377 typeWidthInBytes(Instr->getDest()->getType()), Func); in instrumentLoad()394 typeWidthInBytes(Instr->getData()->getType()), Func); in instrumentStore()
48 const SizeT RelocAddrSize = typeWidthInBytes(getPointerType()); in appendRelocationOffset()
951 assert(typeWidthInBytes(Ty) == 8); in Variable64On32()1011 assert(typeWidthInBytes(Ty) == in VariableVecOn32()1012 ContainersPerVector * typeWidthInBytes(IceType_i32)); in VariableVecOn32()
524 size_t EntSize = typeWidthInBytes(Ty); in writeConstantPool()584 const Elf64_Xword PointerSize = typeWidthInBytes(getPointerType()); in writeJumpTable()
97 size_t typeAlignInBytes = typeWidthInBytes(Ty); in applyStackAlignmentTy()100 typeAlignInBytes = typeWidthInBytes(IceType_i64); in applyStackAlignmentTy()1880 int32_t TypeWidth = typeWidthInBytes(DestTy); in legalizeMov()1882 TypeWidth += typeWidthInBytes(MovInstr->getDestHi()->getType()); in legalizeMov()1911 if (typeWidthInBytes(Dest->getType()) == 8) { in legalizeMov()2261 Offset->getValue() + (Index * typeWidthInBytes(BaseType)); in getOperandAtIndex()3634 : INT32_BITS - (CHAR_BITS * typeWidthInBytes(Src0Ty))); in lowerCast()3638 : (1 << (CHAR_BITS * typeWidthInBytes(Src0Ty))) - 1); in lowerCast()4587 const uint32_t Mask = (1 << (CHAR_BITS * typeWidthInBytes(DestTy))) - 1; in lowerIntrinsic()4672 const uint32_t Mask = (1 << (CHAR_BITS * typeWidthInBytes(Ty))) - 1; in lowerIntrinsic()[all …]
275 const RelocOffsetT ImmSize = -typeWidthInBytes(IceType_i32); in emitGetIP()
1132 (typeWidthInBytes(Dest->getType()) <= in InstX86BaseMovlike()1133 typeWidthInBytes(Source->getType()))); in InstX86BaseMovlike()1214 assert(typeWidthInBytes(Dest->getType()) > in create()1215 typeWidthInBytes(Src->getType())); in create()1229 assert(typeWidthInBytes(Dest->getType()) > in create()1230 typeWidthInBytes(Src->getType())); in create()1303 (typeWidthInBytes(Dest->getType()) <= in create()1304 typeWidthInBytes(Source->getType()))); in create()
150 const SizeT Int64ByteSize = typeWidthInBytes(IceType_i64); in createNodeNameDeclaration()159 const SizeT Int64ByteSize = typeWidthInBytes(IceType_i64); in createBlockProfilingInfoDeclaration()
481 const SizeT BitCount = typeWidthInBytes(DestTy) * CHAR_BIT; in Binop()507 const SizeT BitCount = typeWidthInBytes(DestTy) * CHAR_BIT; in Binop()
164 const uint32_t WordSizeInBytes = typeWidthInBytes(Traits::WordType); in typeWidthInBytesOnStack()165 return Utils::applyAlignment(typeWidthInBytes(Ty), WordSizeInBytes); in typeWidthInBytesOnStack()
68 return typeWidthInBytes(typeElementType(Ty)) * CHAR_BIT; in getVecElmtBitsize()1645 const uint32_t BitSize = typeWidthInBytes(DestTy) * CHAR_BIT; in emit()1719 const size_t BitSize = typeWidthInBytes(typeElementType(DestTy)) * CHAR_BIT; in emit()
98 return (typeWidthInBytes(Ty) + 3) & ~3; in typeWidthInBytesOnStack()
131 return (typeWidthInBytes(Ty) + 3) & ~3; in typeWidthInBytesOnStack()
213 size_t typeAlignInBytes = typeWidthInBytes(Ty); in applyStackAlignmentTy()3868 typeWidthInBytes(Dest->getType()) <= 4); in lowerCall()4220 assert(typeWidthInBytes(DestTy) == typeWidthInBytes(Src0->getType())); in lowerCast()
1902 return Ice::typeWidthInBytes(Ty) * CHAR_BIT; in bitcastSizeInBits()
1085 const uint32_t BitSize = typeWidthInBytes(OpRt->getType()) * CHAR_BIT; in emitInsertExtractInt()
99 int typeSize = Ice::typeWidthInBytes(type); in allocateStackVariable()455 return Ice::typeWidthInBytes(T(type)); in typeSize()1102 int typeSize = Ice::typeWidthInBytes(type); in allocateStackVariable()2102 ASSERT(Ice::typeWidthInBytes(T(type)) == vectorSize); in createConstantVector()