Home
last modified time | relevance | path

Searched refs:Hints (Results 1 – 25 of 52) sorted by relevance

123

/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/
H A DAllocationOrder.cpp35 SmallVector<MCPhysReg, 16> Hints; in create() local
37 TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM, Matrix); in create()
40 if (!Hints.empty()) { in create()
42 for (MCPhysReg Hint : Hints) in create()
47 assert(all_of(Hints, in create()
50 return AllocationOrder(std::move(Hints), Order, HardHints); in create()
H A DAllocationOrder.h31 const SmallVector<MCPhysReg, 16> Hints; variable
57 return AO.Hints.end()[Pos];
90 AllocationOrder(SmallVector<MCPhysReg, 16> &&Hints, ArrayRef<MCPhysReg> Order, in AllocationOrder() argument
92 : Hints(std::move(Hints)), Order(Order), in AllocationOrder()
96 return Iterator(*this, -(static_cast<int>(Hints.size()))); in begin()
118 return Reg.isPhysical() && is_contained(Hints, Reg.id()); in isHint()
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp108 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion()
112 Hints.push_back(FixItHint::CreateInsertion(Begin, "*(")); in tryToFixConversion()
113 Hints.push_back(FixItHint::CreateInsertion(End, ")")); in tryToFixConversion()
115 Hints.push_back(FixItHint::CreateInsertion(Begin, "*")); in tryToFixConversion()
146 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion()
150 Hints.push_back(FixItHint::CreateInsertion(Begin, "&(")); in tryToFixConversion()
151 Hints.push_back(FixItHint::CreateInsertion(End, ")")); in tryToFixConversion()
153 Hints.push_back(FixItHint::CreateInsertion(Begin, "&")); in tryToFixConversion()
H A DDeclSpec.cpp1172 FixItHint Hints[NumLocs]; in Finish()
1180 Hints[I] = FixItHint::CreateRemoval(ExtraLocs[I]); in Finish()
1189 << Hints[0] << Hints[1] << Hints[2] << Hints[3] in Finish()
1190 << Hints[4] << Hints[5] << Hints[6] << Hints[ in Finish()
1155 FixItHint Hints[NumLocs]; Finish() local
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/
H A DTextDiagnostic.h28 /// Hints, and code snippets. In the presence of macros this involves
96 ArrayRef<FixItHint> Hints) override {
97 emitSnippetAndCaret(Loc, Level, Ranges, Hints);
113 ArrayRef<FixItHint> Hints);
119 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
87 emitCodeContext(FullSourceLoc Loc,DiagnosticsEngine::Level Level,SmallVectorImpl<CharSourceRange> & Ranges,ArrayRef<FixItHint> Hints) emitCodeContext() argument
H A DDiagnosticRenderer.h89 ArrayRef<FixItHint> Hints) = 0;
111 ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints);
117 ArrayRef<FixItHint> Hints);
H A DSARIFDiagnostic.h47 ArrayRef<FixItHint> Hints) override {} in emitCodeContext() argument
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp58 SmallVectorImpl<MCPhysReg> &Hints, in addHints() argument
62 CopyHints.insert(Hints.begin(), Hints.end()); in addHints()
63 Hints.clear(); in addHints()
67 Hints.push_back(Reg); in addHints()
71 Hints.push_back(Reg); in addHints()
76 SmallVectorImpl<MCPhysReg> &Hints, const MachineFunction &MF, in getRegAllocationHints() argument
83 VirtReg, Order, Hints, MF, VRM, Matrix); in getRegAllocationHints()
118 if (!MRI->isReserved(PhysReg) && !is_contained(Hints, PhysReg)) in getRegAllocationHints()
128 Hints.push_back(OrderReg); in getRegAllocationHints()
156 addHints(Order, Hints, RC, MRI); in getRegAllocationHints()
[all …]
H A DSystemZRegisterInfo.h150 SmallVectorImpl<MCPhysReg> &Hints,
/freebsd-src/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaFixItUtils.h41 std::vector<FixItHint> Hints; member
80 Hints.clear(); in clear()
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationPlanner.h325 const LoopVectorizeHints &Hints;
352 PredicatedScalarEvolution &PSE, const LoopVectorizeHints &Hints,
355 IAI(IAI), PSE(PSE), Hints(Hints), ORE(ORE) {}
317 const LoopVectorizeHints &Hints; global() variable
334 LoopVectorizationPlanner(Loop * L,LoopInfo * LI,DominatorTree * DT,const TargetLibraryInfo * TLI,const TargetTransformInfo & TTI,LoopVectorizationLegality * Legal,LoopVectorizationCostModel & CM,InterleavedAccessInfo & IAI,PredicatedScalarEvolution & PSE,const LoopVectorizeHints & Hints,OptimizationRemarkEmitter * ORE) LoopVectorizationPlanner() argument
H A DLoopVectorize.cpp942 LoopVectorizeHints Hints(TheLoop, true /* doesn't matter */, *ORE); in getDebugLocFromInstOrOperands()
944 createLVAnalysis(Hints.vectorizeAnalysisPassName(), ORETag, TheLoop, I) in getDebugLocFromInstOrOperands()
955 LoopVectorizeHints Hints(TheLoop, true /* doesn't matter */, *ORE); in getDebugLocFromInstOrOperands()
957 createLVAnalysis(Hints.vectorizeAnalysisPassName(), ORETag, TheLoop, I) in getDebugLocFromInstOrOperands()
1023 const LoopVectorizeHints *Hints, in reportVectorizationFailure()
1027 Hints(Hints), InterleaveInfo(IAI) {} in reportVectorizationFailure()
1104 return !Hints->allowReordering() && RdxDesc.isOrdered(); in collectPoisonGeneratingRecipes()
1783 const LoopVectorizeHints *Hints;
2154 LoopVectorizeHints Hints(OuterL in ~GeneratedRTChecks()
1025 LoopVectorizeHints Hints(TheLoop, true /* doesn't matter */, *ORE); reportVectorizationFailure() local
1035 LoopVectorizeHints Hints(TheLoop, true /* doesn't matter */, *ORE); reportVectorizationInfo() local
1205 LoopVectorizationCostModel(ScalarEpilogueLowering SEL,Loop * L,PredicatedScalarEvolution & PSE,LoopInfo * LI,LoopVectorizationLegality * Legal,const TargetTransformInfo & TTI,const TargetLibraryInfo * TLI,DemandedBits * DB,AssumptionCache * AC,OptimizationRemarkEmitter * ORE,const Function * F,const LoopVectorizeHints * Hints,InterleavedAccessInfo & IAI) LoopVectorizationCostModel() argument
1910 const LoopVectorizeHints *Hints; global() member in llvm::LoopVectorizationCostModel
2279 LoopVectorizeHints Hints(OuterLp, true /*DisableInterleaving*/, *ORE); isExplicitVecOuterLoop() local
7650 LoopVectorizeHints Hints(L, true, *ORE); executePlan() local
9566 getScalarEpilogueLowering(Function * F,Loop * L,LoopVectorizeHints & Hints,ProfileSummaryInfo * PSI,BlockFrequencyInfo * BFI,TargetTransformInfo * TTI,TargetLibraryInfo * TLI,LoopVectorizationLegality & LVL,InterleavedAccessInfo * IAI) getScalarEpilogueLowering() argument
9619 processLoopInVPlanNativePath(Loop * L,PredicatedScalarEvolution & PSE,LoopInfo * LI,DominatorTree * DT,LoopVectorizationLegality * LVL,TargetTransformInfo * TTI,TargetLibraryInfo * TLI,DemandedBits * DB,AssumptionCache * AC,OptimizationRemarkEmitter * ORE,BlockFrequencyInfo * BFI,ProfileSummaryInfo * PSI,LoopVectorizeHints & Hints,LoopVectorizationRequirements & Requirements) processLoopInVPlanNativePath() argument
9842 LoopVectorizeHints Hints(L, InterleaveOnlyWhenForced, *ORE, TTI); processLoop() local
[all...]
H A DLoopVectorizationLegality.cpp301 Hint *Hints[] = {&Width, &Interleave, &Force, in setHint() local
303 for (auto *H : Hints) { in setHint()
1010 Hints->setPotentiallyUnsafe(); in canVectorizeInstrs()
1062 return OptimizationRemarkAnalysis(Hints->vectorizeAnalysisPassName(), in canVectorizeMemory()
1165 if (!Requirements->getExactFPInst() || Hints->allowReordering()) in canVectorizeFPMath()
1526 if (Hints->getForce() == LoopVectorizeHints::FK_Enabled) in canVectorize()
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1004 ArrayRef<FixItHint> Hints, in buildFixItInsertionLine()
1008 if (Hints.empty() || !DiagOpts->ShowFixits) in buildFixItInsertionLine()
1012 for (const auto &H : Hints) { in buildFixItInsertionLine()
1286 /// \param Hints The FixIt hints active for this diagnostic. in emitSnippet()
1289 SmallVectorImpl<CharSourceRange> &Ranges, ArrayRef<FixItHint> Hints) { in emitSnippet()
1301 if (Loc == LastLoc && Ranges.empty() && Hints.empty() && in emitSnippet()
1402 FID, LineNo, sourceColMap, Hints, SM, DiagOpts.get());
1447 emitParseableFixits(Hints, SM);
1507 void TextDiagnostic::emitParseableFixits(ArrayRef<FixItHint> Hints,
1514 for (const auto &H : Hints) {
995 buildFixItInsertionLine(FileID FID,unsigned LineNo,const SourceColumnMap & map,ArrayRef<FixItHint> Hints,const SourceManager & SM,const DiagnosticOptions * DiagOpts) buildFixItInsertionLine() argument
1124 emitSnippetAndCaret(FullSourceLoc Loc,DiagnosticsEngine::Level Level,SmallVectorImpl<CharSourceRange> & Ranges,ArrayRef<FixItHint> Hints) emitSnippetAndCaret() argument
1314 emitParseableFixits(ArrayRef<FixItHint> Hints,const SourceManager & SM) emitParseableFixits() argument
[all...]
H A DSerializedDiagnosticPrinter.cpp79 ArrayRef<FixItHint> Hints) override;
194 ArrayRef<FixItHint> Hints,
698 ArrayRef<FixItHint> Hints, in EmitCodeContext() argument
711 for (ArrayRef<FixItHint>::iterator I = Hints.begin(), E = Hints.end(); in EmitCodeContext()
728 ArrayRef<FixItHint> Hints) { in emitCodeContext() argument
729 Writer.EmitCodeContext(Ranges, Hints, Loc.getManager()); in emitCodeContext()
H A DDiagnosticRenderer.cpp426 ArrayRef<FixItHint> Hints) { in emitCaret() argument
429 emitCodeContext(Loc, Level, SpellingRanges, Hints); in emitCaret()
532 ArrayRef<FixItHint> Hints) { in emitMacroExpansions() argument
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.cpp1075 SmallVectorImpl<MCPhysReg> &Hints, in getRegAllocationHints()
1082 VirtReg, Order, Hints, MF, VRM, Matrix); in getRegAllocationHints()
1092 Hints.push_back(PhysReg); in getRegAllocationHints()
1097 Hints.push_back(PhysReg); in getRegAllocationHints()
1101 CopyHints.insert(Hints.begin(), Hints.end()); in getRegAllocationHints()
1102 Hints.clear(); in getRegAllocationHints()
1115 dbgs() << "Hints for virtual register " << format_hex(VirtReg, 8) << "\n"; in getRegAllocationHints()
1116 for (auto Hint : Hints) { in getRegAllocationHints()
1070 getRegAllocationHints(Register VirtReg,ArrayRef<MCPhysReg> Order,SmallVectorImpl<MCPhysReg> & Hints,const MachineFunction & MF,const VirtRegMap * VRM,const LiveRegMatrix * Matrix) const getRegAllocationHints() argument
H A DX86RegisterInfo.h176 SmallVectorImpl<MCPhysReg> &Hints,
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseRegisterInfo.cpp338 SmallVectorImpl<MCPhysReg> &Hints, const MachineFunction &MF, in getRegAllocationHints() argument
352 TargetRegisterInfo::getRegAllocationHints(VirtReg, Order, Hints, MF, VRM); in getRegAllocationHints()
354 Hints.push_back(ARM::LR); in getRegAllocationHints()
357 return TargetRegisterInfo::getRegAllocationHints(VirtReg, Order, Hints, MF, VRM); in getRegAllocationHints()
376 Hints.push_back(PairedPhys); in getRegAllocationHints()
386 Hints.push_back(Reg); in getRegAllocationHints()
H A DARMBaseRegisterInfo.h182 SmallVectorImpl<MCPhysReg> &Hints,
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DLoopVectorizationLegality.h249 ORE(ORE), Requirements(R), Hints(H), DB(DB), AC(AC), BFI(BFI), in LoopVectorizationLegality()
530 LoopVectorizeHints *Hints;
527 LoopVectorizeHints *Hints; global() variable
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.h129 SmallVectorImpl<MCPhysReg> &Hints,
H A DRISCVRegisterInfo.cpp804 SmallVectorImpl<MCPhysReg> &Hints, const MachineFunction &MF, in getRegAllocationHints()
810 VirtReg, Order, Hints, MF, VRM, Matrix); in getRegAllocationHints()
827 if (!MRI->isReserved(PhysReg) && !is_contained(Hints, PhysReg)) in getRegAllocationHints()
925 Hints.push_back(OrderReg);
753 getRegAllocationHints(Register VirtReg,ArrayRef<MCPhysReg> Order,SmallVectorImpl<MCPhysReg> & Hints,const MachineFunction & MF,const VirtRegMap * VRM,const LiveRegMatrix * Matrix) const getRegAllocationHints() argument
/freebsd-src/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp382 ArrayRef<SMFixIt> Hints) in SMDiagnostic() argument
385 FixIts(Hints.begin(), Hints.end()) { in SMDiagnostic()
/freebsd-src/contrib/libpcap/cmake/Modules/
H A DFindAirPcap.cmake18 # Hints and Backward Compatibility

123