Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1201 unsigned DstWidth = CI.getType()->getFPMantissaWidth(); in visitFPTrunc() local
1224 if (OpWidth >= 2*DstWidth+1 && DstWidth >= SrcWidth) { in visitFPTrunc()
1241 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
1259 if (OpWidth >= 2*DstWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
/external/llvm/lib/IR/
DConstantFold.cpp1034 unsigned DstWidth = CI2->getType()->getBitWidth(); in ConstantFoldBinaryInstruction() local
1037 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
1053 unsigned DstWidth = CI2->getType()->getBitWidth(); in ConstantFoldBinaryInstruction() local
1054 unsigned SrcWidth = std::min(DstWidth, Log2_32(GVAlign)); in ConstantFoldBinaryInstruction()
1055 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
/external/clang/lib/Sema/
DSemaStmt.cpp1181 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum() local
1185 AdjustAPSInt(RhsVal, DstWidth, DstIsSigned); in DiagnoseAssignmentEnum()
1201 AdjustAPSInt(Val, DstWidth, DstIsSigned); in DiagnoseAssignmentEnum()