Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp69 InstInfoMap.clear(); in buildTruncExpressionDag()
91 InstInfoMap.insert(std::make_pair(I, Info())); in buildTruncExpressionDag()
95 if (InstInfoMap.count(I)) { in buildTruncExpressionDag()
152 InstInfoMap[cast<Instruction>(Src)].ValidBitWidth = TruncBitWidth; in getMinBitWidth()
165 auto &Info = InstInfoMap[I]; in getMinBitWidth()
178 std::max(Info.MinBitWidth, InstInfoMap[IOp].MinBitWidth); in getMinBitWidth()
195 unsigned IOpBitwidth = InstInfoMap.lookup(IOp).ValidBitWidth; in getMinBitWidth()
198 InstInfoMap[IOp].ValidBitWidth = std::max(ValidBitWidth, IOpBitwidth); in getMinBitWidth()
202 unsigned MinBitWidth = InstInfoMap.lookup(cast<Instruction>(Src)).MinBitWidth; in getMinBitWidth()
238 for (auto Itr : InstInfoMap) { in getBestTruncatedType()
[all …]
DAggressiveInstCombineInternal.h74 MapVector<Instruction *, Info> InstInfoMap; variable