Home
last modified time | relevance | path

Searched refs:UsedBits (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp10297 APInt UsedBits(Inst->getValueSizeInBits(0), 0); in getUsedBits() local
10298 UsedBits.setAllBits(); in getUsedBits()
10299 UsedBits = UsedBits.zext(BitWidth); in getUsedBits()
10300 UsedBits <<= Shift; in getUsedBits()
10301 return UsedBits; in getUsedBits()
10481 static bool areUsedBitsDense(const APInt &UsedBits) { in areUsedBitsDense() argument
10483 if (UsedBits.isAllOnesValue()) in areUsedBitsDense()
10487 APInt NarrowedUsedBits = UsedBits.lshr(UsedBits.countTrailingZeros()); in areUsedBitsDense()
10502 APInt UsedBits = First.getUsedBits(); in areSlicesNextToEachOther() local
10503 assert((UsedBits & Second.getUsedBits()) == 0 && in areSlicesNextToEachOther()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp12832 APInt UsedBits(Inst->getValueSizeInBits(0), 0); in getUsedBits() local
12833 UsedBits.setAllBits(); in getUsedBits()
12834 UsedBits = UsedBits.zext(BitWidth); in getUsedBits()
12835 UsedBits <<= Shift; in getUsedBits()
12836 return UsedBits; in getUsedBits()
13017 static bool areUsedBitsDense(const APInt &UsedBits) { in areUsedBitsDense() argument
13019 if (UsedBits.isAllOnesValue()) in areUsedBitsDense()
13023 APInt NarrowedUsedBits = UsedBits.lshr(UsedBits.countTrailingZeros()); in areUsedBitsDense()
13038 APInt UsedBits = First.getUsedBits(); in areSlicesNextToEachOther() local
13039 assert((UsedBits & Second.getUsedBits()) == 0 && in areSlicesNextToEachOther()
[all …]