Searched refs:ByteStart (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 196 static Constant *ExtractConstantBytes(Constant *C, unsigned ByteStart, in ExtractConstantBytes() argument 203 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes() 209 if (ByteStart) in ExtractConstantBytes() 210 V = V.lshr(ByteStart*8); in ExtractConstantBytes() 223 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 232 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 238 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 246 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 262 if (ByteStart >= CSize-ShAmt) in ExtractConstantBytes() 266 if (ByteStart+ByteSize+ShAmt <= CSize) in ExtractConstantBytes() [all …]
|