Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp425 auto MinValItr = ConstCandVec.begin(); in findBaseConstants() local
428 if (MinValItr->ConstInt->getType() == CC->ConstInt->getType()) { in findBaseConstants()
430 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue(); in findBaseConstants()
437 findAndMakeBaseConstant(MinValItr, CC); in findBaseConstants()
439 MinValItr = CC; in findBaseConstants()
442 findAndMakeBaseConstant(MinValItr, ConstCandVec.end()); in findBaseConstants()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp584 auto MinValItr = ConstCandVec.begin(); in findBaseConstants() local
587 if (MinValItr->ConstInt->getType() == CC->ConstInt->getType()) { in findBaseConstants()
589 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue(); in findBaseConstants()
596 findAndMakeBaseConstant(MinValItr, CC); in findBaseConstants()
598 MinValItr = CC; in findBaseConstants()
601 findAndMakeBaseConstant(MinValItr, ConstCandVec.end()); in findBaseConstants()