/external/llvm-project/clang/lib/AST/Interp/ |
D | Integral.h | 97 template <unsigned DstBits, bool DstSign> 98 explicit operator Integral<DstBits, DstSign>() const { 99 return Integral<DstBits, DstSign>(V);
|
/external/llvm-project/polly/lib/CodeGen/ |
D | RuntimeDebugBuilder.cpp | 39 unsigned DstBits) { in getAddressSpaceCast() argument 42 std::to_string(Dst) + "i" + std::to_string(DstBits) + ".p" + in getAddressSpaceCast() 49 PointerType::get(Builder.getIntNTy(DstBits), Dst), in getAddressSpaceCast()
|
/external/llvm-project/polly/include/polly/CodeGen/ |
D | RuntimeDebugBuilder.h | 153 unsigned DstBits = 8);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instructions.cpp | 2909 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local 2911 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast() 2912 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast() 2923 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local 2925 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast() 2926 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast() 2937 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local 2939 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast() 2940 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast() 2950 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local [all …]
|
D | Constants.cpp | 1716 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local 1718 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast() 1719 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast() 1728 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local 1729 if (SrcBits == DstBits) in getFPCast() 1732 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2816 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local 2818 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast() 2819 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast() 2830 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local 2832 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast() 2833 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast() 2844 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local 2846 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast() 2847 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast() 2857 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local [all …]
|
D | Constants.cpp | 1544 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local 1546 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast() 1547 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast() 1556 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local 1557 if (SrcBits == DstBits) in getFPCast() 1560 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
|
/external/llvm-project/llvm/lib/IR/ |
D | Instructions.cpp | 3097 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local 3099 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast() 3100 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast() 3111 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local 3113 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast() 3114 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast() 3125 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local 3127 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast() 3128 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast() 3138 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local [all …]
|
D | Constants.cpp | 1993 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local 1995 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast() 1996 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast() 2005 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local 2006 if (SrcBits == DstBits) in getFPCast() 2009 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1016 unsigned DstBits = Dst->getType()->getScalarSizeInBits(); in EmitIntegerTruncationCheck() local 1018 if (SrcBits <= DstBits) in EmitIntegerTruncationCheck() 1069 unsigned DstBits = DstTy->getScalarSizeInBits(); in EmitIntegerSignChangeCheckHelper() local 1071 (void)DstBits; // Only used in assert() in EmitIntegerSignChangeCheckHelper() 1073 assert(((SrcBits != DstBits) || (SrcSigned != DstSigned)) && in EmitIntegerSignChangeCheckHelper() 1130 unsigned DstBits = DstTy->getScalarSizeInBits(); in EmitIntegerSignChangeCheck() local 1137 if (SrcSigned == DstSigned && SrcBits == DstBits) in EmitIntegerSignChangeCheck() 1146 if ((DstBits > SrcBits) && DstSigned) in EmitIntegerSignChangeCheck() 1149 (SrcBits > DstBits) && SrcSigned) { in EmitIntegerSignChangeCheck() 1174 (SrcBits > DstBits) && !SrcSigned && DstSigned) { in EmitIntegerSignChangeCheck()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2047 unsigned DstBits = SE.getTypeSizeInBits(AR->getType()); in generateOverflowCheck() local 2066 ConstantInt::get(Loc->getContext(), APInt::getNullValue(DstBits)); in generateOverflowCheck() 2103 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 4125 unsigned DstBits = RetVT.getSizeInBits(); in emitLSL_ri() local 4143 if (Shift >= DstBits) in emitLSL_ri() 4173 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri() 4232 unsigned DstBits = RetVT.getSizeInBits(); in emitLSR_ri() local 4250 if (Shift >= DstBits) in emitLSR_ri() 4353 unsigned DstBits = RetVT.getSizeInBits(); in emitASR_ri() local 4371 if (Shift >= DstBits) in emitASR_ri()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 3947 unsigned DstBits = RetVT.getSizeInBits(); in emitLSL_ri() local 3965 if (Shift >= DstBits) in emitLSL_ri() 3995 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri() 4054 unsigned DstBits = RetVT.getSizeInBits(); in emitLSR_ri() local 4072 if (Shift >= DstBits) in emitLSR_ri() 4175 unsigned DstBits = RetVT.getSizeInBits(); in emitASR_ri() local 4193 if (Shift >= DstBits) in emitASR_ri()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 4118 unsigned DstBits = RetVT.getSizeInBits(); in emitLSL_ri() local 4136 if (Shift >= DstBits) in emitLSL_ri() 4166 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri() 4225 unsigned DstBits = RetVT.getSizeInBits(); in emitLSR_ri() local 4243 if (Shift >= DstBits) in emitLSR_ri() 4346 unsigned DstBits = RetVT.getSizeInBits(); in emitASR_ri() local 4364 if (Shift >= DstBits) in emitASR_ri()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2254 unsigned DstBits = SE.getTypeSizeInBits(ARTy); in generateOverflowCheck() local 2274 ConstantInt::get(Loc->getContext(), APInt::getNullValue(DstBits)); in generateOverflowCheck() 2321 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ScalarEvolutionExpander.cpp | 2478 unsigned DstBits = SE.getTypeSizeInBits(ARTy); in generateOverflowCheck() local 2499 ConstantInt::get(Loc->getContext(), APInt::getNullValue(DstBits)); in generateOverflowCheck() 2546 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1556 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), in visitICmpInstWithInstAndIntCst() local 1562 if ((KnownZero|KnownOne).countLeadingOnes() >= SrcBits-DstBits) { in visitICmpInstWithInstAndIntCst() 1565 NewRHS |= KnownOne & APInt::getHighBitsSet(SrcBits, SrcBits-DstBits); in visitICmpInstWithInstAndIntCst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1544 unsigned DstBits = Trunc->getType()->getScalarSizeInBits(), in foldICmpTruncConstant() local 1549 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) { in foldICmpTruncConstant() 1552 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1568 unsigned DstBits = Trunc->getType()->getScalarSizeInBits(), in foldICmpTruncConstant() local 1573 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) { in foldICmpTruncConstant() 1576 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()
|