Home
last modified time | relevance | path

Searched refs:IA (Results 1 – 25 of 111) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.cpp83 void DeadCodeElimination::scanInstr(NodeAddr<InstrNode*> IA, in scanInstr() argument
85 if (!DFG.IsCode<NodeAttrs::Stmt>(IA)) in scanInstr()
87 if (!isLiveInstr(IA)) in scanInstr()
89 for (NodeAddr<RefNode*> RA : IA.Addr->members(DFG)) { in scanInstr()
97 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in processDef() local
98 for (NodeAddr<UseNode*> UA : IA.Addr->members_if(DFG.IsUse, DFG)) { in processDef()
102 for (NodeAddr<DefNode*> TA : DFG.getRelatedRefs(IA, DA)) in processDef()
130 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) in collect()
131 scanInstr(IA, WorkQ); in collect()
151 auto IsDead = [this] (NodeAddr<InstrNode*> IA) -> bool { in collect() argument
[all …]
H A DRDFCopy.cpp80 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()
205 NodeAddr<InstrNode*> IA = UA.Addr->getOwner(DFG); in run() local
206 assert(DFG.IsCode<NodeAttrs::Stmt>(IA)); in run()
[all …]
H A DHexagonRDFOpt.cpp100 bool rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove);
101 void removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum);
194 void HexagonDCE::removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum) { in removeOperand() argument
195 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in removeOperand()
205 NodeList Refs = IA.Addr->members(DFG); in removeOperand()
220 bool HexagonDCE::rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove) { in rewrite() argument
221 if (!getDFG().IsCode<NodeAttrs::Stmt>(IA)) in rewrite()
224 MachineInstr &MI = *NodeAddr<StmtNode*>(IA).Addr->getCode(); in rewrite()
263 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) { in rewrite()
266 Defs = DFG.getRelatedRefs(IA, DA); in rewrite()
[all …]
H A DHexagonOptAddrMode.cpp183 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in canRemoveAddasl() local
186 NodeAddr<RefNode*> AA = LV->getNearestAliasedRef(OffsetRR, IA); in canRemoveAddasl()
191 MachineInstr &UseMI = *NodeAddr<StmtNode *>(IA).Addr->getCode(); in canRemoveAddasl()
305 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in isSafeToExtLR() local
310 NodeAddr<RefNode*> AA = LV->getNearestAliasedRef(LRExtRR, IA); in isSafeToExtLR()
324 MachineInstr *UseMI = NodeAddr<StmtNode *>(IA).Addr->getCode(); in isSafeToExtLR()
769 for (auto IA : BA.Addr->members(*DFG)) { in processBlock() local
770 if (!DFG->IsCode<NodeAttrs::Stmt>(IA)) in processBlock()
773 NodeAddr<StmtNode *> SA = IA; in processBlock()
783 << Print<NodeAddr<InstrNode *>>(IA, *DFG) << '\n'); in processBlock()
H A DRDFCopy.h54 void updateMap(NodeAddr<InstrNode*> IA);
H A DRDFDeadCode.h59 void scanInstr(NodeAddr<InstrNode*> IA, SetQueue<NodeId> &WorkQ);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFGraph.cpp1027 void DataFlowGraph::pushAllDefs(Instr IA, DefStackMap &DefM) { in pushAllDefs() argument
1028 pushClobbers(IA, DefM); in pushAllDefs()
1029 pushDefs(IA, DefM); in pushAllDefs()
1034 void DataFlowGraph::pushClobbers(Instr IA, DefStackMap &DefM) { in pushClobbers() argument
1050 for (Def DA : IA.Addr->members_if(IsDef, *this)) { in pushClobbers()
1056 NodeList Rel = getRelatedRefs(IA, DA); in pushClobbers()
1080 void DataFlowGraph::pushDefs(Instr IA, DefStackMap &DefM) { in pushDefs() argument
1098 for (Def DA : IA.Addr->members_if(IsDef, *this)) { in pushDefs()
1104 NodeList Rel = getRelatedRefs(IA, DA); in pushDefs()
1111 MachineInstr *MI = Stmt(IA).Addr->getCode(); in pushDefs()
[all …]
H A DRDFLiveness.cpp159 auto Block = [this](NodeAddr<InstrNode *> IA) -> MachineBasicBlock * { in getAllReachingDefs() argument
160 if (IA.Addr->getKind() == NodeAttrs::Stmt) in getAllReachingDefs()
161 return NodeAddr<StmtNode *>(IA).Addr->getCode()->getParent(); 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()
358 NodeAddr<InstrNode *> IA) { in getNearestAliasedRef() argument
359 NodeAddr<BlockNode *> BA = IA.Addr->getOwner(DFG); in getNearestAliasedRef()
[all …]
H A DLexicalScopes.cpp133 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 DTargetRegisterInfo.cpp346 for (SuperRegClassIterator IA(RCA, this, true); IA.isValid(); ++IA) { in getCommonSuperRegClass() local
347 unsigned FinalA = composeSubRegIndices(IA.getSubReg(), SubA); in getCommonSuperRegClass()
351 firstCommonClass(IA.getMask(), IB.getMask(), this); in getCommonSuperRegClass()
366 *BestPreA = IA.getSubReg(); in getCommonSuperRegClass()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp118 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 DMveEmitter.cpp908 const ImmediateArg &IA = kv.second; in genSema() local
911 switch (IA.boundsType) { in genSema()
913 lo = IA.i1; in genSema()
914 hi = IA.i2; in genSema()
918 hi = llvm::APInt::getMaxValue(IA.i1).zext(128); in genSema()
927 unsigned ArgTypeBits = IA.ArgType->sizeInBits(); in genSema()
935 if (!IA.ExtraCheckType.empty()) { in genSema()
937 if (!IA.ExtraCheckArgs.empty()) { in genSema()
939 StringRef Arg = IA.ExtraCheckArgs; in genSema()
941 tmp = utostr(IA.ArgType->sizeInBits()); in genSema()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCRegisterInfo.cpp210 MCRegUnitIterator IA = RangeA.begin(), EA = RangeA.end(); in regsOverlap() local
214 if (*IA == *IB) in regsOverlap()
216 } while (*IA < *IB ? ++IA != EA : ++IB != EB); in regsOverlap()
H A DMCCodeView.cpp293 MCCVFunctionInfo::LineInfo &IA = I->second; in getFunctionLineEntries() local
298 FilteredLines.back().getFileNum() != IA.File || in getFunctionLineEntries()
299 FilteredLines.back().getLine() != IA.Line || in getFunctionLineEntries()
300 FilteredLines.back().getColumn() != IA.Col) { in getFunctionLineEntries()
302 IA.File, IA.Line, IA.Col, false, in getFunctionLineEntries()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRDFGraph.h777 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 DLexicalScopes.h186 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/CodeGen/AsmPrinter/
H A DDwarfDebug.h79 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)
243 : DbgEntity(V, IA, DbgVariableKind) {}
294 DbgLabel(const DILabel *L, const DILocation *IA, const MCSymbol *Sym = nullptr)
295 : DbgEntity(L, IA, DbgLabelKind), Sym(Sym) {}
136 DbgVariable(const DILocalVariable * V,const DILocation * IA) DbgVariable() argument
240 DbgEntity(L,IA,DbgLabelKind) DbgEntity() argument
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp631 const auto *IA = MAM.getCachedResult<InlineAdvisorAnalysis>(M); in run() local
632 if (!IA) in run()
635 IA->getAdvisor()->print(OS); in run()
650 const auto *IA = MAMProxy.getCachedResult<InlineAdvisorAnalysis>(M); in run() local
651 if (!IA) in run()
654 IA->getAdvisor()->print(OS); in run()
H A DTypeBasedAliasAnalysis.cpp506 int IA = PathA.size() - 1; in getLeastCommonType() local
510 while (IA >= 0 && IB >= 0) { in getLeastCommonType()
511 if (PathA[IA] == PathB[IB]) in getLeastCommonType()
512 Ret = PathA[IA]; in getLeastCommonType()
515 --IA; in getLeastCommonType()
H A DIRSimilarityIdentifier.cpp815 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/GlobalISel/
H A DInlineAsmLowering.cpp48 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/Driver/ToolChains/
H A DHIPUtility.cpp105 if (const auto *IA = dyn_cast<InputAction>(CurrentAction)) { in populateSymbols() local
106 std::string ID = IA->getId().str(); in populateSymbols()
114 if (IA->getInputArg().getNumValues() == 0) in populateSymbols()
116 const char *Filename = IA->getInputArg().getValue(); in populateSymbols()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMScheduleM7.td243 (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 DARMScheduleSwift.td482 (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|D
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp364 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()

12345