HomeSort by: relevance | last modified time | path
    Searched defs:Hint (Results 1 - 24 of 24) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXStoredDiagnostic.cpp 101 const FixItHint &Hint = Diag.fixit_begin()[FixIt];
107 LangOpts, Hint.RemoveRange);
109 return cxstring::createDup(Hint.CodeToInsert);
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
FixItRewriter.cpp 157 const FixItHint &Hint = Info.getFixItHint(Idx);
159 if (Hint.CodeToInsert.empty()) {
160 if (Hint.InsertFromRange.isValid())
161 commit.insertFromRange(Hint.RemoveRange.getBegin(),
162 Hint.InsertFromRange, /*afterToken=*/false,
163 Hint.BeforePreviousInsertions);
165 commit.remove(Hint.RemoveRange);
167 if (Hint.RemoveRange.isTokenRange() ||
168 Hint.RemoveRange.getBegin() != Hint.RemoveRange.getEnd()
    [all...]
  /src/external/apache2/llvm/dist/libcxx/benchmarks/
map.bench.cpp 38 // - Correct contains the correct hint.
39 // - End contains a hint to the end of the map.
40 enum class Hint { Begin, Third, Correct, End };
41 struct AllHints : EnumValuesAsTuple<AllHints, Hint, 4> {
276 template <class Mode, class Hint>
280 template < ::Hint hint>
281 typename std::enable_if<hint == ::Hint::Correct>::type
311 template < ::Hint hint
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
DeclSpec.cpp 1406 FixItHint Hint;
1412 Hint = FixItHint::CreateRemoval(SCLoc);
1416 Hint = FixItHint::CreateRemoval(getExplicitSpecRange());
1420 << Keyword << Hint;
SemaDecl.cpp 1858 FixItHint &Hint) {
1865 Hint = FixItHint::CreateRemoval(
1895 FixItHint Hint;
1896 GenerateFixForUnusedDecl(D, Context, Hint);
1906 Diag(D->getLocation(), DiagID) << D << Hint;
10673 // permitted to have 'main' be marked with the 'target' optimization hint.
11160 // could add a FixIt hint to remove it as a parameter.
15407 /// Add a minimal nested name specifier fixit hint to allow lookup of a tag name
SemaChecking.cpp 7846 FixItHint Hint;
7848 Hint = FixItHint::CreateRemoval(LMRange);
7854 Hint);
8122 /// \param FixIt optional fix it hint for the format string.
9586 // Found a function, don't need the header hint.
10330 // Output a FIXIT hint if the destination is an array (rather than a
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
VirtRegMap.cpp 103 Register Hint = MRI->getSimpleHint(VirtReg);
104 if (!Hint.isValid())
106 if (Hint.isVirtual())
107 Hint = getPhys(Hint);
108 return Register(getPhys(VirtReg)) == Hint;
112 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(VirtReg);
113 if (Register::isPhysicalRegister(Hint.second))
115 if (Register::isVirtualRegister(Hint.second))
116 return hasPhys(Hint.second)
    [all...]
RegAllocFast.cpp 253 void allocVirtReg(MachineInstr &MI, LiveReg &LR, Register Hint,
737 << " with hint " << printReg(Hint0, TRI) << '\n');
739 // Take hint when possible.
742 // Take hint if the register is currently free.
757 // Try other hint.
761 // Take hint if the register is currently free.
952 Register Hint;
954 Hint = MI.getOperand(0).getReg();
955 assert(Hint.isPhysical() &&
958 allocVirtReg(MI, *LRI, Hint, false)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Vectorize/
LoopVectorizationLegality.h 56 /// Hint - associates name and validation with the hint value.
57 struct Hint {
62 Hint(const char *Name, unsigned Value, HintKind Kind)
69 Hint Width;
72 Hint Interleave;
75 Hint Force;
78 Hint IsVectorized;
81 Hint Predicate;
84 Hint Scalable
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMBaseRegisterInfo.cpp 323 std::pair<Register, Register> Hint = MRI.getRegAllocationHint(VirtReg);
326 switch (Hint.first) {
344 // the paired register as the first hint.
345 Register Paired = Hint.second;
376 std::pair<Register, Register> Hint = MRI->getRegAllocationHint(Reg);
377 if ((Hint.first == ARMRI::RegPairOdd || Hint.first == ARMRI::RegPairEven) &&
378 Hint.second.isVirtual()) {
381 // pair allocation hint must be updated to reflect the relationship
383 Register OtherReg = Hint.second
    [all...]
  /src/sys/external/bsd/acpica/dist/common/
dmtbdump2.c 1648 ACPI_NFIT_FLUSH_ADDRESS *Hint = NULL;
1788 Hint = ACPI_CAST_PTR (ACPI_NFIT_FLUSH_ADDRESS, Subtable);
1789 for (i = 0; i < Hint->HintCount; i++)
1792 &Hint->HintAddress[i],
  /src/sys/external/bsd/acpica/dist/compiler/
dttable2.c 799 ACPI_NFIT_FLUSH_ADDRESS *Hint = NULL;
868 Hint = ACPI_CAST_PTR (ACPI_NFIT_FLUSH_ADDRESS, Subtable->Buffer);
964 Hint->HintCount = (UINT16) Count;
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MachineRegisterInfo.h 95 /// virtual registers. For each virtual register, it keeps a pair of hint
97 /// hint may be target specific, and in that case this is reflected by the
762 /// setRegAllocationHint - Specify a register allocation hint for the
764 /// of an earlier hint it will be overwritten.
772 /// addRegAllocationHint - Add a register allocation hint to the hints
779 /// Specify the preferred (target independent) register allocation hint for
787 "Expected to clear a non-target hint!");
791 /// getRegAllocationHint - Return the register allocation hint for the
804 /// a target independent hint.
807 std::pair<Register, Register> Hint = getRegAllocationHint(VReg)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/Disassembler/
MipsDisassembler.cpp 1598 unsigned Hint = fieldFromInstruction(Insn, 16, 5);
1605 Inst.addOperand(MCOperand::createImm(Hint));
1616 unsigned Hint = fieldFromInstruction(Insn, 21, 5);
1622 Inst.addOperand(MCOperand::createImm(Hint));
1633 unsigned Hint = fieldFromInstruction(Insn, 21, 5);
1639 Inst.addOperand(MCOperand::createImm(Hint));
1649 unsigned Hint = fieldFromInstruction(Insn, 16, 5);
1656 Inst.addOperand(MCOperand::createImm(Hint));
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
PathDiagnostic.h 412 const DisplayHint Hint;
428 PathDiagnosticPiece(StringRef s, Kind k, DisplayHint hint = Below);
429 PathDiagnosticPiece(Kind k, DisplayHint hint = Below);
449 /// getDisplayHint - Return a hint indicating where the diagnostic should
451 DisplayHint getDisplayHint() const { return Hint; }
  /src/external/apache2/llvm/dist/clang/include/clang/Basic/
Diagnostic.h 64 /// This kind of hint should be used when we are certain that the
73 /// insertion hint.
86 /// Empty code modification hint, indicating that no code
94 /// Create a code modification hint that inserts the given
99 FixItHint Hint;
100 Hint.RemoveRange =
102 Hint.CodeToInsert = std::string(Code);
103 Hint.BeforePreviousInsertions = BeforePreviousInsertions;
104 return Hint;
107 /// Create a code modification hint that inserts the give
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Lex/
PPDirectives.cpp 385 FixItHint Hint;
388 Hint = FixItHint::CreateInsertion(Tmp.getLocation(),"//");
389 Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << Hint;
1830 auto Hint =
1836 << OriginalFilename << TypoCorrectionName << Hint;
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseStmt.cpp 2228 LoopHint Hint;
2229 if (!HandlePragmaLoopHint(Hint))
2232 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc,
2233 ArgsUnion(Hint.ValueExpr)};
2234 TempAttrs.addNew(Hint.PragmaNameLoc->Ident, Hint.Range, nullptr,
2235 Hint.PragmaNameLoc->Loc, ArgHints, 4,
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
llvm-profdata.cpp 48 std::string Hint = "") {
53 if (!Hint.empty())
54 WithColor::note() << Hint << "\n";
66 std::string Hint = "") {
71 if (!Hint.empty())
72 WithColor::note() << Hint << "\n";
80 StringRef Hint = "";
82 // Hint for common error of forgetting --sample for sample profiles.
83 Hint = "Perhaps you forgot to use the --sample option?";
85 exitWithError(IPE.message(), std::string(Whence), std::string(Hint));
    [all...]
  /src/sys/external/bsd/gnu-efi/dist/inc/ia32/
pe.h 573 UINT16 Hint;
  /src/sys/external/bsd/gnu-efi/dist/inc/ia64/
pe.h 579 UINT16 Hint;
  /src/sys/external/bsd/gnu-efi/dist/inc/x86_64/
pe.h 573 UINT16 Hint;
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
OpenMPClause.h 6124 /// This represents 'hint' clause in the '#pragma omp ...' directive.
6127 /// #pragma omp critical (name) hint(6)
6130 /// 'hint' with argument '6'.
6137 /// Hint expression of the 'hint' clause.
6138 Stmt *Hint = nullptr;
6140 /// Set hint expression.
6141 void setHint(Expr *H) { Hint = H; }
6144 /// Build 'hint' clause with expression \a Hint
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGStmtOpenMP.cpp 4036 const Expr *Hint = nullptr;
4038 Hint = HintClause->getHint();
4044 if (Hint)
4046 Builder.CreateIntCast(EmitScalarExpr(Hint), CGM.Int32Ty, false);
4073 const Expr *Hint = nullptr;
4075 Hint = HintClause->getHint();
4080 CodeGen, S.getBeginLoc(), Hint);

Completed in 67 milliseconds