Searched refs:ExtractConstantBytes (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() function 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() 283 return ExtractConstantBytes(CE->getOperand(0), ByteStart+ShAmt, ByteSize); in ExtractConstantBytes() 305 return ExtractConstantBytes(CE->getOperand(0), ByteStart-ShAmt, ByteSize); in ExtractConstantBytes() 327 return ExtractConstantBytes(CE->getOperand(0), ByteStart, ByteSize); in ExtractConstantBytes() 713 if (Constant *Res = ExtractConstantBytes(V, 0, DestBitWidth / 8)) in ConstantFoldCastInstruction()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 194 static Constant *ExtractConstantBytes(Constant *C, unsigned ByteStart, in ExtractConstantBytes() function 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() 265 return ExtractConstantBytes(CE->getOperand(0), ByteStart+ShAmt, ByteSize); in ExtractConstantBytes() 287 return ExtractConstantBytes(CE->getOperand(0), ByteStart-ShAmt, ByteSize); in ExtractConstantBytes() 309 return ExtractConstantBytes(CE->getOperand(0), ByteStart, ByteSize); in ExtractConstantBytes() 681 if (Constant *Res = ExtractConstantBytes(V, 0, DestBitWidth / 8)) in ConstantFoldCastInstruction()
|