Home
last modified time | relevance | path

Searched refs:Dep (Results 1 – 25 of 34) sorted by relevance

12

/external/llvm/include/llvm/CodeGen/
DScheduleDAG.h76 PointerIntPair<SUnit *, 2, Kind> Dep;
98 SDep() : Dep(nullptr, Data) {} in SDep()
102 : Dep(S, kind), Contents() { in SDep()
120 : Dep(S, Order), Contents(), Latency(0) { in SDep()
403 SDep Dep(SU, SDep::Barrier);
406 Dep.setLatency(TrueMemOrderLatency);
407 return addPred(Dep);
489 if (Dep != Other.Dep)
491 switch (Dep.getInt()) {
503 inline SUnit *SDep::getSUnit() const { return Dep.getPointer(); }
[all …]
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp836 for (const DataDep &Dep : Deps) { in computeInstrDepths() local
838 BlockInfo[Dep.DefMI->getParent()->getNumber()]; in computeInstrDepths()
843 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in computeInstrDepths()
845 if (!Dep.DefMI->isTransient()) in computeInstrDepths()
847 .computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, Dep.UseOp); in computeInstrDepths()
929 static bool pushDepHeight(const DataDep &Dep, const MachineInstr &UseMI, in pushDepHeight() argument
934 if (!Dep.DefMI->isTransient()) in pushDepHeight()
935 UseHeight += SchedModel.computeOperandLatency(Dep.DefMI, Dep.DefOp, &UseMI, in pushDepHeight()
936 Dep.UseOp); in pushDepHeight()
941 std::tie(I, New) = Heights.insert(std::make_pair(Dep.DefMI, UseHeight)); in pushDepHeight()
[all …]
DMachinePipeliner.cpp292 bool isBackedge(SUnit *Source, const SDep &Dep) { in isBackedge() argument
293 if (Dep.getKind() != SDep::Anti) in isBackedge()
295 return Source->getInstr()->isPHI() || Dep.getSUnit()->getInstr()->isPHI(); in isBackedge()
299 static bool isOrder(SUnit *Source, const SDep &Dep) { in isOrder() argument
300 if (Dep.getKind() != SDep::Order) in isOrder()
303 !Dep.getSUnit()->getInstr()->isPHI()); in isOrder()
306 bool isLoopCarriedOrder(SUnit *Source, const SDep &Dep, bool isSucc = true);
309 unsigned getLatency(SUnit *Source, const SDep &Dep) { in getLatency() argument
312 if (Dep.getKind() == SDep::Anti) { in getLatency()
314 return Dep.getSUnit()->Latency; in getLatency()
[all …]
DScheduleDAGInstrs.cpp303 SDep Dep; in addPhysRegDataDeps() local
305 Dep = SDep(SU, SDep::Artificial); in addPhysRegDataDeps()
310 Dep = SDep(SU, SDep::Data, *Alias); in addPhysRegDataDeps()
313 Dep.setLatency( in addPhysRegDataDeps()
317 ST.adjustSchedDependency(SU, UseSU, Dep); in addPhysRegDataDeps()
318 UseSU->addPred(Dep); in addPhysRegDataDeps()
351 SDep Dep(SU, Kind, /*Reg=*/*Alias); in addPhysRegDeps() local
352 Dep.setLatency( in addPhysRegDeps()
354 DefSU->addPred(Dep); in addPhysRegDeps()
461 SDep Dep(SU, SDep::Data, Reg); in addVRegDefDeps() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryDependenceAnalysis.cpp682 MemDepResult Dep; in getNonLocalCallDependency() local
685 Dep = getCallSiteDependencyFrom(QueryCS, isReadonlyCall,ScanPos, DirtyBB); in getNonLocalCallDependency()
689 Dep = MemDepResult::getNonLocal(); in getNonLocalCallDependency()
691 Dep = MemDepResult::getNonFuncLocal(); in getNonLocalCallDependency()
697 ExistingResult->setResult(Dep); in getNonLocalCallDependency()
699 Cache.push_back(NonLocalDepEntry(DirtyBB, Dep)); in getNonLocalCallDependency()
703 if (!Dep.isNonLocal()) { in getNonLocalCallDependency()
706 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
797 MemDepResult Dep = getPointerDependencyFrom(Loc, isLoad, ScanPos, BB); in GetNonLocalInfoForBlock() local
802 ExistingResult->setResult(Dep); in GetNonLocalInfoForBlock()
[all …]
DMemDepPrinter.cpp38 typedef std::pair<InstTypePair, const BasicBlock *> Dep; typedef
39 typedef SmallSetVector<Dep, 4> DepSet;
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DScheduleDAG.h57 PointerIntPair<SUnit *, 2, Kind> Dep;
92 SDep() : Dep(0, Data) {} in SDep()
98 : Dep(S, kind), Contents(), Latency(latency) { in Dep() function
120 if (Dep != Other.Dep || Latency != Other.Latency) return false;
121 switch (Dep.getInt()) {
155 return Dep.getPointer(); in getSUnit()
160 Dep.setPointer(SU); in setSUnit()
165 return Dep.getInt(); in getKind()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp838 MemDepResult Dep; in getNonLocalCallDependency() local
841 Dep = in getNonLocalCallDependency()
846 Dep = MemDepResult::getNonLocal(); in getNonLocalCallDependency()
848 Dep = MemDepResult::getNonFuncLocal(); in getNonLocalCallDependency()
854 ExistingResult->setResult(Dep); in getNonLocalCallDependency()
856 Cache.push_back(NonLocalDepEntry(DirtyBB, Dep)); in getNonLocalCallDependency()
860 if (!Dep.isNonLocal()) { in getNonLocalCallDependency()
863 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
970 MemDepResult Dep = in GetNonLocalInfoForBlock() local
976 ExistingResult->setResult(Dep); in GetNonLocalInfoForBlock()
[all …]
DMemDepPrinter.cpp37 typedef std::pair<InstTypePair, const BasicBlock *> Dep; typedef
38 typedef SmallSetVector<Dep, 4> DepSet;
/external/clang/test/PCH/
Dcxx-templates.cpp37 Dep<A>::Ty ty; in test()
38 Dep<A> a; in test()
Dcxx-templates.h44 struct Dep {
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp153 for (const auto &Dep : *Deps) { in findStoreToLoadDependences()
154 Instruction *Source = Dep.getSource(LAI); in findStoreToLoadDependences()
155 Instruction *Destination = Dep.getDestination(LAI); in findStoreToLoadDependences()
157 if (Dep.Type == MemoryDepChecker::Dependence::Unknown) { in findStoreToLoadDependences()
165 if (Dep.isBackward()) in findStoreToLoadDependences()
171 assert(Dep.isForward() && "Needs to be a forward dependence"); in findStoreToLoadDependences()
DLoopDistribute.cpp572 for (auto &Dep : Dependences) in MemoryInstructionDependences() local
573 if (Dep.isPossiblyBackward()) { in MemoryInstructionDependences()
577 ++Accesses[Dep.Source].NumUnsafeDependencesStartOrEnd; in MemoryInstructionDependences()
578 --Accesses[Dep.Destination].NumUnsafeDependencesStartOrEnd; in MemoryInstructionDependences()
580 DEBUG(Dep.print(dbgs(), 2, Instructions)); in MemoryInstructionDependences()
DDeadStoreElimination.cpp601 MemDepResult Dep = in handleFree() local
603 while (Dep.isDef() || Dep.isClobber()) { in handleFree()
604 Instruction *Dependency = Dep.getInst(); in handleFree()
626 Dep = MD->getPointerDependencyFrom(Loc, false, BBI, BB); in handleFree()
629 if (Dep.isNonLocal()) in handleFree()
DLoopInterchange.cpp112 std::vector<char> Dep; in populateDependencyMatrix() local
144 Dep.push_back(Direction); in populateDependencyMatrix()
147 Dep.push_back(Direction); in populateDependencyMatrix()
160 Dep.push_back(Direction); in populateDependencyMatrix()
163 while (Dep.size() != Level) { in populateDependencyMatrix()
164 Dep.push_back('I'); in populateDependencyMatrix()
167 DepMatrix.push_back(Dep); in populateDependencyMatrix()
/external/llvm/lib/TableGen/
DMain.cpp65 for (const auto &Dep : Parser.getDependencies()) { in createDependencyFile() local
66 DepOut.os() << ' ' << Dep.first; in createDependencyFile()
/external/llvm/lib/Target/AMDGPU/
DR600Packetizer.cpp198 const SDep &Dep = SUJ->Succs[i]; in isLegalToPacketizeTogether() local
199 if (Dep.getSUnit() != SUI) in isLegalToPacketizeTogether()
201 if (Dep.getKind() == SDep::Anti) in isLegalToPacketizeTogether()
203 if (Dep.getKind() == SDep::Output) in isLegalToPacketizeTogether()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DDeadStoreElimination.cpp546 MemDepResult Dep = MD->getDependency(F); in HandleFree() local
548 while (Dep.isDef() || Dep.isClobber()) { in HandleFree()
549 Instruction *Dependency = Dep.getInst(); in HandleFree()
570 Dep = MD->getDependency(F); in HandleFree()
DGVN.cpp1688 MemDepResult Dep = MD->getDependency(L); in processLoad() local
1692 if (Dep.isClobber() && TD) { in processLoad()
1704 if (StoreInst *DepSI = dyn_cast<StoreInst>(Dep.getInst())) { in processLoad()
1717 if (LoadInst *DepLI = dyn_cast<LoadInst>(Dep.getInst())) { in processLoad()
1732 if (MemIntrinsic *DepMI = dyn_cast<MemIntrinsic>(Dep.getInst())) { in processLoad()
1741 DEBUG(dbgs() << "GVN COERCED INST:\n" << *Dep.getInst() << '\n' in processLoad()
1755 if (Dep.isClobber()) { in processLoad()
1760 Instruction *I = Dep.getInst(); in processLoad()
1767 if (Dep.isNonLocal()) in processLoad()
1770 if (!Dep.isDef()) { in processLoad()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonVLIWPacketizer.cpp813 auto &Dep = PacketSU->Succs[i]; in restrictingDepExistInPacket() local
814 if (Dep.getSUnit() == PacketSUDep && Dep.getKind() == SDep::Anti && in restrictingDepExistInPacket()
815 Dep.getReg() == DepReg) in restrictingDepExistInPacket()
878 auto Dep = PacketSU->Succs[i]; in arePredicatesComplements() local
883 if (Dep.getSUnit() == SU && Dep.getKind() == SDep::Data && in arePredicatesComplements()
884 Hexagon::PredRegsRegClass.contains(Dep.getReg())) { in arePredicatesComplements()
890 if (restrictingDepExistInPacket(I, Dep.getReg())) in arePredicatesComplements()
/external/clang/lib/AST/
DTemplateName.cpp66 TemplateName::TemplateName(DependentTemplateName *Dep) : Storage(Dep) {} in TemplateName() argument
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.cpp486 SDep Dep = isChain ? SDep(OpSU, SDep::Barrier) in AddSchedEdges() local
488 Dep.setLatency(OpLatency); in AddSchedEdges()
490 computeOperandLatency(OpN, N, i, Dep); in AddSchedEdges()
491 ST.adjustSchedDependency(OpSU, SU, Dep); in AddSchedEdges()
494 if (!SU->addPred(Dep) && !Dep.isCtrl() && OpSU->NumRegDefsLeft > 1) { in AddSchedEdges()
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp355 } else if (RecordVal *Dep = R->getValue("DeprecatedFeatureMask")) { in CodeGenInstruction() local
358 DeprecatedReason = Dep->getValue()->getAsString(); in CodeGenInstruction()
/external/clang/include/clang/AST/
DTemplateName.h214 explicit TemplateName(DependentTemplateName *Dep);
/external/clang/lib/Driver/
DSanitizerArgs.cpp664 for (const auto &Dep : ExtraDeps) { in addArgs() local
666 ExtraDepOpt += Dep; in addArgs()

12