Searched refs:ExtractConstantBytes (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 211 static Constant *ExtractConstantBytes(Constant *C, unsigned ByteStart, in ExtractConstantBytes() function 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() 282 return ExtractConstantBytes(CE->getOperand(0), ByteStart+ShAmt, ByteSize); in ExtractConstantBytes() 304 return ExtractConstantBytes(CE->getOperand(0), ByteStart-ShAmt, ByteSize); in ExtractConstantBytes() 326 return ExtractConstantBytes(CE->getOperand(0), ByteStart, ByteSize); in ExtractConstantBytes() 714 if (Constant *Res = ExtractConstantBytes(V, 0, DestBitWidth / 8)) in ConstantFoldCastInstruction()
|