| /openbsd-src/gnu/llvm/libcxx/benchmarks/ |
| H A D | map.bench.cpp | 28 enum class Mode { Hit, Miss }; enum 30 struct AllModes : EnumValuesAsTuple<AllModes, Mode, 2> { 60 TestSets makeTestingSets(size_t MapSize, Mode mode, Shuffle shuffle, in makeTestingSets() 71 R.Keys.push_back(mode == Mode::Hit ? 2 * I + 2 : 2 * I + 1); in makeTestingSets() 114 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run() 135 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run() 156 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1000); in run() 163 Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1000); in run() 179 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run() 198 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | Debugify.h | 96 enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, 100 enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, 107 enum DebugifyMode Mode = DebugifyMode::NoDebugify; variable 110 enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, 114 DebugInfoBeforePass(DebugInfoBeforePass), Mode(Mode) {} in NameOfWrappedPass() 151 enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, 158 enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, 168 enum DebugifyMode Mode; variable 174 enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, 179 StatsMap(StatsMap), DebugInfoBeforePass(DebugInfoBeforePass), Mode(Mode), in NameOfWrappedPass() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/xray/ |
| H A D | xray_log_interface.cpp | 40 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() 85 __xray_log_select_mode(const char *Mode) XRAY_NEVER_INSTRUMENT { in __xray_log_select_mode() argument 88 if (!internal_strcmp(Mode, it->Mode)) { in __xray_log_select_mode() 102 return CurrentMode->Mode; in __xray_log_get_current_mode() 139 XRayLogInitStatus __xray_log_init_mode(const char *Mode, const char *Config) in __xray_log_init_mode() argument 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 [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | FileOutputBuffer.cpp | 76 unsigned Mode) in InMemoryBuffer() argument 78 Mode(Mode) {} in InMemoryBuffer() 99 openFileForWrite(FinalPath, FD, CD_CreateAlways, OF_None, Mode)) in commit() 110 unsigned Mode; member in __anondddc5bfe0111::InMemoryBuffer 115 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) { in createInMemoryBuffer() argument 121 return std::make_unique<InMemoryBuffer>(Path, MB, Size, Mode); in createInMemoryBuffer() 125 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) { in createOnDiskBuffer() argument 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 [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | InfoByHwMode.h | 31 std::string getModeName(unsigned Mode); 83 InfoT &get(unsigned Mode) { in get() 84 if (!hasMode(Mode)) { in get() 86 Map.insert({Mode, Map.at(DefaultMode)}); 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() 92 if (Mode != DefaultMode && F == Map.end()) in get() 107 void makeSimple(unsigned Mode) { in makeSimple() 108 assert(hasMode(Mode) || hasDefault()); in makeSimple() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Remarks/ |
| H A D | RemarkSerializer.cpp | 21 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | Debugify.cpp | 218 enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, in applyDebugify() argument 223 if (Mode == DebugifyMode::SyntheticDebugInfo) in applyDebugify() 234 enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, in applyDebugify() argument 237 if (Mode == DebugifyMode::SyntheticDebugInfo) in applyDebugify() 804 return applyDebugify(M, Mode, DebugInfoBeforePass, NameOfWrappedPass); in runOnModule() 807 DebugifyModulePass(enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, in DebugifyModulePass() 811 DebugInfoBeforePass(DebugInfoBeforePass), Mode(Mode) {} in DebugifyModulePass() 822 enum DebugifyMode Mode; member 829 return applyDebugify(F, Mode, DebugInfoBeforePass, NameOfWrappedPass); in runOnFunction() 833 enum DebugifyMode Mode = DebugifyMode::SyntheticDebugInfo, in DebugifyFunctionPass() [all …]
|
| /openbsd-src/usr.bin/libtool/ |
| H A D | libtool | 105 package LT::Mode; 160 package LT::Mode::Empty; 167 package LT::Mode::Clean; 179 package LT::Mode::Execute; 199 package LT::Mode::Finish; 211 package LT::Mode::Uninstall; 265 return LT::Mode->factory($m, $arg); 279 $m = LT::Mode->factory('install', "implicit $a"); 282 $m = LT::Mode->factory('compile', "implicit"); 284 $m = LT::Mode->factory('link', "implicit"); [all …]
|
| H A D | Makefile | 16 LT/Mode/Compile.pm \ 17 LT/Mode/Install.pm \ 18 LT/Mode/Link.pm \ 19 LT/Mode/Link/Program.pm \ 20 LT/Mode/Link/Library.pm \ 29 .for d in LT LT/Mode LT/Mode/Link
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Language/ObjC/ |
| H A D | NSIndexPath.cpp | 85 m_impl.m_mode = Mode::Inlined; in Update() 118 m_impl.m_mode = Mode::Outsourced; in Update() 125 bool MightHaveChildren() override { return m_impl.m_mode != Mode::Invalid; } in MightHaveChildren() 140 enum class Mode { Inlined, Outsourced, Invalid }; enum in NSIndexPathSyntheticFrontEnd 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() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SIModeRegister.cpp | 33 unsigned Mode; member 35 Status() : Mask(0), Mode(0){}; in Status() 37 Status(unsigned NewMask, unsigned NewMode) : Mask(NewMask), Mode(NewMode) { in Status() 38 Mode &= Mask; in Status() 44 return Status((Mask | S.Mask), ((Mode & ~S.Mask) | (S.Mode & S.Mask))); in merge() 50 return Status(Mask & ~newMask, Mode & ~newMask); in mergeUnknown() 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 ==() [all …]
|
| H A D | SIMachineFunctionInfo.h | 218 SIMode(const AMDGPU::SIModeRegisterDefaults &Mode) { 219 IEEE = Mode.IEEE; 220 DX10Clamp = Mode.DX10Clamp; 221 FP32InputDenormals = Mode.FP32Denormals.Input != DenormalMode::PreserveSign; 223 Mode.FP32Denormals.Output != DenormalMode::PreserveSign; 225 Mode.FP64FP16Denormals.Input != DenormalMode::PreserveSign; 227 Mode.FP64FP16Denormals.Output != DenormalMode::PreserveSign; 241 static void mapping(IO &YamlIO, SIMode &Mode) { 242 YamlIO.mapOptional("ieee", Mode.IEEE, true); 243 YamlIO.mapOptional("dx10-clamp", Mode.DX10Clamp, true); [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | FloatingPointMode.h | 144 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Remarks/ |
| H A D | RemarkSerializer.h | 48 SerializerMode Mode; member 54 SerializerMode Mode) in RemarkSerializer() 55 : SerializerFormat(SerializerFormat), OS(OS), Mode(Mode) {} in RemarkSerializer() 81 createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, 86 createRemarkSerializer(Format RemarksFormat, SerializerMode Mode,
|
| H A D | YAMLRemarkSerializer.h | 38 YAMLRemarkSerializer(raw_ostream &OS, SerializerMode Mode, 52 SerializerMode Mode, 73 YAMLStrTabRemarkSerializer(raw_ostream &OS, SerializerMode Mode) in YAMLStrTabRemarkSerializer() 74 : YAMLRemarkSerializer(Format::YAMLStrTab, OS, Mode) { in YAMLStrTabRemarkSerializer() 78 YAMLStrTabRemarkSerializer(raw_ostream &OS, SerializerMode Mode, in YAMLStrTabRemarkSerializer() 80 : YAMLRemarkSerializer(Format::YAMLStrTab, OS, Mode, std::move(StrTab)) {} in YAMLStrTabRemarkSerializer()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 192 void DisplayFunction(const Decl *D, AnalysisMode Mode, in DisplayFunction() argument 202 if (Mode == AM_Syntax) in DisplayFunction() 204 else if (Mode == AM_Path) { in DisplayFunction() 216 assert(Mode == (AM_Syntax | AM_Path) && "Unexpected mode!"); in DisplayFunction() 256 void HandleCode(Decl *D, AnalysisMode Mode, 269 AnalysisMode Mode = getModeForDecl(D, RecVisitorMode); in VisitDecl() local 270 if (Mode & AM_Syntax) { in VisitDecl() 356 AnalysisMode getModeForDecl(Decl *D, AnalysisMode Mode); 625 AnalysisConsumer::getModeForDecl(Decl *D, AnalysisMode Mode) { in getModeForDecl() argument 636 return Mode; in getModeForDecl() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
| H A D | Target.cpp | 60 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createSnippetGenerator() argument 62 switch (Mode) { in createSnippetGenerator() 76 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createBenchmarkRunner() argument 80 switch (Mode) { in createBenchmarkRunner() 87 const char *ModeName = Mode == InstructionBenchmark::Latency in createBenchmarkRunner() 98 return createLatencyBenchmarkRunner(State, Mode, BenchmarkPhaseSelector, in createBenchmarkRunner() 124 const LLVMState &State, InstructionBenchmark::ModeE Mode, in createLatencyBenchmarkRunner() argument 128 State, Mode, BenchmarkPhaseSelector, ResultAggMode); in createLatencyBenchmarkRunner()
|
| H A D | LatencyBenchmarkRunner.cpp | 22 const LLVMState &State, InstructionBenchmark::ModeE Mode, in LatencyBenchmarkRunner() argument 25 : BenchmarkRunner(State, Mode, BenchmarkPhaseSelector) { in LatencyBenchmarkRunner() 26 assert((Mode == InstructionBenchmark::Latency || in LatencyBenchmarkRunner() 27 Mode == InstructionBenchmark::InverseThroughput) && in LatencyBenchmarkRunner() 96 switch (Mode) { in runMeasurements() 138 .concat(std::to_string(Mode)) in runMeasurements()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/ |
| H A D | ModuleInliner.h | 30 InliningAdvisorMode Mode = InliningAdvisorMode::Default, 32 : Params(Params), Mode(Mode), LTOPhase(LTOPhase){}; in Params() 42 const InliningAdvisorMode Mode; variable
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | RegAllocPriorityAdvisor.h | 63 RegAllocPriorityAdvisorAnalysis(AdvisorMode Mode) in RegAllocPriorityAdvisorAnalysis() argument 64 : ImmutablePass(ID), Mode(Mode){}; in RegAllocPriorityAdvisorAnalysis() 70 AdvisorMode getAdvisorMode() const { return Mode; } in getAdvisorMode() 83 const AdvisorMode Mode; variable
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | WithColor.h | 62 ColorMode Mode = ColorMode::Auto); 73 ColorMode Mode = ColorMode::Auto) 74 : OS(OS), Mode(Mode) { in OS() 144 ColorMode Mode; variable
|
| /openbsd-src/gnu/llvm/compiler-rt/include/xray/ |
| H A D | xray_log_interface.h | 231 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,
|
| /openbsd-src/sys/arch/amd64/stand/efiboot/ |
| H A D | efiboot.c | 477 for (i = 0; i < conout->Mode->MaxMode; i++) { in efi_video_init() 739 if (serio->Mode->BaudRate != sp) { in comspeed() 741 serio->Mode->ReceiveFifoDepth, in comspeed() 742 serio->Mode->Timeout, serio->Mode->Parity, in comspeed() 743 serio->Mode->DataBits, serio->Mode->StopBits); in comspeed() 845 if (EFI_ERROR(status) || gop->Mode->Mode != mode) in efi_gop_setmode() 909 for (i = 0; i < gop->Mode->MaxMode; i++) { in efi_makebootargs() 921 if (gopmode >= 0 && gopmode != gop->Mode->Mode) { in efi_makebootargs() 922 curmode = gop->Mode->Mode; in efi_makebootargs() 927 gopi = gop->Mode->Info; in efi_makebootargs() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/ |
| H A D | DependencyScanningService.cpp | 17 ScanningMode Mode, ScanningOutputFormat Format, bool OptimizeArgs, in DependencyScanningService() argument 19 : Mode(Mode), Format(Format), OptimizeArgs(OptimizeArgs), in DependencyScanningService()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanSLP.cpp | 238 VPlanSlp::getBest(OpMode Mode, VPValue *Last, in getBest() argument 241 assert((Mode == OpMode::Load || Mode == OpMode::Opcode) && in getBest() 263 return {Mode, BestCandidates[0]}; in getBest() 293 return {Mode, Best}; in getBest() 298 SmallVector<OpMode, 4> Mode; in reorderMultiNodeOps() local 300 Mode.reserve(MultiNodeOps.size()); in reorderMultiNodeOps() 308 Mode.push_back(OpMode::Load); in reorderMultiNodeOps() 310 Mode.push_back(OpMode::Opcode); in reorderMultiNodeOps() 327 if (Mode[Op] == OpMode::Failed) in reorderMultiNodeOps() 332 getBest(Mode[Op], Last, Candidates, IAI); in reorderMultiNodeOps()
|