| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 158 const FixItHint &Hint = Info.getFixItHint(Idx); in HandleDiagnostic() local 160 if (Hint.CodeToInsert.empty()) { in HandleDiagnostic() 161 if (Hint.InsertFromRange.isValid()) in HandleDiagnostic() 162 commit.insertFromRange(Hint.RemoveRange.getBegin(), in HandleDiagnostic() 163 Hint.InsertFromRange, /*afterToken=*/false, in HandleDiagnostic() 164 Hint.BeforePreviousInsertions); in HandleDiagnostic() 166 commit.remove(Hint.RemoveRange); in HandleDiagnostic() 168 if (Hint.RemoveRange.isTokenRange() || in HandleDiagnostic() 169 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in HandleDiagnostic() 170 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 62 for (const auto &Hint : FixItHints) in mergeFixits() local 63 if (Hint.CodeToInsert.empty()) { in mergeFixits() 64 if (Hint.InsertFromRange.isValid()) in mergeFixits() 69 commit.remove(Hint.RemoveRange); in mergeFixits() 71 if (Hint.RemoveRange.isTokenRange() || in mergeFixits() 72 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()) in mergeFixits() 73 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits() 75 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits() 110 for (const auto &Hint : FixItHints) in emitDiagnostic() local 111 if (Hint.RemoveRange.isValid()) in emitDiagnostic() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.h | 71 struct Hint { struct 76 Hint(const char *Name, unsigned Value, HintKind Kind) in Hint() argument 83 Hint Width; 86 Hint Interleave; 89 Hint Force; 92 Hint IsVectorized; 95 Hint Predicate; 98 Hint Scalable;
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 100 FixItHint Hint; variable 101 Hint.RemoveRange = 105 return Hint; 113 FixItHint Hint; variable 114 Hint.RemoveRange = 118 return Hint; 124 FixItHint Hint; in CreateRemoval() local 126 return Hint; in CreateRemoval() 136 FixItHint Hint; in CreateReplacement() local 139 return Hint; in CreateReplacement() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cxxmap/ |
| H A D | llvm-cxxmap.cpp | 57 std::string Hint = "") { in warn() argument 63 if (!Hint.empty()) in warn() 64 WithColor::note() << Hint << "\n"; in warn() 68 std::string Hint = "") { in exitWithError() argument 74 if (!Hint.empty()) in exitWithError() 75 WithColor::note() << Hint << "\n"; in exitWithError()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/ |
| H A D | LoongArchMCExpr.h | 73 explicit LoongArchMCExpr(const MCExpr *Expr, VariantKind Kind, bool Hint) in LoongArchMCExpr() argument 74 : Expr(Expr), Kind(Kind), RelaxHint(Hint) {} in LoongArchMCExpr() 78 MCContext &Ctx, bool Hint = false);
|
| H A D | LoongArchMCExpr.cpp | 30 bool Hint) { in create() argument 31 return new (Ctx) LoongArchMCExpr(Expr, Kind, Hint); in create()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | VirtRegMap.cpp | 110 Register Hint = MRI->getSimpleHint(VirtReg); in hasPreferredPhys() local 111 if (!Hint.isValid()) in hasPreferredPhys() 113 if (Hint.isVirtual()) in hasPreferredPhys() 114 Hint = getPhys(Hint); in hasPreferredPhys() 115 return Register(getPhys(VirtReg)) == Hint; in hasPreferredPhys() 119 std::pair<unsigned, Register> Hint = MRI->getRegAllocationHint(VirtReg); in hasKnownPreference() local 120 if (Hint.second.isPhysical()) in hasKnownPreference() 122 if (Hint.second.isVirtual()) in hasKnownPreference() 123 return hasPhys(Hint.second); in hasKnownPreference()
|
| H A D | CalcSpillWeights.cpp | 225 DenseMap<unsigned, float> Hint; in weightCalcHelper() local 291 stack_float_t HWeight = Hint[HintReg] += Weight; in weightCalcHelper() 303 for (const auto &Hint : CopyHints) { in weightCalcHelper() local 304 if (!HintedRegs.insert(Hint.Reg).second || in weightCalcHelper() 305 (TargetHint.first != 0 && Hint.Reg == TargetHint.second)) in weightCalcHelper() 308 MRI.addRegAllocationHint(LI.reg(), Hint.Reg); in weightCalcHelper()
|
| H A D | RegAllocFast.cpp | 377 void allocVirtReg(MachineInstr &MI, LiveReg &LR, Register Hint, 1121 Register Hint; in useVirtReg() local 1123 Hint = MI.getOperand(0).getReg(); in useVirtReg() 1124 if (Hint.isVirtual()) { in useVirtReg() 1125 assert(!shouldAllocateRegister(Hint)); in useVirtReg() 1126 Hint = Register(); in useVirtReg() 1128 assert(Hint.isPhysical() && in useVirtReg() 1132 allocVirtReg(MI, *LRI, Hint, false); in useVirtReg()
|
| H A D | RegAllocGreedy.cpp | 420 if (Register Hint = MRI->getSimpleHint(VirtReg.reg())) in tryAssign() local 421 if (Order.isHint(Hint)) { in tryAssign() 422 MCRegister PhysHint = Hint.asMCReg(); in tryAssign() 1233 bool RAGreedy::trySplitAroundHintReg(MCPhysReg Hint, in trySplitAroundHintReg() argument 1267 if (OtherPhysReg == Hint) in trySplitAroundHintReg() 1280 calculateRegionSplitCostAroundReg(Hint, Order, Cost, NumCands, BestCand); in trySplitAroundHintReg() 2450 Register Hint = MRI->getSimpleHint(VirtReg.reg()); in selectOrSplitImpl() local 2456 if (Hint && Hint != PhysReg) in selectOrSplitImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBaseRegisterInfo.cpp | 341 std::pair<unsigned, Register> Hint = MRI.getRegAllocationHint(VirtReg); in getRegAllocationHints() local 344 switch (Hint.first) { in getRegAllocationHints() 363 Register Paired = Hint.second; in getRegAllocationHints() 394 std::pair<unsigned, Register> Hint = MRI->getRegAllocationHint(Reg); in updateRegAllocHint() local 395 if ((Hint.first == ARMRI::RegPairOdd || Hint.first == ARMRI::RegPairEven) && in updateRegAllocHint() 396 Hint.second.isVirtual()) { in updateRegAllocHint() 401 Register OtherReg = Hint.second; in updateRegAllocHint() 402 Hint = MRI->getRegAllocationHint(OtherReg); in updateRegAllocHint() 404 if (Hint.second == Reg) { in updateRegAllocHint() 405 MRI->setRegAllocationHint(OtherReg, Hint.first, NewReg); in updateRegAllocHint() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCPredicates.h | 87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() argument 89 (Hint & BR_HINT_MASK)); in getPredicate()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | TextDiagnostics.cpp | 79 for (const FixItHint &Hint : Fixits) { in FlushDiagnosticsImpl() local 80 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVAsmPrinter.cpp | 214 MCInst Hint; in emitNTLHint() local 216 Hint.setOpcode(RISCV::C_ADD_HINT); in emitNTLHint() 218 Hint.setOpcode(RISCV::ADD); in emitNTLHint() 220 Hint.addOperand(MCOperand::createReg(RISCV::X0)); in emitNTLHint() 221 Hint.addOperand(MCOperand::createReg(RISCV::X0)); in emitNTLHint() 222 Hint.addOperand(MCOperand::createReg(RISCV::X2 + NontemporalMode)); in emitNTLHint() 224 EmitToStreamer(*OutStreamer, Hint); in emitNTLHint()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-symbolizer/ |
| H A D | llvm-symbolizer.cpp | 513 StringRef Hint(A->getValue()); in llvm_symbolizer_main() local 514 if (sys::path::extension(Hint) == ".dSYM") { in llvm_symbolizer_main() 515 Opts.DsymHints.emplace_back(Hint); in llvm_symbolizer_main() 517 errs() << "Warning: invalid dSYM hint: \"" << Hint in llvm_symbolizer_main()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 315 void addFixIt(const SMFixIt &Hint) { FixIts.push_back(Hint); } in addFixIt() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86RegisterInfo.cpp | 1098 for (auto Hint : CopyHints) { in getRegAllocationHints() local 1099 if (RC.contains(Hint) && !MRI->isReserved(Hint)) in getRegAllocationHints() 1100 AddHint(Hint); in getRegAllocationHints() 1111 for (auto Hint : Hints) { in getRegAllocationHints() 1112 dbgs() << "tmm" << Hint << ","; in getRegAllocationHints()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 2470 LoopHint Hint; in ParsePragmaLoopHint() local 2471 if (!HandlePragmaLoopHint(Hint)) in ParsePragmaLoopHint() 2474 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc, in ParsePragmaLoopHint() 2475 ArgsUnion(Hint.ValueExpr)}; in ParsePragmaLoopHint() 2476 TempAttrs.addNew(Hint.PragmaNameLoc->Ident, Hint.Range, nullptr, in ParsePragmaLoopHint() 2477 Hint.PragmaNameLoc->Loc, ArgHints, 4, in ParsePragmaLoopHint()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 423 std::string Hint = "") { in warn() argument 428 if (!Hint.empty()) in warn() 429 WithColor::note() << Hint << "\n"; in warn() 441 std::string Hint = "") { in exitWithError() argument 446 if (!Hint.empty()) in exitWithError() 447 WithColor::note() << Hint << "\n"; in exitWithError() 455 StringRef Hint = ""; in exitWithError() local 460 exitWithError(IPE.message(), std::string(Whence), std::string(Hint)); in exitWithError() 497 StringRef Hint = ""; in handleMergeWriterError() local 511 if (!Hint.empty()) in handleMergeWriterError() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineRegisterInfo.h | 834 std::pair<unsigned, Register> Hint = getRegAllocationHint(VReg); in getSimpleHint() local 835 return Hint.first ? Register() : Hint.second; in getSimpleHint()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | COFFDump.cpp | 527 uint16_t Hint; in printImportTables() local 529 if (Obj->getHintName(HintNameRVA, Hint, Name)) in printImportTables() 531 outs() << format(" % 6d ", Hint) << Name << "\n"; in printImportTables()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/Disassembler/ |
| H A D | MipsDisassembler.cpp | 1521 unsigned Hint = fieldFromInstruction(Insn, 16, 5); in DecodeCacheOp() local 1528 Inst.addOperand(MCOperand::createImm(Hint)); in DecodeCacheOp() 1538 unsigned Hint = fieldFromInstruction(Insn, 21, 5); in DecodeCacheOpMM() local 1544 Inst.addOperand(MCOperand::createImm(Hint)); in DecodeCacheOpMM() 1554 unsigned Hint = fieldFromInstruction(Insn, 21, 5); in DecodePrefeOpMM() local 1560 Inst.addOperand(MCOperand::createImm(Hint)); in DecodePrefeOpMM() 1569 unsigned Hint = fieldFromInstruction(Insn, 16, 5); in DecodeCacheeOp_CacheOpR6() local 1576 Inst.addOperand(MCOperand::createImm(Hint)); in DecodeCacheeOp_CacheOpR6()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.h | 262 const Expr *Hint = nullptr) override;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64Schedule.td | 70 def WriteHint : SchedWrite; // Hint instruction.
|