Home
last modified time | relevance | path

Searched refs:Trunc (Results 1 – 25 of 192) sorted by relevance

12345678

/third_party/boost/boost/numeric/conversion/detail/preprocessed/
Dnumeric_cast_traits_common.hpp23 typedef Trunc<char> rounding_policy;
35 typedef Trunc<signed char> rounding_policy;
47 typedef Trunc<unsigned char> rounding_policy;
59 typedef Trunc<short> rounding_policy;
71 typedef Trunc<unsigned short> rounding_policy;
83 typedef Trunc<int> rounding_policy;
95 typedef Trunc<unsigned int> rounding_policy;
107 typedef Trunc<long> rounding_policy;
119 typedef Trunc<unsigned long> rounding_policy;
131 typedef Trunc<float> rounding_policy;
[all …]
Dnumeric_cast_traits_long_long.hpp21 typedef Trunc<boost::long_long_type> rounding_policy;
33 typedef Trunc<boost::ulong_long_type> rounding_policy;
45 typedef Trunc<boost::long_long_type> rounding_policy;
57 typedef Trunc<boost::ulong_long_type> rounding_policy;
69 typedef Trunc<boost::long_long_type> rounding_policy;
81 typedef Trunc<boost::ulong_long_type> rounding_policy;
93 typedef Trunc<boost::long_long_type> rounding_policy;
105 typedef Trunc<boost::ulong_long_type> rounding_policy;
117 typedef Trunc<boost::long_long_type> rounding_policy;
129 typedef Trunc<boost::ulong_long_type> rounding_policy;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTypePromotion.cpp241 else if (auto *Trunc = dyn_cast<TruncInst>(V)) in isSource() local
242 return EqualTypeSize(Trunc); in isSource()
566 auto *Trunc = dyn_cast<Instruction>(Builder.CreateTrunc(V, TruncTy)); in TruncateSinks() local
567 if (Trunc) in TruncateSinks()
568 NewInsts.insert(Trunc); in TruncateSinks()
569 return Trunc; in TruncateSinks()
582 if (Instruction *Trunc = InsertTrunc(Arg, Ty)) { in TruncateSinks() local
583 Trunc->moveBefore(Call); in TruncateSinks()
584 Call->setArgOperand(i, Trunc); in TruncateSinks()
593 if (Instruction *Trunc = InsertTrunc(Switch->getCondition(), Ty)) { in TruncateSinks() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp508 Value *Trunc; in expandRemainderUpTo32Bits() local
520 Trunc = Builder.CreateTrunc(ExtRem, RemTy); in expandRemainderUpTo32Bits()
522 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits()
556 Value *Trunc; in expandRemainderUpTo64Bits() local
568 Trunc = Builder.CreateTrunc(ExtRem, RemTy); in expandRemainderUpTo64Bits()
570 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits()
605 Value *Trunc; in expandDivisionUpTo32Bits() local
617 Trunc = Builder.CreateTrunc(ExtDiv, DivTy); in expandDivisionUpTo32Bits()
619 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits()
654 Value *Trunc; in expandDivisionUpTo64Bits() local
[all …]
/third_party/boost/libs/numeric/conversion/test/
Dnumeric_cast_traits_test.cpp248 struct Trunc: boost::numeric::Trunc<S>{}; struct
251 struct Trunc<Double> struct
281 typedef boost::numeric::Trunc<S> rounding_policy;
293 typedef custom::Trunc<Double> rounding_policy;
/third_party/skia/tests/sksl/intrinsics/
DTrunc.asm.frag92 %32 = OpExtInst %float %1 Trunc %38
100 %42 = OpExtInst %v2float %1 Trunc %45
112 %53 = OpExtInst %v3float %1 Trunc %56
123 %65 = OpExtInst %v4float %1 Trunc %67
/third_party/boost/boost/numeric/conversion/
Dconverter.hpp25 class Float2IntRounder = Trunc< BOOST_DEDUCED_TYPENAME Traits::source_type> ,
48 class Float2IntRounder = Trunc<S> ,
Dnumeric_cast_traits.hpp21 typedef Trunc<Source> rounding_policy;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp193 case Instruction::Trunc: in EvaluateInDifferentType()
420 case Instruction::Trunc: in canEvaluateTruncated()
457 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC) { in foldVecTruncToExtElt() argument
458 Value *TruncOp = Trunc.getOperand(0); in foldVecTruncToExtElt()
459 Type *DestType = Trunc.getType(); in foldVecTruncToExtElt()
496 Instruction *InstCombiner::narrowRotate(TruncInst &Trunc) { in narrowRotate() argument
497 assert((isa<VectorType>(Trunc.getSrcTy()) || in narrowRotate()
498 shouldChangeType(Trunc.getSrcTy(), Trunc.getType())) && in narrowRotate()
503 Type *DestTy = Trunc.getType(); in narrowRotate()
511 if (!match(Trunc.getOperand(0), m_OneUse(m_Or(m_Value(Or0), m_Value(Or1))))) in narrowRotate()
[all …]
DInstCombineShifts.cpp48 Value *Trunc = nullptr; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
50 m_CombineOr(m_CombineAnd(m_Trunc(m_Instruction(Sh1)), m_Value(Trunc)), in reassociateShiftAmtsOfTwoSameDirectionShifts()
98 if (Trunc && !AnalyzeForSignBitExtraction && in reassociateShiftAmtsOfTwoSameDirectionShifts()
120 if (HadTwoRightShifts && (Trunc || AnalyzeForSignBitExtraction)) { in reassociateShiftAmtsOfTwoSameDirectionShifts()
139 if (!Trunc) { in reassociateShiftAmtsOfTwoSameDirectionShifts()
153 if (Trunc) { in reassociateShiftAmtsOfTwoSameDirectionShifts()
155 Ret = CastInst::Create(Instruction::Trunc, NewShift, Sh0->getType()); in reassociateShiftAmtsOfTwoSameDirectionShifts()
190 Value *Trunc; in dropRedundantMaskingOfLeftShiftInput() local
191 if (match(Masked, m_CombineAnd(m_Trunc(m_Value(Masked)), m_Value(Trunc))) && in dropRedundantMaskingOfLeftShiftInput()
192 !Trunc->hasOneUse()) in dropRedundantMaskingOfLeftShiftInput()
/third_party/boost/libs/numeric/conversion/doc/
Drequirements.qbk37 The default `Trunc<>` rounder policy needs to determine if the source value
40 `operator<` in order to use the `Trunc<>` policy (the default).
377 struct Trunc: boost::numeric::Trunc<S>{};
380 struct Trunc<Double>
410 typedef boost::numeric::Trunc<S> rounding_policy;
422 typedef custom::Trunc<Double> rounding_policy;
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_qsort.c265 #define Recurse(Trunc) \ argument
267 if (l<Trunc) { \
268 if (r>=Trunc) doRight \
272 else if (r>=Trunc) { pushRight; doLeft }\
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp44 case Instruction::Trunc: in getRelevantOperands()
104 case Instruction::Trunc: in buildTruncExpressionDag()
311 case Instruction::Trunc: in ReduceExpressionDag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp207 Value *Trunc = Builder.CreateTrunc(ExtractBits, ArgIntTy); in runOnFunction() local
208 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in runOnFunction()
/third_party/boost/libs/numeric/conversion/test/compile_fail/
Dbuilt_in_numeric_cast_traits.cpp31 typedef Trunc<BOOST_PP_TUPLE_ELEM(4,2,state)> rounding_policy; \
/third_party/boost/boost/numeric/conversion/detail/
Dnumeric_cast_traits.hpp131 …typedef Trunc<BOOST_PP_SEQ_ELEM(BOOST_NUMERIC_CONVERSION_B, BOOST_NUMERIC_CONVERSION_SEQ_B())> rou…
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.0/
DOpenCL.std.h98 Trunc = 66, enumerator
/third_party/flutter/skia/third_party/externals/spirv-headers/include/spirv/1.1/
DOpenCL.std.h98 Trunc = 66, enumerator
/third_party/spirv-headers/include/spirv/1.2/
DOpenCL.std.h98 Trunc = 66, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/
DOpenCL.std.h98 Trunc = 66, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.1/
DOpenCL.std.h98 Trunc = 66, enumerator
/third_party/spirv-headers/include/spirv/1.0/
DOpenCL.std.h98 Trunc = 66, enumerator
/third_party/flutter/skia/third_party/externals/spirv-headers/include/spirv/1.0/
DOpenCL.std.h98 Trunc = 66, enumerator
/third_party/flutter/skia/third_party/externals/spirv-headers/include/spirv/1.2/
DOpenCL.std.h98 Trunc = 66, enumerator
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/
DOpenCL.std.h98 Trunc = 66, enumerator

12345678