Home
last modified time | relevance | path

Searched refs:Priority (Results 1 – 25 of 93) sorted by relevance

1234

/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-type-factors.m7 enum Priority {
13 enum Priority func2(int);
15 enum Priority test1(enum Priority priority, enum Color color, int integer) {
26 + (void)method:(enum Color)color priority:(enum Priority)priority; argument
27 - (void)method:(enum Color)color priority:(enum Priority)priority; argument
41 // CHECK-CC1: EnumConstantDecl:{ResultType enum Priority}{TypedText High} (32)
43 // CHECK-CC1: EnumConstantDecl:{ResultType enum Priority}{TypedText Low} (32)
44 // CHECK-CC1: ParmDecl:{ResultType enum Priority}{TypedText priority} (17)
58 // CHECK-CC2: ParmDecl:{ResultType enum Priority}{TypedText priority} (34)
74 // CHECK-CC3: ParmDecl:{ResultType enum Priority}{TypedText priority} (8)
[all …]
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h574 unsigned Priority : 16; variable
616 unsigned getPriority() const { return Priority; } in getPriority()
684 unsigned Priority = 0; variable
702 : Allocator(Allocator), CCTUInfo(CCTUInfo), Priority(Priority), in CodeCompletionBuilder()
787 unsigned Priority; variable
875 : Declaration(Declaration), Priority(Priority), Kind(RK_Declaration), in Declaration()
886 : Keyword(Keyword), Priority(Priority), Kind(RK_Keyword), in Keyword()
895 : Macro(Macro), Priority(Priority), Kind(RK_Macro), in Macro()
907 : Declaration(D), Pattern(Pattern), Priority(Priority), Kind(RK_Pattern), in Declaration()
916 unsigned Priority) in CodeCompletionResult() argument
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DGCNMinRegStrategy.cpp26 int Priority; member
29 : SU(SU_), Priority(Priority_) {} in Candidate()
70 void bumpPredsPriority(const SUnit *SchedSU, int Priority);
71 void releaseSuccessors(const SUnit* SU, int Priority);
140 Num = findMax(Num, [=](const Candidate &C) { return C.Priority; }); in pickCandidate()
177 void GCNMinRegScheduler::bumpPredsPriority(const SUnit *SchedSU, int Priority) { in bumpPredsPriority() argument
202 << ")'s non-ready successors of " << Priority in bumpPredsPriority()
206 C.Priority = Priority; in bumpPredsPriority()
213 void GCNMinRegScheduler::releaseSuccessors(const SUnit* SU, int Priority) { in releaseSuccessors() argument
220 RQ.push_front(*new (Alloc.Allocate()) Candidate(SuccSU, Priority)); in releaseSuccessors()
[all …]
H A DSIProgramInfo.cpp25 S_00B848_PRIORITY(Priority) | S_00B848_FLOAT_MODE(FloatMode) | in getComputePGMRSrc1()
36 S_00B848_PRIORITY(Priority) | S_00B848_FLOAT_MODE(FloatMode) | in getPGMRSrc1()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLowerGlobalDtors.cpp105 auto *Priority = dyn_cast<ConstantInt>(CS->getOperand(0)); in runImpl() local
106 if (!Priority) in runImpl()
108 uint16_t PriorityValue = Priority->getLimitedValue(UINT16_MAX); in runImpl()
157 uint16_t Priority = PriorityAndMore.first; in runImpl() local
167 (Priority != UINT16_MAX ? (Twine(".") + Twine(Priority)) in runImpl()
185 (Priority != UINT16_MAX ? (Twine(".") + Twine(Priority)) in runImpl()
213 appendToGlobalCtors(M, RegisterCallDtors, Priority, Associated); in runImpl()
H A DModuleUtils.cpp25 int Priority, Constant *Data) { in appendToGlobalArray() argument
46 CSVals[0] = IRB.getInt32(Priority); in appendToGlobalArray()
65 void llvm::appendToGlobalCtors(Module &M, Function *F, int Priority, Constant *Data) { in appendToGlobalCtors() argument
66 appendToGlobalArray("llvm.global_ctors", M, F, Priority, Data); in appendToGlobalCtors()
69 void llvm::appendToGlobalDtors(Module &M, Function *F, int Priority, Constant *Data) { in appendToGlobalDtors() argument
70 appendToGlobalArray("llvm.global_dtors", M, F, Priority, Data); in appendToGlobalDtors()
H A DCtorUtils.cpp133 const uint32_t Priority = Ctors[CtorIndex].first; in optimizeGlobalCtorsList() local
141 if (ShouldRemove(Priority, F)) { in optimizeGlobalCtorsList()
/llvm-project-15.0.7/flang/
H A D.clang-format12 Priority: 4
14 Priority: 3
16 Priority: 2
18 Priority: 1
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetLoweringObjectFileImpl.h100 MCSection *getStaticCtorSection(unsigned Priority,
102 MCSection *getStaticDtorSection(unsigned Priority,
122 MCSection *getStaticDtorSection(unsigned Priority,
184 MCSection *getStaticCtorSection(unsigned Priority,
186 MCSection *getStaticDtorSection(unsigned Priority,
220 MCSection *getStaticCtorSection(unsigned Priority,
222 MCSection *getStaticDtorSection(unsigned Priority,
248 MCSection *getStaticCtorSection(unsigned Priority,
250 MCSection *getStaticDtorSection(unsigned Priority,
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidyOptions.h104 ClangTidyValue() : Value(), Priority(0) {} in ClangTidyValue()
105 ClangTidyValue(const char *Value) : Value(Value), Priority(0) {} in ClangTidyValue()
106 ClangTidyValue(llvm::StringRef Value, unsigned Priority = 0)
107 : Value(Value), Priority(Priority) {} in Value()
112 unsigned Priority; member
H A DClangTidyDiagnosticConsumer.cpp609 Priority = std::make_tuple(Begin, Type, -End, -ErrorSize, ErrorId); in removeIncompatibleErrors()
612 Priority = std::make_tuple(Begin, Type, -End, ErrorSize, ErrorId); in removeIncompatibleErrors()
615 Priority = std::make_tuple(End, Type, -Begin, ErrorSize, ErrorId); in removeIncompatibleErrors()
621 return Priority < Other.Priority; in removeIncompatibleErrors()
630 std::tuple<unsigned, EventType, int, int, unsigned> Priority; in removeIncompatibleErrors() member
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DIncludeStyle.h61 int Priority; member
67 return Regex == Other.Regex && Priority == Other.Priority &&
/llvm-project-15.0.7/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp214 Ret = Style.IncludeCategories[i].Priority; in getIncludePriority()
229 Ret = Style.IncludeCategories[i].Priority; in getSortIncludePriority()
283 Priorities.insert(Category.Priority); in HeaderIncludes()
334 int Priority = Categories.getIncludePriority( in addExistingInclude() local
336 CategoryEndOffsets[Priority] = NextLineOffset; in addExistingInclude()
337 IncludesByPriority[Priority].push_back(&CurInclude); in addExistingInclude()
358 int Priority = Categories.getIncludePriority( in insert() local
360 auto CatOffset = CategoryEndOffsets.find(Priority); in insert()
363 auto Iter = IncludesByPriority.find(Priority); in insert()
H A DIncludeStyle.cpp19 IO.mapOptional("Priority", Category.Priority); in mapping()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h54 Element(unsigned Priority, Function *Func, Value *Data) in Element()
55 : Priority(Priority), Func(Func), Data(Data) {} in Element()
57 unsigned Priority; member
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DMultilib.h37 int Priority; variable
41 StringRef IncludeSuffix = {}, int Priority = 0);
83 int priority() const { return Priority; } in priority()
/llvm-project-15.0.7/llvm/test/ObjectYAML/wasm/
H A Dlinking_section.yaml50 - Priority: 1
69 # CHECK-NEXT: - Priority: 1
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp1060 if (Priority != 65535) { in getStaticStructorSection()
1062 Name += utostr(Priority); in getStaticStructorSection()
1071 if (Priority != 65535) in getStaticStructorSection()
1080 unsigned Priority, const MCSymbol *KeySym) const { in getStaticCtorSection() argument
1086 unsigned Priority, const MCSymbol *KeySym) const { in getStaticDtorSection() argument
1884 if (Priority == 65535) in getCOFFStaticStructorSection()
1896 (Priority < 200 ? 'A' : 'T') << format("%05u", Priority); in getCOFFStaticStructorSection()
1904 if (Priority != 65535) in getCOFFStaticStructorSection()
2187 return Priority == UINT16_MAX ? in getStaticCtorSection()
2475 unsigned Priority, const MCSymbol *KeySym) const { in getStaticCtorSection() argument
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DModuleUtils.h37 void appendToGlobalCtors(Module &M, Function *F, int Priority,
41 void appendToGlobalDtors(Module &M, Function *F, int Priority,
/llvm-project-15.0.7/llvm/test/MC/WebAssembly/
H A Dglobal-ctor-dtor.ll179 ; CHECK-NEXT: - Priority: 42
181 ; CHECK-NEXT: - Priority: 42
183 ; CHECK-NEXT: - Priority: 65535
185 ; CHECK-NEXT: - Priority: 65535
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.h285 Structor() : Priority(0), Initializer(nullptr), AssociatedData(nullptr) {} in Structor()
286 Structor(int Priority, llvm::Constant *Initializer, in Structor()
288 : Priority(Priority), Initializer(Initializer), in Structor()
290 int Priority; member
1131 int Priority) { in AddCXXStermFinalizerToGlobalDtor() argument
1132 AddGlobalDtor(StermFinalizer, Priority); in AddCXXStermFinalizerToGlobalDtor()
1136 int Priority) { in AddCXXPrioritizedStermFinalizerEntry() argument
1137 OrderGlobalInitsOrStermFinalizers Key(Priority, in AddCXXPrioritizedStermFinalizerEntry()
1603 void AddGlobalCtor(llvm::Function *Ctor, int Priority = 65535,
1605 void AddGlobalDtor(llvm::Function *Dtor, int Priority = 65535,
H A DCGDeclCXX.cpp761 static std::string getPrioritySuffix(unsigned int Priority) { in getPrioritySuffix() argument
762 assert(Priority <= 65535 && "Priority should always be <= 65535."); in getPrioritySuffix()
766 std::string PrioritySuffix = llvm::utostr(Priority); in getPrioritySuffix()
821 unsigned int Priority = I->first.priority; in EmitCXXGlobalInitFunc() local
823 FTy, "_GLOBAL__I_" + getPrioritySuffix(Priority), FI); in EmitCXXGlobalInitFunc()
836 AddGlobalCtor(Fn, Priority); in EmitCXXGlobalInitFunc()
918 unsigned int Priority = I->first.priority; in EmitCXXGlobalCleanUpFunc() local
920 FTy, "_GLOBAL__a_" + getPrioritySuffix(Priority), FI); in EmitCXXGlobalCleanUpFunc()
930 AddGlobalDtor(Fn, Priority); in EmitCXXGlobalCleanUpFunc()
/llvm-project-15.0.7/clang/lib/Driver/
H A DMultilib.cpp54 StringRef IncludeSuffix, int Priority) in Multilib() argument
56 Priority(Priority) { in Multilib()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCompileCommands.cpp521 assert(ID < std::numeric_limits<decltype(R.Priority)>::max() && in rulesFor()
523 R.Priority = ID; in rulesFor()
563 Rules.back().Priority = -1; // Max unsigned = lowest priority. in strip()
577 if (BestRule && BestRule->Priority < R.Priority) in matchingRule()
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h176 virtual MCSection *getStaticCtorSection(unsigned Priority, in getStaticCtorSection() argument
181 virtual MCSection *getStaticDtorSection(unsigned Priority, in getStaticDtorSection() argument

1234