Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantFold.cpp609 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth(); in ConstantFoldCastInstruction() local
611 V.convertToInteger(x, DestBitWidth, opc==Instruction::FPToSI, in ConstantFoldCastInstruction()
617 APInt Val(DestBitWidth, x); in ConstantFoldCastInstruction()
703 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth(); in ConstantFoldCastInstruction() local
706 CI->getValue().trunc(DestBitWidth)); in ConstantFoldCastInstruction()
712 if ((DestBitWidth & 7) == 0 && in ConstantFoldCastInstruction()
714 if (Constant *Res = ExtractConstantBytes(V, 0, DestBitWidth / 8)) in ConstantFoldCastInstruction()