Searched refs:DestBitWidth (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 608 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth(); in ConstantFoldCastInstruction() local 610 V.convertToInteger(x, DestBitWidth, opc==Instruction::FPToSI, in ConstantFoldCastInstruction() 616 APInt Val(DestBitWidth, x); in ConstantFoldCastInstruction() 702 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth(); in ConstantFoldCastInstruction() local 705 CI->getValue().trunc(DestBitWidth)); in ConstantFoldCastInstruction() 711 if ((DestBitWidth & 7) == 0 && in ConstantFoldCastInstruction() 713 if (Constant *Res = ExtractConstantBytes(V, 0, DestBitWidth / 8)) in ConstantFoldCastInstruction()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 589 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth(); in ConstantFoldCastInstruction() local 590 (void) V.convertToInteger(x, DestBitWidth, opc==Instruction::FPToSI, in ConstantFoldCastInstruction() 592 APInt Val(DestBitWidth, x); in ConstantFoldCastInstruction() 670 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth(); in ConstantFoldCastInstruction() local 673 CI->getValue().trunc(DestBitWidth)); in ConstantFoldCastInstruction() 679 if ((DestBitWidth & 7) == 0 && in ConstantFoldCastInstruction() 681 if (Constant *Res = ExtractConstantBytes(V, 0, DestBitWidth / 8)) in ConstantFoldCastInstruction()
|