Home
last modified time | relevance | path

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

/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/llvm-project/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp355 SmallVector<const SCEV *, 4> BaseRegs; member
455 BaseRegs.push_back(Sum); in initialMatch()
461 BaseRegs.push_back(Sum); in initialMatch()
472 return BaseRegs.size() <= 1; in isCanonical()
477 if (Scale == 1 && BaseRegs.empty()) in isCanonical()
488 find_if(make_range(BaseRegs.begin(), BaseRegs.end()), [&](const SCEV *S) { in isCanonical()
492 return I == BaseRegs.end(); in isCanonical()
506 assert(!BaseRegs.empty() && "1*reg => reg, should not be needed."); in canonicalize()
510 ScaledReg = BaseRegs.back(); in canonicalize()
511 BaseRegs.pop_back(); in canonicalize()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp351 SmallVector<const SCEV *, 4> BaseRegs; member
451 BaseRegs.push_back(Sum); in initialMatch()
457 BaseRegs.push_back(Sum); in initialMatch()
468 return BaseRegs.size() <= 1; in isCanonical()
473 if (Scale == 1 && BaseRegs.empty()) in isCanonical()
484 find_if(make_range(BaseRegs.begin(), BaseRegs.end()), [&](const SCEV *S) { in isCanonical()
488 return I == BaseRegs.end(); in isCanonical()
502 assert(!BaseRegs.empty() && "1*reg => reg, should not be needed."); in canonicalize()
506 ScaledReg = BaseRegs.back(); in canonicalize()
507 BaseRegs.pop_back(); in canonicalize()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632Traits.h359 static const RegNumT BaseRegs[RegisterSet::Reg_NUM] = { in getBaseReg() local
368 return BaseRegs[RegNum]; in getBaseReg()
DIceTargetLoweringX8664Traits.h384 static const RegNumT BaseRegs[RegisterSet::Reg_NUM] = { in getBaseReg() local
393 return BaseRegs[RegNum]; in getBaseReg()