Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp379 Instruction *BaseInst; member
896 if (hasUsesOutsideLoop(DRS.BaseInst, L)) in validateRootSet()
908 const auto *ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst)); in validateRootSet()
948 DRS.BaseInst = nullptr; in findRootsBase()
953 if (!DRS.BaseInst) { in findRootsBase()
954 DRS.BaseInst = KV.second; in findRootsBase()
967 DRS.BaseInst = KV.second; in findRootsBase()
1038 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1044 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions()
1078 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
[all …]
DGuardWidening.cpp626 auto *BaseInst = dyn_cast<Instruction>(Check.getBase()); in parseRangeChecks() local
627 assert((!BaseInst || DT.isReachableFromEntry(BaseInst->getParent())) && in parseRangeChecks()
DRewriteStatepointsForGC.cpp977 auto *BaseInst = ExtractElementInst::Create( in findBasePointer() local
979 BaseInst->setMetadata("is_base_value", MDNode::get(I->getContext(), {})); in findBasePointer()
980 States[I] = BDVState(BDVState::Base, BaseInst); in findBasePointer()
1044 Instruction *BaseInst = MakeBaseInstPlaceholder(I); in findBasePointer() local
1046 BaseInst->setMetadata("is_base_value", MDNode::get(I->getContext(), {})); in findBasePointer()
1047 States[I] = BDVState(BDVState::Conflict, BaseInst); in findBasePointer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp369 Instruction *BaseInst; member
892 const auto *ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst)); in validateRootSet()
932 DRS.BaseInst = nullptr; in findRootsBase()
937 if (!DRS.BaseInst) { in findRootsBase()
938 DRS.BaseInst = KV.second; in findRootsBase()
951 DRS.BaseInst = KV.second; in findRootsBase()
1022 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1028 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions()
1062 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1090 if (DRS.BaseInst == I) in isBaseInst()
[all …]
DGuardWidening.cpp626 auto *BaseInst = dyn_cast<Instruction>(Check.getBase()); in parseRangeChecks() local
627 assert((!BaseInst || DT.isReachableFromEntry(BaseInst->getParent())) && in parseRangeChecks()
DRewriteStatepointsForGC.cpp947 auto *BaseInst = ExtractElementInst::Create( in findBasePointer() local
949 BaseInst->setMetadata("is_base_value", MDNode::get(I->getContext(), {})); in findBasePointer()
950 States[I] = BDVState(BDVState::Base, BaseInst); in findBasePointer()
994 Instruction *BaseInst = MakeBaseInstPlaceholder(I); in findBasePointer() local
996 BaseInst->setMetadata("is_base_value", MDNode::get(I->getContext(), {})); in findBasePointer()
997 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/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVInstrInfoA.td148 multiclass AMOPat<string AtomicOp, string BaseInst> {
150 !cast<RVInst>(BaseInst)>;
152 !cast<RVInst>(BaseInst#"_AQ")>;
154 !cast<RVInst>(BaseInst#"_RL")>;
156 !cast<RVInst>(BaseInst#"_AQ_RL")>;
158 !cast<RVInst>(BaseInst#"_AQ_RL")>;
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVInstrInfoA.td148 multiclass AMOPat<string AtomicOp, string BaseInst> {
150 !cast<RVInst>(BaseInst)>;
152 !cast<RVInst>(BaseInst#"_AQ")>;
154 !cast<RVInst>(BaseInst#"_RL")>;
156 !cast<RVInst>(BaseInst#"_AQ_RL")>;
158 !cast<RVInst>(BaseInst#"_AQ_RL")>;
/external/llvm-project/llvm/lib/Target/PowerPC/Disassembler/
DPPCDisassembler.cpp399 uint32_t BaseInst = ReadFunc(Bytes.data() + 4); in getInstruction() local
400 uint64_t Inst = BaseInst | (uint64_t)Prefix << 32; in getInstruction()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp5573 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchCombinedBaseIndex() local
5574 if (BaseInst == nullptr) in matchCombinedBaseIndex()
5577 if (BaseInst->getSrcSize() < 2) in matchCombinedBaseIndex()
5579 auto *Var1 = llvm::dyn_cast<Variable>(BaseInst->getSrc(0)); in matchCombinedBaseIndex()
5584 auto *Var2 = llvm::dyn_cast<Variable>(BaseInst->getSrc(1)); in matchCombinedBaseIndex()
5590 if (!isAddOrSub(BaseInst, &_) || in matchCombinedBaseIndex()
5597 *Reason = BaseInst; in matchCombinedBaseIndex()
5695 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchOffsetBase() local
5696 if (BaseInst == nullptr) { in matchOffsetBase()
5701 auto *ArithInst = llvm::dyn_cast<const InstArithmetic>(BaseInst); in matchOffsetBase()
[all …]
DIceTargetLoweringX86BaseImpl.h5554 auto *BaseInst = VMetadata->getSingleDefinition(*Base);
5555 if (BaseInst == nullptr)
5558 if (BaseInst->getSrcSize() < 2)
5560 if (auto *Var1 = llvm::dyn_cast<Variable>(BaseInst->getSrc(0))) {
5563 if (auto *Var2 = llvm::dyn_cast<Variable>(BaseInst->getSrc(1))) {
5566 if (isAdd(BaseInst) &&
5572 return BaseInst;
DIceTargetLoweringMIPS32.cpp5283 const Inst *BaseInst = VMetadata->getSingleDefinition(*Base); in matchOffsetBase() local
5284 if (BaseInst == nullptr) { in matchOffsetBase()
5289 auto *ArithInst = llvm::dyn_cast<const InstArithmetic>(BaseInst); in matchOffsetBase()
5342 *Reason = BaseInst; in matchOffsetBase()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DBUFInstructions.td516 multiclass MUBUF_Pseudo_Load_Pats<string BaseInst, ValueType load_vt = i32, SDPatternOperator ld = …
517 def : MUBUF_Offset_Load_Pat<!cast<Instruction>(BaseInst#"_OFFSET"), load_vt, ld>;
518 def : MUBUF_Addr64_Load_Pat<!cast<Instruction>(BaseInst#"_ADDR64"), load_vt, ld>;
/external/llvm-project/llvm/lib/Target/AMDGPU/
DBUFInstructions.td520 multiclass MUBUF_Pseudo_Load_Pats<string BaseInst, ValueType load_vt = i32, SDPatternOperator ld = …
521 def : MUBUF_Offset_Load_Pat<!cast<Instruction>(BaseInst#"_OFFSET"), load_vt, ld>;
522 def : MUBUF_Addr64_Load_Pat<!cast<Instruction>(BaseInst#"_ADDR64"), load_vt, ld>;