Searched refs:typeWidthInBytes (Results 1 – 23 of 23) sorted by relevance
79 size_t typeWidthInBytes(Type Ty);124 assert(result == (1 == typeWidthInBytes(Ty))); in isByteSizedType()
147 size_t typeWidthInBytes(Type Ty) { in typeWidthInBytes() function270 return typeWidthInBytes(Ty) * CHAR_BIT; in getScalarIntBitWidth()
1069 assert(typeWidthInBytes(DestTy) <= 4); in emitIAS()1700 assert(typeWidthInBytes(SrcTy) <= 4); in emitIAS()1718 assert(typeWidthInBytes(DestTy) <= 4); in emitIAS()1733 assert(typeWidthInBytes(DestTy) <= 4); in emitIAS()2364 typeWidthInBytes(SrcVar->getType()) == in emitIAS()2365 typeWidthInBytes(Dest->getType()))); in emitIAS()2378 typeWidthInBytes(SrcVar->getType()) == in emitIAS()2379 typeWidthInBytes(Dest->getType()))); in emitIAS()2479 assert(typeWidthInBytes(Dest->getType()) > 1); in emitIAS()2480 assert(typeWidthInBytes(Dest->getType()) > typeWidthInBytes(SrcTy)); in emitIAS()[all …]
1095 PreservedRegsSizeBytes += typeWidthInBytes(Traits::WordType);1104 PreservedRegsSizeBytes += typeWidthInBytes(Traits::WordType);1682 if (typeWidthInBytes(Src0->getType()) < typeWidthInBytes(T->getType())) {2365 uint32_t TypeWidth = Traits::X86_CHAR_BIT * typeWidthInBytes(Ty);2467 uint32_t TypeWidth = Traits::X86_CHAR_BIT * typeWidthInBytes(Ty);2634 assert(typeWidthInBytes(Ty) >= 4);2841 Traits::X86_CHAR_BIT * typeWidthInBytes(typeElementType(DestTy)) -2877 size_t DestBits = Traits::X86_CHAR_BIT * typeWidthInBytes(DestTy);2880 if (typeWidthInBytes(DestTy) <= typeWidthInBytes(Src0RM->getType())) {3301 unsigned Offset = Index * typeWidthInBytes(InVectorElementTy);[all …]
377 typeWidthInBytes(Instr->getDest()->getType()), Func); in instrumentLoad()393 typeWidthInBytes(Instr->getData()->getType()), Func); in instrumentStore()
974 assert(typeWidthInBytes(Ty) == 8); in Variable64On32()1034 assert(typeWidthInBytes(Ty) == in VariableVecOn32()1035 ContainersPerVector * typeWidthInBytes(IceType_i32)); in VariableVecOn32()
48 const SizeT RelocAddrSize = typeWidthInBytes(getPointerType()); in appendRelocationOffset()
525 size_t EntSize = typeWidthInBytes(Ty); in writeConstantPool()596 const Elf64_Xword PointerSize = typeWidthInBytes(getPointerType()); in writeJumpTable()
97 size_t typeAlignInBytes = typeWidthInBytes(Ty); in applyStackAlignmentTy()100 typeAlignInBytes = typeWidthInBytes(IceType_i64); in applyStackAlignmentTy()1895 int32_t TypeWidth = typeWidthInBytes(DestTy); in legalizeMov()1897 TypeWidth += typeWidthInBytes(MovInstr->getDestHi()->getType()); in legalizeMov()1926 if (typeWidthInBytes(Dest->getType()) == 8) { in legalizeMov()2276 Offset->getValue() + (Index * typeWidthInBytes(BaseType)); in getOperandAtIndex()3649 : INT32_BITS - (CHAR_BITS * typeWidthInBytes(Src0Ty))); in lowerCast()3653 : (1 << (CHAR_BITS * typeWidthInBytes(Src0Ty))) - 1); in lowerCast()4602 const uint32_t Mask = (1 << (CHAR_BITS * typeWidthInBytes(DestTy))) - 1; in lowerIntrinsicCall()4687 const uint32_t Mask = (1 << (CHAR_BITS * typeWidthInBytes(Ty))) - 1; in lowerIntrinsicCall()[all …]
270 const RelocOffsetT ImmSize = -typeWidthInBytes(IceType_i32); in emitGetIP()
539 ProfileBlockInfoVarDecl->setAlignment(typeWidthInBytes(IceType_i64)); in lowerProfileData()558 const SizeT Sizeof64BitNullPtr = typeWidthInBytes(IceType_i64); in lowerProfileData()
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()
159 const SizeT Int64ByteSize = typeWidthInBytes(IceType_i64); in createNodeNameDeclaration()168 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()
73 return typeWidthInBytes(typeElementType(Ty)) * CHAR_BIT; in getVecElmtBitsize()1650 const uint32_t BitSize = typeWidthInBytes(DestTy) * CHAR_BIT; in emit()1724 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()
214 size_t typeAlignInBytes = typeWidthInBytes(Ty); in applyStackAlignmentTy()3871 typeWidthInBytes(Dest->getType()) <= 4); in lowerCall()4223 assert(typeWidthInBytes(DestTy) == typeWidthInBytes(Src0->getType())); in lowerCast()
1902 return Ice::typeWidthInBytes(Ty) * CHAR_BIT; in bitcastSizeInBits()
1082 const uint32_t BitSize = typeWidthInBytes(OpRt->getType()) * CHAR_BIT; in emitInsertExtractInt()
667 return Ice::typeWidthInBytes(instStore->getData()->getType()); in storeSize()
198 return Ice::typeWidthInBytes(T(type)); in typeSize()628 int typeSize = Ice::typeWidthInBytes(type); in allocateStackVariable()1402 assert(Ice::typeWidthInBytes(T(type)) == vectorSize); in createConstantVector()