Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1274 unsigned DstWidth = CI.getType()->getFPMantissaWidth(); in visitFPTrunc() local
1297 if (OpWidth >= 2*DstWidth+1 && DstWidth >= SrcWidth) { in visitFPTrunc()
1314 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
1332 if (OpWidth >= 2*DstWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1514 unsigned DstWidth = Ty->getFPMantissaWidth(); in visitFPTrunc() local
1537 if (OpWidth >= 2*DstWidth+1 && DstWidth >= SrcWidth) { in visitFPTrunc()
1551 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
1564 if (OpWidth >= 2*DstWidth && DstWidth >= SrcWidth) { in visitFPTrunc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp1067 unsigned DstWidth = CI2->getType()->getBitWidth(); in ConstantFoldBinaryInstruction() local
1070 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
1086 unsigned DstWidth = CI2->getType()->getBitWidth(); in ConstantFoldBinaryInstruction() local
1087 unsigned SrcWidth = std::min(DstWidth, Log2_32(GVAlign)); in ConstantFoldBinaryInstruction()
1088 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
/external/llvm/lib/IR/
DConstantFold.cpp1054 unsigned DstWidth = CI2->getType()->getBitWidth(); in ConstantFoldBinaryInstruction() local
1057 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
1073 unsigned DstWidth = CI2->getType()->getBitWidth(); in ConstantFoldBinaryInstruction() local
1074 unsigned SrcWidth = std::min(DstWidth, Log2_32(GVAlign)); in ConstantFoldBinaryInstruction()
1075 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp1107 unsigned DstWidth = CI2->getType()->getBitWidth(); in ConstantFoldBinaryInstruction() local
1110 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
1126 unsigned DstWidth = CI2->getType()->getBitWidth(); in ConstantFoldBinaryInstruction() local
1127 unsigned SrcWidth = std::min(DstWidth, Log2_32(GVAlign)); in ConstantFoldBinaryInstruction()
1128 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
/external/clang/lib/Sema/
DSemaStmt.cpp1193 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum() local
1197 AdjustAPSInt(RhsVal, DstWidth, DstIsSigned); in DiagnoseAssignmentEnum()
1213 AdjustAPSInt(Val, DstWidth, DstIsSigned); in DiagnoseAssignmentEnum()