Home
last modified time | relevance | path

Searched refs:SizeT (Results 1 – 25 of 122) sorted by relevance

12345

/external/swiftshader/third_party/subzero/src/
DIceLiveness.h47 SizeT NumLocals = 0;
52 SizeT NumNonDeadPhis = 0;
72 Variable *getVariable(SizeT LiveIndex, const CfgNode *Node) const;
73 SizeT getLiveIndex(SizeT VarIndex) const { in getLiveIndex()
74 const SizeT LiveIndex = VarToLiveMap[VarIndex]; in getLiveIndex()
78 SizeT getNumGlobalVars() const { return NumGlobals; } in getNumGlobalVars()
79 SizeT getNumVarsInNode(const CfgNode *Node) const { in getNumVarsInNode()
82 SizeT &getNumNonDeadPhis(const CfgNode *Node) { in getNumNonDeadPhis()
86 SizeT Index = Node->getIndex(); in getLiveIn()
91 SizeT Index = Node->getIndex(); in getLiveOut()
[all …]
DIceCfgNode.h31 static CfgNode *create(Cfg *Func, SizeT Number) { in create()
38 SizeT getIndex() const { return Number; } in getIndex()
39 void resetIndex(SizeT NewNumber) { Number = NewNumber; } in resetIndex()
55 void setLoopNestDepth(SizeT NewDepth) { LoopNestDepth = NewDepth; } in setLoopNestDepth()
56 SizeT getLoopNestDepth() const { return LoopNestDepth; } in getLoopNestDepth()
96 CfgNode *splitIncomingEdge(CfgNode *Pred, SizeT InEdgeIndex);
134 CfgNode(Cfg *Func, SizeT Number) in CfgNode()
139 SizeT Number; /// invariant: Func->Nodes[Number]==this
140 const SizeT NumberOrig; /// used for name auto-generation
142 SizeT LoopNestDepth = 0; /// the loop nest depth of this node
DIceLiveness.cpp41 SizeT NumVars = Func->getVariables().size(); in initInternal()
42 SizeT NumNodes = Func->getNumNodes(); in initInternal()
48 SizeT TmpNumGlobals = 0; in initInternal()
54 SizeT Index = VMetadata->getLocalUseNode(Var)->getIndex(); in initInternal()
83 SizeT VarIndex = Var->getIndex(); in initInternal()
84 SizeT LiveIndex = InvalidLiveIndex; in initInternal()
89 SizeT NodeIndex = VMetadata->getLocalUseNode(Var)->getIndex(); in initInternal()
103 SizeT VarIndex = Var->getIndex(); in initInternal()
135 Variable *Liveness::getVariable(SizeT LiveIndex, const CfgNode *Node) const { in getVariable()
138 SizeT NodeIndex = Node->getIndex(); in getVariable()
DIceASanInstrumentation.cpp34 constexpr SizeT BytesPerWord = sizeof(uint32_t);
35 constexpr SizeT RzSize = 32;
36 constexpr SizeT ShadowScaleLog2 = 3;
37 constexpr SizeT ShadowScale = 1 << ShadowScaleLog2;
38 constexpr SizeT ShadowLength32 = 1 << (32 - ShadowScaleLog2);
59 llvm::NaClBitcodeRecord::RecordVector sizeToByteVec(SizeT Size) { in sizeToByteVec()
111 SizeT Alignment = std::max(RzSize, Global->getAlignment()); in instrumentGlobals()
112 SizeT RzLeftSize = Alignment; in instrumentGlobals()
113 SizeT RzRightSize = in instrumentGlobals()
224 using Entry = std::pair<SizeT, int32_t>; in instrumentFuncStart()
[all …]
DIceInst.h106 SizeT getSrcSize() const { return Srcs.size(); } in getSrcSize()
107 Operand *getSrc(SizeT I) const { in getSrc()
111 void replaceSource(SizeT Index, Operand *Replacement) { in replaceSource()
206 Inst(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest);
211 void setLastUse(SizeT VarIndex) { in setLastUse()
248 const SizeT MaxSrcs; // only used for assert
270 InstHighLevel(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest) in InstHighLevel()
427 static InstCall *create(Cfg *Func, SizeT NumArgs, Variable *Dest,
441 Operand *getArg(SizeT I) const { return getSrc(I + 1); } in getArg()
442 SizeT getNumArgs() const { return getSrcSize() - 1; } in getNumArgs()
[all …]
DIceOperand.cpp50 for (SizeT i = 0; i < A.OffsetExpr.size() && BothHaveKnownOffsets; ++i) { in operator ==()
56 for (SizeT i = 0; i < B.OffsetExpr.size() && BothHaveKnownOffsets; ++i) { in operator ==()
76 for (SizeT i = 0; i < A.OffsetExpr.size(); ++i) { in operator ==()
207 static constexpr SizeT One = 1; in asType()
233 constexpr SizeT MaxShift = sizeof(uint32_t) * CHAR_BIT - 1; in markUse()
234 constexpr SizeT MaxLoopNestDepth = MaxShift / LogLoopTripCountEstimate; in markUse()
399 SizeT DestNum = Dest->getIndex(); in addNode()
403 for (SizeT SrcNum = 0; SrcNum < I.getSrcSize(); ++SrcNum) { in addNode()
405 SizeT VarNum = Var->getIndex(); in addNode()
419 SizeT DestNum = Dest->getIndex(); in addNode()
[all …]
DIceBitVector.h40 static constexpr SizeT BitIndexSize = 6; // log2(NumBitsPerPos);
41 static constexpr SizeT NumBitsPerPos = sizeof(ElementType) * CHAR_BIT;
56 explicit SmallBitVector(SizeT S) : SmallBitVector() { in SmallBitVector()
79 Reference(ElementType *D, SizeT B) : Data(D), Bit(B) { in Reference()
84 const SizeT Bit;
104 for (SizeT i = 0; i < BitsElements; ++i) { in any()
112 SizeT size() const { return Size; } in size()
114 void resize(SizeT Size) { in resize()
119 void reserve(SizeT Size) { in reserve()
127 for (SizeT ii = 0; ii < size(); ++ii) { in set()
[all …]
DIceInst.cpp79 Inst::Inst(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest) in Inst()
180 SizeT Index = 0; in spliceLivenessInfo()
181 for (SizeT I = 0; I < OrigInst->getSrcSize(); ++I) { in spliceLivenessInfo()
206 SizeT Index = Var->getIndex(); in livenessLightweight()
221 SizeT VarNum = Liveness->getLiveIndex(Dest->getIndex()); in liveness()
243 SizeT VarNum = Liveness->getLiveIndex(Var->getIndex()); in liveness()
397 InstPhi::InstPhi(Cfg *Func, SizeT MaxSrcs, Variable *Dest) in InstPhi()
415 for (SizeT I = 0; I < getSrcSize(); ++I) { in getOperandForTarget()
426 for (SizeT I = 0; I < getSrcSize(); ++I) { in clearOperandForTarget()
443 for (SizeT I = 0; I < getSrcSize(); ++I) { in livenessPhiOperand()
[all …]
DIceGlobalInits.h238 virtual SizeT getNumBytes() const = 0;
270 SizeT getNumBytes() const final { return ContentsSize; } in getNumBytes()
286 for (SizeT I = 0; I < Values.size(); ++I) in DataInitializer()
299 const SizeT ContentsSize;
311 static ZeroInitializer *create(VariableDeclarationList *VDL, SizeT Size) { in create()
315 SizeT getNumBytes() const final { return Size; } in getNumBytes()
322 explicit ZeroInitializer(SizeT Size) in ZeroInitializer()
326 SizeT Size;
356 for (SizeT i = 0; i < OffsetExprSize; ++i) { in getOffset()
369 SizeT getNumBytes() const final { return RelocAddrSize; } in getNumBytes()
[all …]
DIceCfg.cpp86 SizeT NodeCount = 0; in getFunctionNameAndSize()
87 SizeT InstCount = 0; in getFunctionNameAndSize()
107 SizeT LabelIndex = Nodes.size(); in makeNode()
116 for (SizeT I = 0, NumNodes = getNumNodes(); I < NumNodes; ++I) in swapNodes()
121 SizeT Index = Variables.size(); in makeVariable()
159 const SizeT Int64ByteSize = typeWidthInBytes(IceType_i64); in createNodeNameDeclaration()
168 const SizeT Int64ByteSize = typeWidthInBytes(IceType_i64); in createBlockProfilingInfoDeclaration()
204 constexpr SizeT NumArgs = 0; in addCallToProfileSummary()
285 for (SizeT i = 0; i < InEdges.size(); ++i) { in fixPhiNodes()
299 SizeT NumNodes = getNumNodes(); in computeInOutEdges()
[all …]
DIceASanInstrumentation.h28 using VarSizeMap = std::unordered_map<Operand *, SizeT>;
29 using GlobalSizeMap = std::unordered_map<GlobalString, SizeT>;
47 bool isOkGlobalAccess(Operand *Op, SizeT Size);
55 void instrumentAccess(LoweringContext &Context, Operand *Op, SizeT Size,
66 SizeT RzGlobalsNum = 0;
/external/u-boot/lib/lzma/
DLzmaTools.c39 int lzmaBuffToBuffDecompress (unsigned char *outStream, SizeT *uncompressedSize, in lzmaBuffToBuffDecompress()
40 unsigned char *inStream, SizeT length) in lzmaBuffToBuffDecompress()
46 SizeT outSizeFull = 0xFFFFFFFF; /* 4GBytes limit */ in lzmaBuffToBuffDecompress()
47 SizeT outProcessed; in lzmaBuffToBuffDecompress()
48 SizeT outSize; in lzmaBuffToBuffDecompress()
49 SizeT outSizeHigh; in lzmaBuffToBuffDecompress()
51 SizeT compressedSize = (SizeT)(length - LZMA_PROPS_SIZE); in lzmaBuffToBuffDecompress()
73 outSizeFull = (SizeT)outSize; in lzmaBuffToBuffDecompress()
74 if (sizeof(SizeT) >= 8) { in lzmaBuffToBuffDecompress()
79 outSizeFull |= (((SizeT)outSizeHigh << 16) << 16); in lzmaBuffToBuffDecompress()
[all …]
DLzmaDec.h53 SizeT dicPos;
54 SizeT dicBufSize;
177 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit,
178 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
194 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen,
195 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
219 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
DLzmaDec.c134 static int MY_FAST_CALL LzmaDec_DecodeReal(CLzmaDec *p, SizeT limit, const Byte *bufLimit) in LzmaDec_DecodeReal()
145 SizeT dicBufSize = p->dicBufSize; in LzmaDec_DecodeReal()
146 SizeT dicPos = p->dicPos; in LzmaDec_DecodeReal()
398 SizeT rem = limit - dicPos; in LzmaDec_DecodeReal()
400 SizeT pos = (dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0); in LzmaDec_DecodeReal()
454 static void MY_FAST_CALL LzmaDec_WriteRem(CLzmaDec *p, SizeT limit) in LzmaDec_WriteRem()
459 SizeT dicPos = p->dicPos; in LzmaDec_WriteRem()
460 SizeT dicBufSize = p->dicBufSize; in LzmaDec_WriteRem()
480 static int MY_FAST_CALL LzmaDec_DecodeReal2(CLzmaDec *p, SizeT limit, const Byte *bufLimit) in LzmaDec_DecodeReal2()
484 SizeT limit2 = limit; in LzmaDec_DecodeReal2()
[all …]
/external/lzma/C/
DBra.h55 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding);
56 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
57 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
58 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
59 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
60 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
DLzma2Dec.c163 static void LzmaDec_UpdateWithUncompressed(CLzmaDec *p, const Byte *src, SizeT size) in LzmaDec_UpdateWithUncompressed()
175 SRes Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit, in Lzma2Dec_DecodeToDic()
176 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) in Lzma2Dec_DecodeToDic()
178 SizeT inSize = *srcLen; in Lzma2Dec_DecodeToDic()
184 SizeT dicPos; in Lzma2Dec_DecodeToDic()
215 SizeT inCur = inSize - *srcLen; in Lzma2Dec_DecodeToDic()
216 SizeT outCur = dicLimit - dicPos; in Lzma2Dec_DecodeToDic()
221 outCur = (SizeT)p->unpackSize; in Lzma2Dec_DecodeToDic()
264 inCur = (SizeT)p->packSize; in Lzma2Dec_DecodeToDic()
307 SizeT outSize, in Lzma2Dec_Parse()
[all …]
DLzma2Dec.h48 SRes Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit,
49 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
51 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen,
52 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
79 SizeT outSize, // output size
80 const Byte *src, SizeT *srcLen,
115 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
DLzmaDec.h60 SizeT dicBufSize;
61 SizeT dicPos;
186 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit,
187 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
203 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen,
204 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
228 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
DLzmaDec.c213 int MY_FAST_CALL LZMA_DECODE_REAL(CLzmaDec *p, SizeT limit, const Byte *bufLimit);
218 int MY_FAST_CALL LZMA_DECODE_REAL(CLzmaDec *p, SizeT limit, const Byte *bufLimit) in LZMA_DECODE_REAL()
228 SizeT dicBufSize = p->dicBufSize; in LZMA_DECODE_REAL()
229 SizeT dicPos = p->dicPos; in LZMA_DECODE_REAL()
529 SizeT rem; in LZMA_DECODE_REAL()
531 SizeT pos; in LZMA_DECODE_REAL()
550 dicPos += (SizeT)curLen; in LZMA_DECODE_REAL()
588 static void MY_FAST_CALL LzmaDec_WriteRem(CLzmaDec *p, SizeT limit) in LzmaDec_WriteRem()
593 SizeT dicPos = p->dicPos; in LzmaDec_WriteRem()
594 SizeT dicBufSize = p->dicBufSize; in LzmaDec_WriteRem()
[all …]
DBra86.c10 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding) in x86_Convert()
12 SizeT pos = 0; in x86_Convert()
28 SizeT d = (SizeT)(p - data - pos); in x86_Convert()
29 pos = (SizeT)(p - data); in x86_Convert()
DLzmaEnc.h59 SRes LzmaEnc_WriteProperties(CLzmaEncHandle p, Byte *properties, SizeT *size);
64 SRes LzmaEnc_MemEncode(CLzmaEncHandle p, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
70 SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
71 const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark,
DBra.c9 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in ARM_Convert()
64 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in ARMT_Convert()
151 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in PPC_Convert()
185 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in SPARC_Convert()
D7zDec.c74 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodePpmd()
113 SizeT i; in SzDecodePpmd()
135 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodeLzma()
157 SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos; in SzDecodeLzma()
195 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain) in SzDecodeLzma2()
219 SizeT inProcessed = (SizeT)lookahead, dicPos = state.decoder.dicPos; in SzDecodeLzma2()
375 Byte *outBuffer, SizeT outSize, ISzAllocPtr allocMain, in SzFolder_Decode2()
379 SizeT tempSizes[3] = { 0, 0, 0}; in SzFolder_Decode2()
380 SizeT tempSize3 = 0; in SzFolder_Decode2()
395 SizeT outSizeCur = outSize; in SzFolder_Decode2()
[all …]
/external/swiftshader/third_party/subzero/crosstest/
Dmem_intrin.cpp19 reset_buf(uint8_t *buf, uint8_t init, SizeT length) { in reset_buf()
20 SizeT i; in reset_buf()
21 SizeT v = init; in reset_buf()
31 fletcher_checksum(uint8_t *buf, SizeT length) { in fletcher_checksum()
32 SizeT i; in fletcher_checksum()
43 int memcpy_test(uint8_t *buf, uint8_t *buf2, uint8_t init, SizeT length) { in memcpy_test()
49 int memmove_test(uint8_t *buf, uint8_t *buf2, uint8_t init, SizeT length) { in memmove_test()
56 SizeT reduced_length = length - overlap_bytes; in memmove_test()
68 int memset_test(uint8_t *buf, uint8_t *buf2, uint8_t init, SizeT length) { in memset_test()
Dmem_intrin_main.cpp17 void testVariableLen(SizeT &TotalTests, SizeT &Passes, SizeT &Failures) { in testVariableLen()
21 for (SizeT len = 4; len < 128; ++len) { \ in testVariableLen()
42 void testFixedLen(SizeT &TotalTests, SizeT &Passes, SizeT &Failures) { in testFixedLen()

12345