Home | History | Annotate | Download | only in IR

Lines Matching refs:ByteSize

190 /// first byte used, counting from the least significant byte) and ByteSize,
198 unsigned ByteSize) {
203 assert(ByteSize && "Must be accessing some piece");
204 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input");
205 assert(ByteSize != CSize && "Should not extract everything");
212 V = V.trunc(ByteSize*8);
224 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
233 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
239 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
247 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
265 ByteSize*8));
267 if (ByteStart+ByteSize+ShAmt <= CSize)
268 return ExtractConstantBytes(CE->getOperand(0), ByteStart+ShAmt, ByteSize);
285 if (ByteStart+ByteSize <= ShAmt)
287 ByteSize*8));
290 return ExtractConstantBytes(CE->getOperand(0), ByteStart-ShAmt, ByteSize);
303 ByteSize*8));
306 if (ByteStart == 0 && ByteSize*8 == SrcBitSize)
311 if ((SrcBitSize&7) == 0 && (ByteStart+ByteSize)*8 <= SrcBitSize)
312 return ExtractConstantBytes(CE->getOperand(0), ByteStart, ByteSize);
316 if ((ByteStart+ByteSize)*8 < SrcBitSize) {
323 ByteSize*8));