Searched refs:ExtractConstantBytes (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() function 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() 268 return ExtractConstantBytes(CE->getOperand(0), ByteStart+ShAmt, ByteSize); in ExtractConstantBytes() 290 return ExtractConstantBytes(CE->getOperand(0), ByteStart-ShAmt, ByteSize); in ExtractConstantBytes() 312 return ExtractConstantBytes(CE->getOperand(0), ByteStart, ByteSize); in ExtractConstantBytes() 688 if (Constant *Res = ExtractConstantBytes(V, 0, DestBitWidth / 8)) in ConstantFoldCastInstruction()
|