Home
last modified time | relevance | path

Searched refs:Mode (Results 1 – 25 of 261) sorted by relevance

1234567891011

/llvm-project-15.0.7/libcxx/benchmarks/
H A Dmap.bench.cpp251 if (Mode() == ::Mode::Hit) { in run()
293 if (Mode() == ::Mode::Hit) { in run()
328 if (Mode() == ::Mode::Hit) { in run()
370 if (Mode() == ::Mode::Hit) { in run()
412 if (Mode() == ::Mode::Hit) { in run()
447 if (Mode() == ::Mode::Hit) { in run()
832 if (Mode() == ::Mode::Hit) { in run()
864 if (Mode() == ::Mode::Hit) { in run()
896 if (Mode() == ::Mode::Hit) { in run()
936 if (Mode() == ::Mode::Hit) { in run()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DDebugify.h107 enum DebugifyMode Mode = DebugifyMode::NoDebugify; variable
114 DebugInfoBeforePass(DebugInfoBeforePass), Mode(Mode) {} in NameOfWrappedPass()
168 enum DebugifyMode Mode; variable
179 StatsMap(StatsMap), DebugInfoBeforePass(DebugInfoBeforePass), Mode(Mode), in NameOfWrappedPass()
191 enum DebugifyMode Mode = DebugifyMode::NoDebugify; variable
213 void setDebugifyMode(enum DebugifyMode M) { Mode = M; } in setDebugifyMode()
216 return Mode == DebugifyMode::SyntheticDebugInfo; in isSyntheticDebugInfo()
219 return Mode == DebugifyMode::OriginalDebugInfo; in isOriginalDebugInfoMode()
231 enum DebugifyMode Mode = DebugifyMode::NoDebugify; variable
291 return Mode == DebugifyMode::SyntheticDebugInfo; in isSyntheticDebugInfo()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_log_interface.cpp40 const char *Mode; member
64 __xray_log_register_mode(const char *Mode, in __xray_log_register_mode() argument
73 if (!internal_strcmp(Mode, it->Mode)) in __xray_log_register_mode()
78 NewModeImpl->Mode = internal_strdup(Mode); in __xray_log_register_mode()
88 if (!internal_strcmp(Mode, it->Mode)) { in __xray_log_select_mode()
102 return CurrentMode->Mode; in __xray_log_get_current_mode()
149 if (CurrentMode == nullptr || internal_strcmp(CurrentMode->Mode, Mode) != 0) in __xray_log_init_mode()
160 __xray_log_init_mode_bin(const char *Mode, const char *Config, in __xray_log_init_mode_bin() argument
170 if (CurrentMode == nullptr || internal_strcmp(CurrentMode->Mode, Mode) != 0) in __xray_log_init_mode_bin()
203 auto Mode = CurrentMode ? CurrentMode->Mode : nullptr; in __xray_log_process_buffers() local
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DFileOutputBuffer.cpp76 unsigned Mode) in InMemoryBuffer() argument
78 Mode(Mode) {} in InMemoryBuffer()
110 unsigned Mode; member in __anonb6581d170111::InMemoryBuffer
127 fs::TempFile::create(Path + ".tmp%%%%%%%", Mode); in createOnDiskBuffer()
147 return createInMemoryBuffer(Path, Size, Mode); in createOnDiskBuffer()
161 unsigned Mode = fs::all_read | fs::all_write; in create() local
163 Mode |= fs::all_exe; in create()
167 return createInMemoryBuffer(Path, Size, Mode); in create()
187 return createInMemoryBuffer(Path, Size, Mode); in create()
189 return createOnDiskBuffer(Path, Size, Mode); in create()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DInfoByHwMode.h31 std::string getModeName(unsigned Mode);
83 InfoT &get(unsigned Mode) { in get()
84 if (!hasMode(Mode)) { in get()
88 return Map.at(Mode); in get()
90 const InfoT &get(unsigned Mode) const { in get()
91 auto F = Map.find(Mode); in get()
107 void makeSimple(unsigned Mode) { in makeSimple()
108 assert(hasMode(Mode) || hasDefault()); in makeSimple()
109 InfoT I = get(Mode); in makeSimple()
130 MVT getType(unsigned Mode) const { return get(Mode); } in getType()
[all …]
/llvm-project-15.0.7/llvm/lib/Remarks/
H A DRemarkSerializer.cpp21 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer() argument
28 return std::make_unique<YAMLRemarkSerializer>(OS, Mode); in createRemarkSerializer()
30 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode); in createRemarkSerializer()
32 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode); in createRemarkSerializer()
38 remarks::createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, in createRemarkSerializer() argument
45 return std::make_unique<YAMLRemarkSerializer>(OS, Mode, std::move(StrTab)); in createRemarkSerializer()
47 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode, in createRemarkSerializer()
50 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode, in createRemarkSerializer()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DDebugify.cpp221 if (Mode == DebugifyMode::SyntheticDebugInfo) in applyDebugify()
235 if (Mode == DebugifyMode::SyntheticDebugInfo) in applyDebugify()
800 DebugInfoBeforePass(DebugInfoBeforePass), Mode(Mode) {} in DebugifyModulePass()
811 enum DebugifyMode Mode; member
826 DebugInfoBeforePass(DebugInfoBeforePass), Mode(Mode) {} in DebugifyFunctionPass()
837 enum DebugifyMode Mode; member
861 StatsMap(StatsMap), DebugInfoBeforePass(DebugInfoBeforePass), Mode(Mode), in CheckDebugifyModulePass()
875 enum DebugifyMode Mode; member
903 StatsMap(StatsMap), DebugInfoBeforePass(DebugInfoBeforePass), Mode(Mode), in CheckDebugifyFunctionPass()
917 enum DebugifyMode Mode; member
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Language/ObjC/
H A DNSIndexPath.cpp85 m_impl.m_mode = Mode::Inlined; in Update()
118 m_impl.m_mode = Mode::Outsourced; in Update()
145 case Mode::Inlined: in GetNumIndexes()
147 case Mode::Outsourced: in GetNumIndexes()
161 case Mode::Inlined: in GetIndexAtIndex()
163 case Mode::Outsourced: in GetIndexAtIndex()
286 case Mode::Inlined: in Clear()
289 case Mode::Outsourced: in Clear()
292 case Mode::Invalid: in Clear()
295 m_mode = Mode::Invalid; in Clear()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIModeRegister.cpp33 unsigned Mode; member
35 Status() : Mask(0), Mode(0){}; in Status()
38 Mode &= Mask; in Status()
44 return Status((Mask | S.Mask), ((Mode & ~S.Mask) | (S.Mode & S.Mask))); in merge()
56 unsigned NewMask = (Mask & S.Mask) & (Mode ^ ~S.Mode); in intersect()
57 unsigned NewMode = (Mode & NewMask); in intersect()
63 return Status((S.Mask & (Mode ^ S.Mode)) | (~Mask & S.Mask), S.Mode); in delta()
67 return (Mask == S.Mask) && (Mode == S.Mode); in operator ==()
73 return ((Mask & S.Mask) == S.Mask) && ((Mode & S.Mask) == S.Mode); in isCompatible()
279 unsigned Mode = (Val << Offset) & Mask; in processBlockPhase1() local
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DFloatingPointMode.h144 inline raw_ostream& operator<<(raw_ostream &OS, DenormalMode Mode) {
145 Mode.print(OS);
162 inline StringRef denormalModeKindName(DenormalMode::DenormalModeKind Mode) { in denormalModeKindName() argument
163 switch (Mode) { in denormalModeKindName()
180 DenormalMode Mode; in parseDenormalFPAttribute() local
181 Mode.Output = parseDenormalFPAttributeComponent(OutputStr); in parseDenormalFPAttribute()
185 Mode.Input = InputStr.empty() ? Mode.Output : in parseDenormalFPAttribute()
188 return Mode; in parseDenormalFPAttribute()
/llvm-project-15.0.7/llvm/include/llvm/Remarks/
H A DRemarkSerializer.h47 SerializerMode Mode; member
53 SerializerMode Mode) in RemarkSerializer()
54 : SerializerFormat(SerializerFormat), OS(OS), Mode(Mode) {} in RemarkSerializer()
80 createRemarkSerializer(Format RemarksFormat, SerializerMode Mode,
85 createRemarkSerializer(Format RemarksFormat, SerializerMode Mode,
H A DYAMLRemarkSerializer.h37 YAMLRemarkSerializer(raw_ostream &OS, SerializerMode Mode,
51 SerializerMode Mode,
72 YAMLStrTabRemarkSerializer(raw_ostream &OS, SerializerMode Mode) in YAMLStrTabRemarkSerializer()
73 : YAMLRemarkSerializer(Format::YAMLStrTab, OS, Mode) { in YAMLStrTabRemarkSerializer()
77 YAMLStrTabRemarkSerializer(raw_ostream &OS, SerializerMode Mode, in YAMLStrTabRemarkSerializer()
79 : YAMLRemarkSerializer(Format::YAMLStrTab, OS, Mode, std::move(StrTab)) {} in YAMLStrTabRemarkSerializer()
/llvm-project-15.0.7/compiler-rt/test/profile/
H A Dinstrprof-set-dir-mode.c12 void __llvm_profile_set_dir_mode(unsigned Mode);
16 static int test(unsigned Mode, const char *TestDir) { in test() argument
23 __llvm_profile_set_dir_mode(Mode); in test()
26 if (Mode != __llvm_profile_get_dir_mode()) in test()
33 const unsigned Expected = ~umask(0) & Mode; in test()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DTarget.cpp56 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createSnippetGenerator() argument
58 switch (Mode) { in createSnippetGenerator()
72 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createBenchmarkRunner() argument
75 switch (Mode) { in createBenchmarkRunner()
81 const char *ModeName = Mode == InstructionBenchmark::Latency in createBenchmarkRunner()
89 return createLatencyBenchmarkRunner(State, Mode, ResultAggMode); in createBenchmarkRunner()
110 const LLVMState &State, InstructionBenchmark::ModeE Mode, in createLatencyBenchmarkRunner() argument
112 return std::make_unique<LatencyBenchmarkRunner>(State, Mode, ResultAggMode); in createLatencyBenchmarkRunner()
H A DLatencyBenchmarkRunner.cpp22 const LLVMState &State, InstructionBenchmark::ModeE Mode, in LatencyBenchmarkRunner() argument
24 : BenchmarkRunner(State, Mode) { in LatencyBenchmarkRunner()
25 assert((Mode == InstructionBenchmark::Latency || in LatencyBenchmarkRunner()
26 Mode == InstructionBenchmark::InverseThroughput) && in LatencyBenchmarkRunner()
95 switch (Mode) { in runMeasurements()
137 .concat(std::to_string(Mode)) in runMeasurements()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/android/
H A DCloexecCheck.cpp26 const LangOptions &LangOpts, char Mode) { in buildFixMsgForStringFlag() argument
31 " \"" + Twine(Mode) + "\"") in buildFixMsgForStringFlag()
35 return ("\"" + SR + Twine(Mode) + "\"").str(); in buildFixMsgForStringFlag()
82 const ast_matchers::MatchFinder::MatchResult &Result, const char Mode, in insertStringFlag() argument
90 if (!ModeStr || ModeStr->getString().contains(Mode)) in insertStringFlag()
94 ModeArg, *Result.SourceManager, Result.Context->getLangOpts(), Mode); in insertStringFlag()
97 << FD << std::string(1, Mode) in insertStringFlag()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp203 if (Mode == AM_Syntax) in DisplayFunction()
205 else if (Mode == AM_Path) { in DisplayFunction()
257 void HandleCode(Decl *D, AnalysisMode Mode,
271 if (Mode & AM_Syntax) { in VisitDecl()
637 return Mode; in getModeForDecl()
653 return Mode & ~AM_Path; in getModeForDecl()
655 return Mode; in getModeForDecl()
663 Mode = getModeForDecl(D, Mode); in HandleCode()
664 if (Mode == AM_None) in HandleCode()
677 DisplayFunction(D, Mode, IMode); in HandleCode()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DModuleInliner.h30 InliningAdvisorMode Mode = InliningAdvisorMode::Default,
32 : Params(Params), Mode(Mode), LTOPhase(LTOPhase){}; in Params()
42 const InliningAdvisorMode Mode; variable
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DWithColor.h62 ColorMode Mode = ColorMode::Auto);
73 ColorMode Mode = ColorMode::Auto)
74 : OS(OS), Mode(Mode) { in OS()
144 ColorMode Mode; variable
/llvm-project-15.0.7/compiler-rt/include/xray/
H A Dxray_log_interface.h231 XRayLogRegisterStatus __xray_log_register_mode(const char *Mode,
244 XRayLogRegisterStatus __xray_log_select_mode(const char *Mode);
290 XRayLogInitStatus __xray_log_init_mode(const char *Mode, const char *Config);
296 XRayLogInitStatus __xray_log_init_mode_bin(const char *Mode, const char *Config,
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DKernel.cpp68 int32_t __kmpc_target_init(IdentTy *Ident, int8_t Mode, in __kmpc_target_init() argument
71 const bool IsSPMD = Mode & OMP_TGT_EXEC_MODE_SPMD; in __kmpc_target_init()
128 void __kmpc_target_deinit(IdentTy *Ident, int8_t Mode, bool) { in __kmpc_target_deinit() argument
130 const bool IsSPMD = Mode & OMP_TGT_EXEC_MODE_SPMD; in __kmpc_target_deinit()
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningService.cpp17 ScanningMode Mode, ScanningOutputFormat Format, bool ReuseFileManager, in DependencyScanningService() argument
19 : Mode(Mode), Format(Format), ReuseFileManager(ReuseFileManager), in DependencyScanningService()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRegAllocEvictionAdvisor.h172 RegAllocEvictionAdvisorAnalysis(AdvisorMode Mode) in RegAllocEvictionAdvisorAnalysis() argument
173 : ImmutablePass(ID), Mode(Mode){}; in RegAllocEvictionAdvisorAnalysis()
179 AdvisorMode getAdvisorMode() const { return Mode; } in getAdvisorMode()
190 const AdvisorMode Mode; variable
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp237 VPlanSlp::getBest(OpMode Mode, VPValue *Last, in getBest() argument
240 assert((Mode == OpMode::Load || Mode == OpMode::Opcode) && in getBest()
262 return {Mode, BestCandidates[0]}; in getBest()
292 return {Mode, Best}; in getBest()
297 SmallVector<OpMode, 4> Mode; in reorderMultiNodeOps() local
299 Mode.reserve(MultiNodeOps.size()); in reorderMultiNodeOps()
307 Mode.push_back(OpMode::Load); in reorderMultiNodeOps()
309 Mode.push_back(OpMode::Opcode); in reorderMultiNodeOps()
326 if (Mode[Op] == OpMode::Failed) in reorderMultiNodeOps()
331 getBest(Mode[Op], Last, Candidates, IAI); in reorderMultiNodeOps()
/llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningService.h47 DependencyScanningService(ScanningMode Mode, ScanningOutputFormat Format,
51 ScanningMode getMode() const { return Mode; } in getMode()
64 const ScanningMode Mode;

1234567891011