Searched refs:ByteStart (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 197 static Constant *ExtractConstantBytes(Constant *C, unsigned ByteStart, in ExtractConstantBytes() argument 204 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes() 210 if (ByteStart) in ExtractConstantBytes() 211 V = V.lshr(ByteStart*8); in ExtractConstantBytes() 224 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 233 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 239 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 247 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 263 if (ByteStart >= CSize-ShAmt) in ExtractConstantBytes() 267 if (ByteStart+ByteSize+ShAmt <= CSize) in ExtractConstantBytes() [all …]
|