Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/include/flang/Optimizer/Support/
H A DKindMapping.h51 using Bitsize = unsigned; variable
75 Bitsize getCharacterBitsize(KindTy kind) const;
78 Bitsize getIntegerBitsize(KindTy kind) const;
81 Bitsize getLogicalBitsize(KindTy kind) const;
84 Bitsize getRealBitsize(KindTy kind) const;
130 llvm::DenseMap<std::pair<char, KindTy>, Bitsize> intMap;
/llvm-project-15.0.7/flang/lib/Optimizer/Support/
H A DKindMapping.cpp22 using Bitsize = fir::KindMapping::Bitsize; typedef
51 static Bitsize defaultScalingKind(KindTy kind) { in defaultScalingKind()
92 static Bitsize getIntegerLikeBitsize(KindTy kind, const MAP &map) { in getIntegerLikeBitsize()
93 return doLookup<Bitsize, KEY>(defaultScalingKind, map, kind); in getIntegerLikeBitsize()
258 Bitsize bits = 0; in parse()
278 Bitsize fir::KindMapping::getCharacterBitsize(KindTy kind) const { in getCharacterBitsize()
282 Bitsize fir::KindMapping::getIntegerBitsize(KindTy kind) const { in getIntegerBitsize()
286 Bitsize fir::KindMapping::getLogicalBitsize(KindTy kind) const { in getLogicalBitsize()
298 Bitsize fir::KindMapping::getRealBitsize(KindTy kind) const { in getRealBitsize()
/llvm-project-15.0.7/flang/unittests/Optimizer/
H A DKindMappingTest.cpp22 using Bitsize = fir::KindMapping::Bitsize; typedef
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp4116 unsigned Bitsize = in matchRotateOutOfRange() local
4120 auto MatchOutOfRange = [Bitsize, &OutOfRange](const Constant *C) { in matchRotateOutOfRange()
4122 OutOfRange |= CI->getValue().uge(Bitsize); in matchRotateOutOfRange()
4131 unsigned Bitsize = in applyRotateOutOfRange() local
4136 auto Bits = Builder.buildConstant(AmtTy, Bitsize); in applyRotateOutOfRange()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8788 unsigned Bitsize = VT.getScalarSizeInBits(); in visitRotate() local
8795 if (isPowerOf2_32(Bitsize) && Bitsize > 1) { in visitRotate()
8796 APInt ModuloMask(N1.getScalarValueSizeInBits(), Bitsize - 1); in visitRotate()
8803 auto MatchOutOfRange = [Bitsize, &OutOfRange](ConstantSDNode *C) { in visitRotate()
8804 OutOfRange |= C->getAPIntValue().uge(Bitsize); in visitRotate()
8809 SDValue Bits = DAG.getConstant(Bitsize, dl, AmtVT); in visitRotate()
8843 SDValue BitsizeC = DAG.getConstant(Bitsize, dl, ShiftVT); in visitRotate()