Home
last modified time | relevance | path

Searched refs:BaseInst (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp369 Instruction *BaseInst; member
892 const auto *ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst)); in validateRootSet()
922 DRS.BaseInst = nullptr; in findRootsBase()
927 if (!DRS.BaseInst) { in findRootsBase()
928 DRS.BaseInst = KV.second; in findRootsBase()
941 DRS.BaseInst = KV.second; in findRootsBase()
1012 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1018 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions()
1052 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1080 if (DRS.BaseInst == I) in isBaseInst()
[all …]
DGuardWidening.cpp583 auto *BaseInst = dyn_cast<Instruction>(Check.getBase()); in parseRangeChecks() local
584 assert((!BaseInst || DT.isReachableFromEntry(BaseInst->getParent())) && in parseRangeChecks()
DRewriteStatepointsForGC.cpp950 auto *BaseInst = ExtractElementInst::Create( in findBasePointer() local
952 BaseInst->setMetadata("is_base_value", MDNode::get(I->getContext(), {})); in findBasePointer()
953 States[I] = BDVState(BDVState::Base, BaseInst); in findBasePointer()
997 Instruction *BaseInst = MakeBaseInstPlaceholder(I); in findBasePointer() local
999 BaseInst->setMetadata("is_base_value", MDNode::get(I->getContext(), {})); in findBasePointer()
1000 States[I] = BDVState(BDVState::Conflict, BaseInst); in findBasePointer()
/external/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp343 Instruction *BaseInst; member
911 DRS.BaseInst = nullptr; in findRootsBase()
914 if (!DRS.BaseInst) { in findRootsBase()
915 DRS.BaseInst = KV.second; in findRootsBase()
924 DRS.BaseInst = KV.second; in findRootsBase()
967 const auto *ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(V.BaseInst)); in findRoots()
1014 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1020 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions()
1054 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1083 if (DRS.BaseInst == I) in isBaseInst()
[all …]
DGuardWidening.cpp526 auto *BaseInst = dyn_cast<Instruction>(Check.getBase()); in parseRangeChecks() local
527 assert((!BaseInst || DT.isReachableFromEntry(BaseInst->getParent())) && in parseRangeChecks()
DRewriteStatepointsForGC.cpp825 auto *BaseInst = ExtractElementInst::Create( in findBasePointer() local
827 BaseInst->setMetadata("is_base_value", MDNode::get(I->getContext(), {})); in findBasePointer()
828 States[I] = BDVState(BDVState::Base, BaseInst); in findBasePointer()
867 Instruction *BaseInst = MakeBaseInstPlaceholder(I); in findBasePointer() local
869 BaseInst->setMetadata("is_base_value", MDNode::get(I->getContext(), {})); in findBasePointer()
870 States[I] = BDVState(BDVState::Conflict, BaseInst); in findBasePointer()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp5576 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchCombinedBaseIndex() local
5577 if (BaseInst == nullptr) in matchCombinedBaseIndex()
5580 if (BaseInst->getSrcSize() < 2) in matchCombinedBaseIndex()
5582 auto *Var1 = llvm::dyn_cast<Variable>(BaseInst->getSrc(0)); in matchCombinedBaseIndex()
5587 auto *Var2 = llvm::dyn_cast<Variable>(BaseInst->getSrc(1)); in matchCombinedBaseIndex()
5593 if (!isAddOrSub(BaseInst, &_) || in matchCombinedBaseIndex()
5600 *Reason = BaseInst; in matchCombinedBaseIndex()
5698 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchOffsetBase() local
5699 if (BaseInst == nullptr) { in matchOffsetBase()
5704 auto *ArithInst = llvm::dyn_cast<const InstArithmetic>(BaseInst); in matchOffsetBase()
[all …]
DIceTargetLoweringX86BaseImpl.h5475 auto *BaseInst = VMetadata->getSingleDefinition(*Base);
5476 if (BaseInst == nullptr)
5479 if (BaseInst->getSrcSize() < 2)
5481 if (auto *Var1 = llvm::dyn_cast<Variable>(BaseInst->getSrc(0))) {
5484 if (auto *Var2 = llvm::dyn_cast<Variable>(BaseInst->getSrc(1))) {
5487 if (isAdd(BaseInst) &&
5493 return BaseInst;
DIceTargetLoweringMIPS32.cpp5298 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchOffsetBase() local
5299 if (BaseInst == nullptr) { in matchOffsetBase()
5304 auto *ArithInst = llvm::dyn_cast<const InstArithmetic>(BaseInst); in matchOffsetBase()
5357 *Reason = BaseInst; in matchOffsetBase()