/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | RDFDeadCode.cpp | 85 if (!DFG.IsCode<NodeAttrs::Stmt>(IA)) in scanInstr() 87 if (!isLiveInstr(IA)) in scanInstr() 97 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in processDef() local 131 scanInstr(IA, WorkQ); in collect() 163 if (DFG.IsCode<NodeAttrs::Stmt>(IA)) in collect() 164 if (isLiveInstr(IA) || DFG.hasUntrackedRef(IA)) in collect() 166 if (IsDead(IA)) { in collect() 167 DeadInstrs.insert(IA.Id); in collect() 231 for (NodeAddr<InstrNode*> IA : DINs) { in erase() 233 BA.Addr->removeMember(IA, DFG); in erase() [all …]
|
H A D | RDFCopy.cpp | 80 void CopyPropagation::updateMap(NodeAddr<InstrNode*> IA) { in updateMap() argument 82 for (NodeAddr<RefNode*> RA : IA.Addr->members(DFG)) in updateMap() 100 R.second[IA.Id] = F->second.top()->Id; in updateMap() 109 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in scanBlock() 110 if (DFG.IsCode<NodeAttrs::Stmt>(IA)) { in scanBlock() 111 NodeAddr<StmtNode*> SA = IA; in scanBlock() 117 updateMap(IA); in scanBlock() 118 DFG.pushAllDefs(IA, DefM); in scanBlock() 206 assert(DFG.IsCode<NodeAttrs::Stmt>(IA)); in run() 207 if (RDefSR[IA.Id] != RDefSR_SA) in run() [all …]
|
H A D | HexagonRDFOpt.cpp | 97 bool rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove); 98 void removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum); 191 void HexagonDCE::removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum) { in removeOperand() argument 192 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in removeOperand() 202 NodeList Refs = IA.Addr->members(DFG); in removeOperand() 217 bool HexagonDCE::rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove) { in rewrite() argument 218 if (!getDFG().IsCode<NodeAttrs::Stmt>(IA)) in rewrite() 221 MachineInstr &MI = *NodeAddr<StmtNode*>(IA).Addr->getCode(); in rewrite() 260 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) { in rewrite() 263 Defs = DFG.getRelatedRefs(IA, DA); in rewrite() [all …]
|
H A D | HexagonOptAddrMode.cpp | 181 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in canRemoveAddasl() local 184 NodeAddr<RefNode*> AA = LV->getNearestAliasedRef(OffsetRR, IA); in canRemoveAddasl() 189 MachineInstr &UseMI = *NodeAddr<StmtNode *>(IA).Addr->getCode(); in canRemoveAddasl() 303 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in isSafeToExtLR() local 308 NodeAddr<RefNode*> AA = LV->getNearestAliasedRef(LRExtRR, IA); in isSafeToExtLR() 322 MachineInstr *UseMI = NodeAddr<StmtNode *>(IA).Addr->getCode(); in isSafeToExtLR() 767 for (auto IA : BA.Addr->members(*DFG)) { in processBlock() local 768 if (!DFG->IsCode<NodeAttrs::Stmt>(IA)) in processBlock() 771 NodeAddr<StmtNode *> SA = IA; in processBlock() 781 << Print<NodeAddr<InstrNode *>>(IA, *DFG) << '\n'); in processBlock()
|
H A D | RDFCopy.h | 54 void updateMap(NodeAddr<InstrNode*> IA);
|
H A D | RDFDeadCode.h | 59 void scanInstr(NodeAddr<InstrNode*> IA, SetQueue<NodeId> &WorkQ);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RDFGraph.cpp | 1028 pushClobbers(IA, DefM); in pushAllDefs() 1029 pushDefs(IA, DefM); in pushAllDefs() 1137 assert(IA.Id != 0 && RA.Id != 0); in getRelatedRefs() 1143 RA = getNextRelated(IA, RA); in getRelatedRefs() 1164 assert(IA.Id != 0 && RA.Id != 0); in getNextRelated() 1205 assert(IA.Id != 0 && RA.Id != 0); in locateNextRef() 1210 NA = getNextRelated(IA, RA); in locateNextRef() 1226 assert(IA.Id != 0 && RA.Id != 0); in getNextShadow() 1601 linkStmtRefs(DefM, IA, IsUse); in linkBlockRefs() 1606 pushClobbers(IA, DefM); in linkBlockRefs() [all …]
|
H A D | RDFLiveness.cpp | 160 if (IA.Addr->getKind() == NodeAttrs::Stmt) in getAllReachingDefs() 162 assert(IA.Addr->getKind() == NodeAttrs::Phi); in getAllReachingDefs() 163 NodeAddr<PhiNode *> PA = IA; in getAllReachingDefs() 180 NodeAddr<InstrNode *> IA = TA.Addr->getOwner(DFG); in getAllReachingDefs() local 181 Owners[TA.Id] = IA; in getAllReachingDefs() 182 Blocks[Block(IA)].push_back(IA.Id); in getAllReachingDefs() 359 NodeAddr<BlockNode *> BA = IA.Addr->getOwner(DFG); in getNearestAliasedRef() 361 NodeId FindId = IA.Id; in getNearestAliasedRef() 752 NBMap.insert(std::make_pair(IA.Id, BB)); in computeLiveIns() 1127 NodeAddr<InstrNode *> IA = I; in traverse() local [all …]
|
H A D | LexicalScopes.cpp | 133 if (auto *IA = DL->getInlinedAt()) { in findLexicalScope() local 134 auto I = InlinedLexicalScopeMap.find(std::make_pair(Scope, IA)); in findLexicalScope() 143 const DILocation *IA) { in getOrCreateLexicalScope() argument 144 if (IA) { in getOrCreateLexicalScope() 148 return getOrCreateLexicalScope(IA); in getOrCreateLexicalScope() 152 return getOrCreateInlinedScope(Scope, IA); in getOrCreateLexicalScope()
|
H A D | TargetRegisterInfo.cpp | 350 for (SuperRegClassIterator IA(RCA, this, true); IA.isValid(); ++IA) { in getCommonSuperRegClass() local 351 unsigned FinalA = composeSubRegIndices(IA.getSubReg(), SubA); in getCommonSuperRegClass() 355 firstCommonClass(IA.getMask(), IB.getMask(), this); in getCommonSuperRegClass() 370 *BestPreA = IA.getSubReg(); in getCommonSuperRegClass()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCRegisterInfo.cpp | 138 MCRegUnitIterator IA = RangeA.begin(), EA = RangeA.end(); in regsOverlap() local 142 if (*IA == *IB) in regsOverlap() 144 } while (*IA < *IB ? ++IA != EA : ++IB != EB); in regsOverlap()
|
H A D | MCCodeView.cpp | 296 MCCVFunctionInfo::LineInfo &IA = I->second; in getFunctionLineEntries() local 301 FilteredLines.back().getFileNum() != IA.File || in getFunctionLineEntries() 302 FilteredLines.back().getLine() != IA.Line || in getFunctionLineEntries() 303 FilteredLines.back().getColumn() != IA.Col) { in getFunctionLineEntries() 305 IA.File, IA.Line, IA.Col, false, in getFunctionLineEntries()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugLoc.cpp | 118 while (DILocation *IA = CurInlinedAt->getInlinedAt()) { in appendInlinedAt() local 120 if (auto *Found = Cache[IA]) { in appendInlinedAt() 125 InlinedAtLocations.push_back(IA); in appendInlinedAt() 126 CurInlinedAt = IA; in appendInlinedAt()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | MveEmitter.cpp | 907 const ImmediateArg &IA = kv.second; in genSema() local 910 switch (IA.boundsType) { in genSema() 912 lo = IA.i1; in genSema() 913 hi = IA.i2; in genSema() 934 if (!IA.ExtraCheckType.empty()) { in genSema() 936 if (!IA.ExtraCheckArgs.empty()) { in genSema() 938 StringRef Arg = IA.ExtraCheckArgs; in genSema() 1407 IA.i1 = Param->sizeInBits(); in ACLEIntrinsic() 1410 IA.i1 = 0; in ACLEIntrinsic() 1416 IA.i2 = IA.i1 + T->sizeInBits() - 1; in ACLEIntrinsic() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | RDFGraph.h | 777 void pushAllDefs(Instr IA, DefStackMap &DM); 794 Ref getNextRelated(Instr IA, Ref RA) const; 795 Ref getNextShadow(Instr IA, Ref RA, bool Create); 797 NodeList getRelatedRefs(Instr IA, Ref RA) const; 863 std::pair<Ref, Ref> locateNextRef(Instr IA, Ref RA, Predicate P) const; 872 void pushClobbers(Instr IA, DefStackMap &DM); 873 void pushDefs(Instr IA, DefStackMap &DM); 874 template <typename T> void linkRefUp(Instr IA, NodeAddr<T> TA, DefStack &DS); 883 Instr IA = RA.Addr->getOwner(*this); in removeFromOwner() local 884 IA.Addr->removeMember(RA, *this); in removeFromOwner()
|
H A D | LexicalScopes.h | 186 LexicalScope *findInlinedScope(const DILocalScope *N, const DILocation *IA) { in findInlinedScope() argument 187 auto I = InlinedLexicalScopeMap.find(std::make_pair(N, IA)); in findInlinedScope() 204 const DILocation *IA = nullptr);
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineAdvisor.cpp | 630 const auto *IA = MAM.getCachedResult<InlineAdvisorAnalysis>(M); in run() local 631 if (!IA) in run() 634 IA->getAdvisor()->print(OS); in run() 649 const auto *IA = MAMProxy.getCachedResult<InlineAdvisorAnalysis>(M); in run() local 650 if (!IA) in run() 653 IA->getAdvisor()->print(OS); in run()
|
H A D | TypeBasedAliasAnalysis.cpp | 505 int IA = PathA.size() - 1; in getLeastCommonType() local 509 while (IA >= 0 && IB >= 0) { in getLeastCommonType() 510 if (PathA[IA] == PathB[IB]) in getLeastCommonType() 511 Ret = PathA[IA]; in getLeastCommonType() 514 --IA; in getLeastCommonType()
|
H A D | IRSimilarityIdentifier.cpp | 815 Instruction *IA = ItA->Inst; in compareStructure() local 825 unsigned InstValA = A.ValueToNumber.find(IA)->second; in compareStructure() 840 if (IA->isCommutative() && !isa<FPMathOperator>(IA) && in compareStructure() 841 !isa<IntrinsicInst>(IA)) { in compareStructure() 866 if (!(isa<BranchInst>(IA) && isa<BranchInst>(IB)) && in compareStructure() 867 !(isa<PHINode>(IA) && isa<PHINode>(IB))) in compareStructure()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.h | 79 DbgEntity(const DINode *N, const DILocation *IA, DbgEntityKind ID) in DbgEntity() argument 80 : Entity(N), InlinedAt(IA), SubclassID(ID) {} in DbgEntity() 242 DbgVariable(const DILocalVariable *V, const DILocation *IA) in DbgVariable() argument 243 : DbgEntity(V, IA, DbgVariableKind) {} in DbgVariable() 294 DbgLabel(const DILabel *L, const DILocation *IA, const MCSymbol *Sym = nullptr) 295 : DbgEntity(L, IA, DbgLabelKind), Sym(Sym) {} in DbgEntity() argument
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | InlineAsmLowering.cpp | 48 const InlineAsm *IA = cast<InlineAsm>(CB.getCalledOperand()); in ExtraFlags() local 49 if (IA->hasSideEffects()) in ExtraFlags() 51 if (IA->isAlignStack()) in ExtraFlags() 55 Flags |= IA->getDialect() * InlineAsm::Extra_AsmDialect; in ExtraFlags() 219 const InlineAsm *IA = cast<InlineAsm>(Call.getCalledOperand()); in lowerInlineAsm() local 300 .addExternalSymbol(IA->getAsmString().c_str()) in lowerInlineAsm()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | MicrosoftCXXABI.cpp | 233 MSInheritanceAttr *IA = getAttr<MSInheritanceAttr>(); in getMSInheritanceModel() local 234 assert(IA && "Expected MSInheritanceAttr on the CXXRecordDecl!"); in getMSInheritanceModel() 235 return IA->getInheritanceModel(); in getMSInheritanceModel()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMScheduleM7.td | 243 (instregex "(t|t2)LDM(DB|IA)$")>; 245 (instregex "(t|t2)STM(DB|IA)$")>; 247 (instregex "(t|t2)LDM(DB|IA)_UPD$", "tPOP")>; 249 (instregex "(t|t2)STM(DB|IA)_UPD$", "tPUSH")>; 310 (instregex "VLDM(S|D|Q)(DB|IA)$")>; 312 (instregex "VSTM(S|D|Q)(DB|IA)$")>; 314 (instregex "VLDM(S|D|Q)(DB|IA)_UPD$")>; 316 (instregex "VSTM(S|D|Q)(DB|IA)_UPD$")>;
|
H A D | ARMScheduleSwift.td | 482 (instregex "LDM(IA|DA|DB|IB)$", "t2LDM(IA|DA|DB|IB)$", 483 "(t|sys)LDM(IA|DA|DB|IB)$")>; 486 "LDM(IA|DA|DB|IB)_UPD", "(t2|sys|t)LDM(IA|DA|DB|IB)_UPD")>; 535 (instregex "STM(IB|IA|DB|DA)$", "(t2|sys|t)STM(IB|IA|DB|DA)$")>; 537 (instregex "STM(IB|IA|DB|DA)_UPD", "(t2|sys|t)STM(IB|IA|DB|DA)_UPD", 819 def : InstRW<[SwiftWriteVLDM], (instregex "VLDM[SD](IA|DB)$")>; 822 (instregex "VLDM[SD](IA|DB)_UPD$")>; 855 def : InstRW<[SwiftWriteVSTM], (instregex "VSTM[SD](IA|DB)$")>; 858 (instregex "VSTM[SD](IA|DB)_UPD")>;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ValueMapper.cpp | 364 if (const InlineAsm *IA = dyn_cast<InlineAsm>(V)) { in mapValue() local 366 FunctionType *NewTy = IA->getFunctionType(); in mapValue() 370 if (NewTy != IA->getFunctionType()) in mapValue() 371 V = InlineAsm::get(NewTy, IA->getAsmString(), IA->getConstraintString(), in mapValue() 372 IA->hasSideEffects(), IA->isAlignStack(), in mapValue() 373 IA->getDialect(), IA->canThrow()); in mapValue()
|