Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp221 SmallVector<const SCEV *, 2> BaseRegs; member
317 BaseRegs.push_back(Sum); in InitialMatch()
323 BaseRegs.push_back(Sum); in InitialMatch()
332 return !!ScaledReg + BaseRegs.size(); in getNumRegs()
338 return !BaseRegs.empty() ? BaseRegs.front()->getType() : in getType()
346 if (&S != &BaseRegs.back()) in DeleteBaseReg()
347 std::swap(S, BaseRegs.back()); in DeleteBaseReg()
348 BaseRegs.pop_back(); in DeleteBaseReg()
354 std::find(BaseRegs.begin(), BaseRegs.end(), S) != BaseRegs.end(); in referencesReg()
364 for (SmallVectorImpl<const SCEV *>::const_iterator I = BaseRegs.begin(), in hasRegsUsedByUsesOtherThan()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp268 SmallVector<const SCEV *, 4> BaseRegs; member
368 BaseRegs.push_back(Sum); in initialMatch()
374 BaseRegs.push_back(Sum); in initialMatch()
385 return Scale != 1 || !BaseRegs.empty(); in isCanonical()
386 return BaseRegs.size() <= 1; in isCanonical()
400 assert(!BaseRegs.empty() && "1*reg => reg, should not be needed."); in canonicalize()
402 ScaledReg = BaseRegs.back(); in canonicalize()
403 BaseRegs.pop_back(); in canonicalize()
405 size_t BaseRegsSize = BaseRegs.size(); in canonicalize()
409 std::swap(ScaledReg, BaseRegs[Try++]); in canonicalize()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp337 SmallVector<const SCEV *, 4> BaseRegs; member
437 BaseRegs.push_back(Sum); in initialMatch()
443 BaseRegs.push_back(Sum); in initialMatch()
454 return BaseRegs.size() <= 1; in isCanonical()
459 if (Scale == 1 && BaseRegs.empty()) in isCanonical()
470 find_if(make_range(BaseRegs.begin(), BaseRegs.end()), [&](const SCEV *S) { in isCanonical()
474 return I == BaseRegs.end(); in isCanonical()
488 assert(!BaseRegs.empty() && "1*reg => reg, should not be needed."); in canonicalize()
492 ScaledReg = BaseRegs.back(); in canonicalize()
493 BaseRegs.pop_back(); in canonicalize()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632Traits.h348 static const RegNumT BaseRegs[RegisterSet::Reg_NUM] = { in getBaseReg() local
357 return BaseRegs[RegNum]; in getBaseReg()
DIceTargetLoweringX8664Traits.h373 static const RegNumT BaseRegs[RegisterSet::Reg_NUM] = { in getBaseReg() local
382 return BaseRegs[RegNum]; in getBaseReg()