Home
last modified time | relevance | path

Searched refs:ByteStart (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/IR/
DConstantFold.cpp211 static Constant *ExtractConstantBytes(Constant *C, unsigned ByteStart, in ExtractConstantBytes() argument
218 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes()
224 if (ByteStart) in ExtractConstantBytes()
225 V = V.lshr(ByteStart*8); in ExtractConstantBytes()
238 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes()
247 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes()
253 Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize); in ExtractConstantBytes()
261 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize); in ExtractConstantBytes()
277 if (ByteStart >= CSize-ShAmt) in ExtractConstantBytes()
281 if (ByteStart+ByteSize+ShAmt <= CSize) in ExtractConstantBytes()
[all …]