Searched refs:ByteStart (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 212 static Constant *ExtractConstantBytes(Constant *C, unsigned ByteStart, in ExtractConstantBytes() argument 219 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes() 225 if (ByteStart) in ExtractConstantBytes() 226 V = V.lshr(ByteStart*8); in ExtractConstantBytes() 239 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 248 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 254 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 262 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 278 if (ByteStart >= CSize-ShAmt) in ExtractConstantBytes() 282 if (ByteStart+ByteSize+ShAmt <= CSize) in ExtractConstantBytes() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 194 static Constant *ExtractConstantBytes(Constant *C, unsigned ByteStart, in ExtractConstantBytes() argument 201 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes() 207 if (ByteStart) in ExtractConstantBytes() 208 V = V.lshr(ByteStart*8); in ExtractConstantBytes() 221 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 230 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 236 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes() 244 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes() 260 if (ByteStart >= CSize-ShAmt) in ExtractConstantBytes() 264 if (ByteStart+ByteSize+ShAmt <= CSize) in ExtractConstantBytes() [all …]
|