Home
last modified time | relevance | path

Searched refs:typeWidthInBytes (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceTypes.h79 size_t typeWidthInBytes(Type Ty);
124 assert(result == (1 == typeWidthInBytes(Ty))); in isByteSizedType()
DIceTypes.cpp147 size_t typeWidthInBytes(Type Ty) { in typeWidthInBytes() function
270 return typeWidthInBytes(Ty) * CHAR_BIT; in getScalarIntBitWidth()
DIceInstX86BaseImpl.h1069 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 …]
DIceTargetLoweringX86BaseImpl.h1095 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 …]
DIceASanInstrumentation.cpp377 typeWidthInBytes(Instr->getDest()->getType()), Func); in instrumentLoad()
393 typeWidthInBytes(Instr->getData()->getType()), Func); in instrumentStore()
DIceELFSection.cpp48 const SizeT RelocAddrSize = typeWidthInBytes(getPointerType()); in appendRelocationOffset()
DIceOperand.h959 assert(typeWidthInBytes(Ty) == 8); in Variable64On32()
1019 assert(typeWidthInBytes(Ty) == in VariableVecOn32()
1020 ContainersPerVector * typeWidthInBytes(IceType_i32)); in VariableVecOn32()
DIceELFObjectWriter.cpp525 size_t EntSize = typeWidthInBytes(Ty); in writeConstantPool()
596 const Elf64_Xword PointerSize = typeWidthInBytes(getPointerType()); in writeJumpTable()
DIceTargetLoweringMIPS32.cpp97 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 …]
DIceGlobalContext.cpp531 ProfileBlockInfoVarDecl->setAlignment(typeWidthInBytes(IceType_i64)); in lowerProfileData()
550 const SizeT Sizeof64BitNullPtr = typeWidthInBytes(IceType_i64); in lowerProfileData()
DIceTargetLoweringX8632.cpp270 const RelocOffsetT ImmSize = -typeWidthInBytes(IceType_i32); in emitGetIP()
DIceInstX86Base.h1132 (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()
DIceCfg.cpp159 const SizeT Int64ByteSize = typeWidthInBytes(IceType_i64); in createNodeNameDeclaration()
168 const SizeT Int64ByteSize = typeWidthInBytes(IceType_i64); in createBlockProfilingInfoDeclaration()
DWasmTranslator.cpp481 const SizeT BitCount = typeWidthInBytes(DestTy) * CHAR_BIT; in Binop()
507 const SizeT BitCount = typeWidthInBytes(DestTy) * CHAR_BIT; in Binop()
DIceTargetLoweringX86Base.h164 const uint32_t WordSizeInBytes = typeWidthInBytes(Traits::WordType); in typeWidthInBytesOnStack()
165 return Utils::applyAlignment(typeWidthInBytes(Ty), WordSizeInBytes); in typeWidthInBytesOnStack()
DIceInstARM32.cpp73 return typeWidthInBytes(typeElementType(Ty)) * CHAR_BIT; in getVecElmtBitsize()
1422 const uint32_t BitSize = typeWidthInBytes(DestTy) * CHAR_BIT; in emit()
1496 const size_t BitSize = typeWidthInBytes(typeElementType(DestTy)) * CHAR_BIT; in emit()
DIceTargetLoweringMIPS32.h98 return (typeWidthInBytes(Ty) + 3) & ~3; in typeWidthInBytesOnStack()
DIceTargetLoweringARM32.h131 return (typeWidthInBytes(Ty) + 3) & ~3; in typeWidthInBytesOnStack()
DIceTargetLoweringARM32.cpp214 size_t typeAlignInBytes = typeWidthInBytes(Ty); in applyStackAlignmentTy()
3854 typeWidthInBytes(Dest->getType()) <= 4); in lowerCall()
4206 assert(typeWidthInBytes(DestTy) == typeWidthInBytes(Src0->getType())); in lowerCast()
DPNaClTranslator.cpp1902 return Ice::typeWidthInBytes(Ty) * CHAR_BIT; in bitcastSizeInBits()
DIceAssemblerARM32.cpp1063 const uint32_t BitSize = typeWidthInBytes(OpRt->getType()) * CHAR_BIT; in emitInsertExtractInt()
/external/swiftshader/src/Reactor/
DOptimizer.cpp589 return Ice::typeWidthInBytes(instStore->getData()->getType()); in storeSize()
DSubzeroReactor.cpp190 return Ice::typeWidthInBytes(T(type)); in typeSize()
620 int typeSize = Ice::typeWidthInBytes(type); in allocateStackVariable()
1383 assert(Ice::typeWidthInBytes(T(type)) == vectorSize); in createConstantVector()