Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTypes.h79 size_t typeWidthInBytes(Type Ty);
124 assert(result == (1 == typeWidthInBytes(Ty))); in isByteSizedType()
DIceTypes.cpp143 size_t typeWidthInBytes(Type Ty) { in typeWidthInBytes() function
266 return typeWidthInBytes(Ty) * CHAR_BIT; in getScalarIntBitWidth()
DIceInstX8632.cpp974 assert(typeWidthInBytes(DestTy) <= 4); in emitIAS()
1557 assert(typeWidthInBytes(SrcTy) <= 4); in emitIAS()
1569 assert(typeWidthInBytes(DestTy) <= 4); in emitIAS()
1580 assert(typeWidthInBytes(DestTy) <= 4); in emitIAS()
2195 typeWidthInBytes(SrcVar->getType()) == in emitIAS()
2196 typeWidthInBytes(Dest->getType()))); in emitIAS()
2209 typeWidthInBytes(SrcVar->getType()) == in emitIAS()
2210 typeWidthInBytes(Dest->getType()))); in emitIAS()
2303 assert(typeWidthInBytes(Dest->getType()) > 1); in emitIAS()
2304 assert(typeWidthInBytes(Dest->getType()) > typeWidthInBytes(SrcTy)); in emitIAS()
[all …]
DIceTargetLoweringX8664.cpp90 static const SizeT ShadowStoreSize = 4 * typeWidthInBytes(WordType); in getShadowStoreSize()
940 PreservedRegsSizeBytes += typeWidthInBytes(WordType); in addProlog()
953 PreservedRegsSizeBytes += typeWidthInBytes(WordType); in addProlog()
1415 if (typeWidthInBytes(Src0->getType()) < typeWidthInBytes(T->getType())) { in optimizeScalarMul()
1975 uint32_t TypeWidth = X86_CHAR_BIT * typeWidthInBytes(Ty); in lowerArithmetic()
2077 uint32_t TypeWidth = X86_CHAR_BIT * typeWidthInBytes(Ty); in lowerArithmetic()
2244 assert(typeWidthInBytes(Ty) >= 4); in lowerCall()
2410 X86_CHAR_BIT * typeWidthInBytes(typeElementType(DestTy)) - 1; in lowerCast()
2423 size_t DestBits = X86_CHAR_BIT * typeWidthInBytes(DestTy); in lowerCast()
2426 if (typeWidthInBytes(DestTy) <= typeWidthInBytes(Src0RM->getType())) { in lowerCast()
[all …]
DIceTargetLoweringX8632.cpp928 PreservedRegsSizeBytes += typeWidthInBytes(WordType); in addProlog()
941 PreservedRegsSizeBytes += typeWidthInBytes(WordType); in addProlog()
1492 if (typeWidthInBytes(Src0->getType()) < typeWidthInBytes(T->getType())) { in optimizeScalarMul()
2171 uint32_t TypeWidth = X86_CHAR_BIT * typeWidthInBytes(Ty); in lowerArithmetic()
2265 uint32_t TypeWidth = X86_CHAR_BIT * typeWidthInBytes(Ty); in lowerArithmetic()
2432 assert(typeWidthInBytes(Ty) >= 4); in lowerCall()
2626 X86_CHAR_BIT * typeWidthInBytes(typeElementType(DestTy)) - 1; in lowerCast()
2661 size_t DestBits = X86_CHAR_BIT * typeWidthInBytes(DestTy); in lowerCast()
2664 if (typeWidthInBytes(DestTy) <= typeWidthInBytes(Src0RM->getType())) { in lowerCast()
3049 unsigned Offset = Index * typeWidthInBytes(InVectorElementTy); in lowerExtractElement()
[all …]
DIceInstX8664.cpp2211 typeWidthInBytes(SrcVar->getType()) == in emitIAS()
2212 typeWidthInBytes(Dest->getType()))); in emitIAS()
2225 typeWidthInBytes(SrcVar->getType()) == in emitIAS()
2226 typeWidthInBytes(Dest->getType()))); in emitIAS()
2319 assert(typeWidthInBytes(Dest->getType()) > 1); in emitIAS()
2320 assert(typeWidthInBytes(Dest->getType()) > typeWidthInBytes(SrcTy)); in emitIAS()
2379 assert(typeWidthInBytes(Dest->getType()) > 1); in emitIAS()
2380 assert(typeWidthInBytes(Dest->getType()) > typeWidthInBytes(SrcTy)); in emitIAS()
DIceASanInstrumentation.cpp377 typeWidthInBytes(Instr->getDest()->getType()), Func); in instrumentLoad()
394 typeWidthInBytes(Instr->getData()->getType()), Func); in instrumentStore()
DIceOperand.h952 assert(typeWidthInBytes(Ty) == 8); in Variable64On32()
1012 assert(typeWidthInBytes(Ty) == in VariableVecOn32()
1013 ContainersPerVector * typeWidthInBytes(IceType_i32)); in VariableVecOn32()
DIceELFSection.cpp48 const SizeT RelocAddrSize = typeWidthInBytes(getPointerType()); in appendRelocationOffset()
DIceELFObjectWriter.cpp518 size_t EntSize = typeWidthInBytes(Ty); in writeConstantPool()
578 const Elf64_Xword PointerSize = typeWidthInBytes(getPointerType()); in writeJumpTable()
DIceTargetLoweringMIPS32.cpp97 size_t typeAlignInBytes = typeWidthInBytes(Ty); in applyStackAlignmentTy()
100 typeAlignInBytes = typeWidthInBytes(IceType_i64); in applyStackAlignmentTy()
1855 int32_t TypeWidth = typeWidthInBytes(DestTy); in legalizeMov()
1857 TypeWidth += typeWidthInBytes(MovInstr->getDestHi()->getType()); in legalizeMov()
1886 if (typeWidthInBytes(Dest->getType()) == 8) { in legalizeMov()
2236 Offset->getValue() + (Index * typeWidthInBytes(BaseType)); in getOperandAtIndex()
3600 : INT32_BITS - (CHAR_BITS * typeWidthInBytes(Src0Ty))); in lowerCast()
3604 : (1 << (CHAR_BITS * typeWidthInBytes(Src0Ty))) - 1); in lowerCast()
4553 const uint32_t Mask = (1 << (CHAR_BITS * typeWidthInBytes(DestTy))) - 1; in lowerIntrinsic()
4638 const uint32_t Mask = (1 << (CHAR_BITS * typeWidthInBytes(Ty))) - 1; in lowerIntrinsic()
[all …]
DIceInstX8632.h1168 (typeWidthInBytes(Dest->getType()) <= in InstX86BaseMovlike()
1169 typeWidthInBytes(Source->getType()))); in InstX86BaseMovlike()
1253 assert(typeWidthInBytes(Dest->getType()) > in create()
1254 typeWidthInBytes(Src->getType())); in create()
1268 assert(typeWidthInBytes(Dest->getType()) > in create()
1269 typeWidthInBytes(Src->getType())); in create()
1340 (typeWidthInBytes(Dest->getType()) <= in create()
1341 typeWidthInBytes(Source->getType()))); in create()
DIceInstX8664.h1107 (typeWidthInBytes(Dest->getType()) <= in InstX86BaseMovlike()
1108 typeWidthInBytes(Source->getType()))); in InstX86BaseMovlike()
1192 assert(typeWidthInBytes(Dest->getType()) > in create()
1193 typeWidthInBytes(Src->getType())); in create()
1207 assert(typeWidthInBytes(Dest->getType()) > in create()
1208 typeWidthInBytes(Src->getType())); in create()
1281 (typeWidthInBytes(Dest->getType()) <= in create()
1282 typeWidthInBytes(Source->getType()))); in create()
DIceTargetLoweringX8664.h204 const uint32_t WordSizeInBytes = typeWidthInBytes(WordType); in typeWidthInBytesOnStack()
205 return Utils::applyAlignment(typeWidthInBytes(Ty), WordSizeInBytes); in typeWidthInBytesOnStack()
DIceTargetLoweringX8632.h203 const uint32_t WordSizeInBytes = typeWidthInBytes(WordType); in typeWidthInBytesOnStack()
204 return Utils::applyAlignment(typeWidthInBytes(Ty), WordSizeInBytes); in typeWidthInBytesOnStack()
DIceCfg.cpp150 const SizeT Int64ByteSize = typeWidthInBytes(IceType_i64); in createNodeNameDeclaration()
159 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()
DIceInstARM32.cpp68 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()
DIceTargetLoweringMIPS32.h98 return (typeWidthInBytes(Ty) + 3) & ~3; in typeWidthInBytesOnStack()
DIceTargetLoweringARM32.h130 return (typeWidthInBytes(Ty) + 3) & ~3; in typeWidthInBytesOnStack()
DIceTargetLoweringARM32.cpp205 size_t typeAlignInBytes = typeWidthInBytes(Ty); in applyStackAlignmentTy()
3683 typeWidthInBytes(Dest->getType()) <= 4); in lowerCall()
4035 assert(typeWidthInBytes(DestTy) == typeWidthInBytes(Src0->getType())); in lowerCast()
DPNaClTranslator.cpp1902 return Ice::typeWidthInBytes(Ty) * CHAR_BIT; in bitcastSizeInBits()
DIceAssemblerARM32.cpp1083 const uint32_t BitSize = typeWidthInBytes(OpRt->getType()) * CHAR_BIT; in emitInsertExtractInt()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DSubzeroReactor.cpp99 int typeSize = Ice::typeWidthInBytes(type); in allocateStackVariable()
455 return Ice::typeWidthInBytes(T(type)); in typeSize()
1101 int typeSize = Ice::typeWidthInBytes(type); in allocateStackVariable()
2101 ASSERT(Ice::typeWidthInBytes(T(type)) == vectorSize); in createConstantVector()