Home
last modified time | relevance | path

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

/external/llvm-project/flang/include/flang/Optimizer/Support/
DKindMapping.h46 using Bitsize = unsigned; variable
54 Bitsize getCharacterBitsize(KindTy kind) const;
57 Bitsize getIntegerBitsize(KindTy kind) const;
60 Bitsize getLogicalBitsize(KindTy kind) const;
63 Bitsize getRealBitsize(KindTy kind) const;
81 llvm::DenseMap<std::pair<char, KindTy>, Bitsize> intMap;
/external/llvm-project/flang/lib/Optimizer/Support/
DKindMapping.cpp18 using Bitsize = fir::KindMapping::Bitsize; typedef
29 static Bitsize defaultScalingKind(KindTy kind) { in defaultScalingKind()
68 static Bitsize getIntegerLikeBitsize(KindTy kind, const MAP &map) { in getIntegerLikeBitsize()
69 return doLookup<Bitsize, KEY>(defaultScalingKind, map, kind); in getIntegerLikeBitsize()
201 Bitsize bits = 0; in parse()
221 Bitsize fir::KindMapping::getCharacterBitsize(KindTy kind) const { in getCharacterBitsize()
225 Bitsize fir::KindMapping::getIntegerBitsize(KindTy kind) const { in getIntegerBitsize()
229 Bitsize fir::KindMapping::getLogicalBitsize(KindTy kind) const { in getLogicalBitsize()
241 Bitsize fir::KindMapping::getRealBitsize(KindTy kind) const { in getRealBitsize()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7952 unsigned Bitsize = VT.getScalarSizeInBits(); in visitRotate() local
7959 if (isPowerOf2_32(Bitsize) && Bitsize > 1) { in visitRotate()
7960 APInt ModuloMask(N1.getScalarValueSizeInBits(), Bitsize - 1); in visitRotate()
7967 auto MatchOutOfRange = [Bitsize, &OutOfRange](ConstantSDNode *C) { in visitRotate()
7968 OutOfRange |= C->getAPIntValue().uge(Bitsize); in visitRotate()
7973 SDValue Bits = DAG.getConstant(Bitsize, dl, AmtVT); in visitRotate()
8007 SDValue BitsizeC = DAG.getConstant(Bitsize, dl, ShiftVT); in visitRotate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7394 unsigned Bitsize = VT.getScalarSizeInBits(); in visitRotate() local
7401 if (isPowerOf2_32(Bitsize) && Bitsize > 1) { in visitRotate()
7402 APInt ModuloMask(N1.getScalarValueSizeInBits(), Bitsize - 1); in visitRotate()
7410 if (Cst->getAPIntValue().uge(Bitsize)) { in visitRotate()
7411 uint64_t RotAmt = Cst->getAPIntValue().urem(Bitsize); in visitRotate()
7435 SDValue BitsizeC = DAG.getConstant(Bitsize, dl, ShiftVT); in visitRotate()