Home
last modified time | relevance | path

Searched +full:auto +full:- +full:pm (Results 1 – 25 of 189) sorted by relevance

12345678

/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp1 //===- ExtractAPI/ExtractAPIConsumer.cpp ------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
67 const auto &FS = CI.getVirtualFileSystem(); in getRelativeIncludeName()
77 auto CheckDir = [&](llvm::StringRef Dir) -> unsigned { in getRelativeIncludeName()
82 for (auto NI = path::begin(File), NE = path::end(File), in getRelativeIncludeName()
98 return NI - path::begin(File); in getRelativeIncludeName()
101 if (NI->size() == 1 && DI->size() == 1 && in getRelativeIncludeName()
102 path::is_separator(NI->front()) && path::is_separator(DI->front())) in getRelativeIncludeName()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.cpp1 //===- NewPMDriver.cpp - Driver for opt with new PM -----------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
22 #include "llvm/Config/llvm-config.h"
47 "debugify-each",
48 cl::desc("Start each pass with debugify and end it with check-debugify"));
51 DebugifyExport("debugify-export",
52 cl::desc("Export per-pass debugify statistics to this file"),
56 "verify-each-debuginfo-preserve",
[all …]
H A Doptdriver.cpp1 //===- optdriver.cpp - The LLVM Modular Optimizer -------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // line, They are run in the order specified. Common driver library for re-use
11 // by potential downstream opt-variants.
13 //===----------------------------------------------------------------------===//
25 #include "llvm/Config/llvm-config.h"
71 "Optimizations available (use \"-passes=\" for the new pass manager)"));
74 "bugpoint-enable-legacy-pm",
77 "due to it not working with the new PM, please do not use otherwise."),
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp1 //===- AnalysisDeclContext.cpp - Analysis context for Path Sens analysis --===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
95 if (const auto *FD = dyn_cast<FunctionDecl>(D)) { in getBody()
96 Stmt *Body = FD->getBody(); in getBody()
97 if (auto *CoroBody = dyn_cast_or_null<CoroutineBodyStmt>(Body)) in getBody()
98 Body = CoroBody->getBody(); in getBody()
99 if (ADCMgr && ADCMgr->synthesizeBodies()) { in getBody()
100 Stmt *SynthesizedBody = ADCMgr->getBodyFarm().getBody(FD); in getBody()
[all …]
H A DThreadSafetyCommon.cpp1 //===- ThreadSafetyCommon.cpp ---------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
42 switch (CE->getStmtClass()) { in getSourceLiteralString()
44 return toString(cast<IntegerLiteral>(CE)->getValue(), 10, true); in getSourceLiteralString()
47 ret += cast<StringLiteral>(CE)->getString(); in getSourceLiteralString()
65 if (const auto *Ph = dyn_cast<til::Phi>(E)) in isIncompletePhi()
66 return Ph->status() == til::Phi::PH_Incomplete; in isIncompletePhi()
80 const auto *ME = dyn_cast<MemberExpr>(E->IgnoreParenCasts()); in isCalleeArrow()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenSchedule.cpp1 //===- CodeGenSchedule.cpp - Scheduling MachineModels ---------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
32 #define DEBUG_TYPE "subtarget-emitter"
47 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply()
67 --Paren; in removeParens()
84 auto Generics = Instructions.slice(0, NumGeneric); in apply()
85 auto Pseudos = Instructions.slice(NumGeneric, NumPseudos); in apply()
86 auto NonPseudos = Instructions.slice(NumGeneric + NumPseudos); in apply()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp1 //===- llvm-extract.cpp - LLVM function extraction utility ----------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
44 cl::OptionCategory ExtractCat("llvm-extract Options");
46 // InputFilename - The filename to read from.
49 cl::init("-"),
55 cl::init("-"), cl::cat(ExtractCat));
64 static cl::opt<bool> KeepConstInit("keep-const-init",
72 // ExtractFuncs - The functions to extract from the module.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaTargetMachine.cpp1 //===- XtensaTargetMachine.cpp - Define TargetMachine for Xtensa ----------===//
7 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
34 std::string Ret = "e-m:e-p:32:32-i8:8:32-i16:16:32-i64:64-n32"; in computeDataLayout()
69 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl()
70 Attribute FSAttr = F.getFnAttribute("target-features"); in getSubtargetImpl()
72 auto CPU = CPUAttr.isValid() ? CPUAttr.getValueAsString().str() : TargetCPU; in getSubtargetImpl()
73 auto FS = FSAttr.isValid() ? FSAttr.getValueAsString().str() : TargetFS; in getSubtargetImpl()
75 auto &I = SubtargetMap[CPU + FS]; in getSubtargetImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Passes/
H A DTargetPassRegistry.inc1 //===- TargetPassRegistry.inc - Registry of passes --------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
24 auto *PIC = PB.getPassInstrumentationCallbacks();
26 PIC->registerClassToPassNameCallback([this, PIC]() {
31 PIC->addClassToPassName(decltype(CREATE_PASS)::name(), NAME);
33 PIC->addClassToPassName(CLASS, NAME);
80 PM.addPass(CREATE_PASS); \
86 auto Params = PassBuilder::parsePassParameters(PARSER, Name, NAME); \
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp1 //===- BugReporter.cpp - Generate PathDiagnostics for bugs ----------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
102 //===----------------------------------------------------------------------===//
104 //===----------------------------------------------------------------------===//
157 return CurrentNode->getLocationContext(); in getCurrLocationContext()
164 return LCM.find(&PD->getActivePath())->getSecond(); in getLocationContextForActivePath()
172 CurrentNode = CurrentNode->getFirstPred(); in ascendToPrevNode()
177 return getCurrLocationContext()->getParentMap(); in getParentMap()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCompileUtils.cpp1 //===------ CompileUtils.cpp - Utilities for compiling IR in the JIT ------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
48 legacy::PassManager PM; in operator ()() local
50 if (TM.addPassesToEmitMC(PM, Ctx, ObjStream)) in operator ()()
53 PM.run(M); in operator ()()
56 auto ObjBuffer = std::make_unique<SmallVectorMemoryBuffer>( in operator ()()
57 std::move(ObjBufferSV), M.getModuleIdentifier() + "-jitted-objectbuffer", in operator ()()
60 auto Obj = object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in operator ()()
74 return ObjCache->getObject(&M); in tryToLoadFromObjectCache()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLegacyPassManager.cpp1 //===- LegacyPassManager.cpp - LLVM Pass Infrastructure Implementation ----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
37 //===----------------------------------------------------------------------===//
40 // debugging on, a command line option (--debug-pass) is enabled that causes the
52 "debug-pass", cl::Hidden,
60 /// isPassDebuggingExecutionsOrMore - Return true if -debug-pass=Executions
68 // Only calculate getInstructionCount if the size-info remark is requested. in initSizeRemarkInfo()
72 // per-function size remarks later. in initSizeRemarkInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp1 //===-- llc.cpp - Implement the LLVM Native Code Generator ----------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // command-line interface for generating an assembly file or a relocatable file,
13 //===----------------------------------------------------------------------===//
65 // General options for llc. Other pass-specific options are specified
66 // within the corresponding llc passes, and target-specific options
67 // and back-end code generation options are specified with the target machine.
70 InputFilename(cl::Positional, cl::desc("<input bitcode>"), cl::init("-"));
79 SplitDwarfOutputFile("split-dwarf-output",
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kTargetMachine.cpp1 //===-- M68kTargetMachine.cpp - M68k Target Machine -------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
38 auto *PR = PassRegistry::getPassRegistry(); in LLVMInitializeM68kTarget()
55 Ret += "-m:e"; in computeDataLayout()
57 // M68k pointers are always 32 bit wide even for 16-bit CPUs. in computeDataLayout()
58 // The ABI only specifies 16-bit alignment. in computeDataLayout()
59 // On at least the 68020+ with a 32-bit bus, there is a performance benefit in computeDataLayout()
60 // to having 32-bit alignment. in computeDataLayout()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLLVMTargetMachine.cpp1 //===-- LLVMTargetMachine.cpp - Implement the LLVMTargetMachine class -----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
37 EnableTrapUnreachable("trap-unreachable", cl::Hidden,
41 "no-trap-after-noreturn", cl::Hidden,
43 "after noreturn calls, even if --trap-unreachable is set."));
69 TmpAsmInfo->setBinutilsVersion(Options.BinutilsVersion); in initAsmInfo()
72 TmpAsmInfo->setUseIntegratedAssembler(false); in initAsmInfo()
75 TmpAsmInfo->setParseInlineAsmUsingAsmParser(false); in initAsmInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchTargetMachine.cpp1 //===-- LoongArchTargetMachine.cpp - Define TargetMachine for LoongArch ---===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
36 auto *PR = PassRegistry::getPassRegistry(); in LLVMInitializeLoongArchTarget()
44 "loongarch-enable-dead-defs", cl::Hidden,
51 EnableLoopDataPrefetch("loongarch-enable-loop-data-prefetch", cl::Hidden,
57 return "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128"; in computeDataLayout()
59 return "e-m:e-p:32:32-i64:64-n32-S128"; in computeDataLayout()
102 Attribute CPUAttr = F.getFnAttribute("target-cpu"); in getSubtargetImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDirectXTargetMachine.cpp1 //===- DirectXTargetMachine.cpp - DirectX Target Implementation -*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
41 auto *PR = PassRegistry::getPassRegistry(); in LLVMInitializeDirectXTarget()
59 return getContext().getDXContainerSection(GO->getSection(), Kind); in getExplicitSectionGlobal()
71 DirectXPassConfig(DirectXTargetMachine &TM, PassManagerBase &PM) in DirectXPassConfig() argument
72 : TargetPassConfig(TM, PM) {} in DirectXPassConfig()
94 "e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-" in DirectXTargetMachine()
95 "f32:32-f64:64-n8:16:32:64", in DirectXTargetMachine()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DDeviceOffload.cpp1 //===---------- DeviceOffload.cpp - Device Offloading------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
35 StringRef Arch = CI->getTargetOpts().CPU; in IncrementalCUDADeviceParser()
46 auto PTU = IncrementalParser::Parse(Input); in Parse()
50 auto PTX = GeneratePTX(); in Parse()
54 auto Err = GenerateFatbinary(); in Parse()
60 VFS->addFile(FatbinFileName, 0, in Parse()
65 HostParser.getCI()->getCodeGenOpts().CudaGpuBinaryFileName = FatbinFileName; in Parse()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp1 //===----- HexagonMCChecker.cpp - Instruction bundle checking -------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
33 RelaxNVChecks("relax-nv-checks", cl::Hidden,
34 cl::desc("Relax checks of new-value validity"));
40 // Initialize read-only registers set. in init()
44 // Figure out the loop-registers definitions. in init()
56 for (auto const &I : HexagonMCInstrInfo::bundleInstructions(MCB)) { in init()
80 // Note register use. Super-registers are not tracked directly, in initReg()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.cpp1 //===-- AMDGPUTargetMachine.cpp - TargetMachine for hw codegen targets-----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
101 /// -{sgpr|vgpr}-regalloc=... command line option.
111 "pick SGPR register allocator based on -O option",
116 SGPRRegAlloc("sgpr-regalloc", cl::Hidden, cl::init(&useDefaultRegisterAllocator),
121 VGPRRegAlloc("vgpr-regalloc", cl::Hidden, cl::init(&useDefaultRegisterAllocator),
186 EnableEarlyIfConversion("amdgpu-early-ifcvt", cl::Hidden,
187 cl::desc("Run early if-conversion"),
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInliner.cpp1 //===- Inliner.cpp - Code common to all inliners --------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
74 "intra-scc-cost-multiplier", cl::init(2), cl::Hidden,
77 "new call was previously an intra-SCC call (not relevant when the "
78 "original call was already intra-SCC). This can accumulate over "
82 "multiplied by intra-scc-cost-multiplier). This is to prevent tons of "
86 /// as part of the default (e.g. -O3) pipeline.
87 static cl::opt<bool> KeepAdvisorForPrinting("keep-inline-advisor-for-printing",
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRAsmBackend.cpp1 //===-- AVRAsmBackend.cpp - AVR Asm Backend ------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
51 Ctx->reportError(Fixup.getLoc(), Diagnostic); in signed_width()
70 Ctx->reportError(Fixup.getLoc(), Diagnostic); in unsigned_width()
92 Value -= 2; in adjustRelativeBranch()
102 /// 22-bit absolute fixup.
112 auto top = Value & (0xf00000 << 6); // the top four bits in fixup_call()
113 auto middle = Value & (0x1ffff << 5); // the middle 13 bits in fixup_call()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp1 //===----- CGCoroutine.cpp - Emit LLVM Code for C++ coroutines ------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
76 // to wrap dealloc code with if(auto mem = coro.free) dealloc(mem).
94 if (CurCoro.Data->CoroIdExpr) in createCoroData()
95 CGF.CGM.Error(CoroIdExpr->getBeginLoc(), in createCoroData()
98 CGF.CGM.Error(CoroIdExpr->getBeginLoc(), in createCoroData()
107 CurCoro.Data->CoroId = CoroId; in createCoroData()
108 CurCoro.Data->CoroIdExpr = CoroIdExpr; in createCoroData()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DFastISelEmitter.cpp1 ///===- FastISelEmitter.cpp - Generate an instruction selector ------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 // This file scans through the target's tablegen instruction-info files
14 // and extracts instructions with obvious-looking patterns, and it emits
17 //===----------------------------------------------------------------------===//
33 /// InstructionMemo - This class holds additional information about an
57 /// ImmPredicateSet - This uniques predicates (represented as a string) and
71 return Entry - 1; in getIDFor()
85 /// OperandsSignature - This class holds a description of a list of operand
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.cpp1 //===-- NVPTXTargetMachine.cpp - Define TargetMachine for NVPTX -----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Top-level implementation for the NVPTX target.
11 //===----------------------------------------------------------------------===//
49 DisableLoadStoreVectorizer("disable-nvptx-load-store-vectorizer",
55 "disable-nvptx-require-structured-cfg",
62 "nvptx-short-ptr",
64 "Use 32-bit pointers for accessing const/local/shared address spaces."),
94 // but it's very NVPTX-specific. in LLVMInitializeNVPTXTarget()
[all …]

12345678