Home
last modified time | relevance | path

Searched refs:Desc (Results 1 – 25 of 219) sorted by relevance

123456789

/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DInterpBlock.h52 Block(const std::optional<unsigned> &DeclID, Descriptor *Desc,
54 : DeclID(DeclID), IsStatic(IsStatic), IsExtern(IsExtern), Desc(Desc) {} in DeclID()
56 Block(Descriptor *Desc, bool IsStatic = false, bool IsExtern = false)
58 Desc(Desc) {}
61 Descriptor *getDescriptor() const { return Desc; } in getDescriptor()
69 bool isTemporary() const { return Desc->IsTemporary; } in isTemporary()
71 InterpSize getSize() const { return Desc->getAllocSize(); } in getSize()
79 size_t DataOffset = Desc->getMetadataSize(); in data()
84 size_t DataOffset = Desc->getMetadataSize(); in data()
101 std::memset(rawData(), 0, Desc->getAllocSize()); in invokeCtor()
[all …]
H A DDescriptor.cpp71 auto *Desc = reinterpret_cast<InlineDescriptor *>(ElemPtr); in ctorArrayDesc() local
72 auto *ElemLoc = reinterpret_cast<char *>(Desc + 1); in ctorArrayDesc()
75 Desc->Offset = ElemOffset + sizeof(InlineDescriptor); in ctorArrayDesc()
76 Desc->Desc = SD; in ctorArrayDesc()
77 Desc->IsInitialized = true; in ctorArrayDesc()
78 Desc->IsBase = false; in ctorArrayDesc()
79 Desc->IsActive = IsActive; in ctorArrayDesc()
80 Desc->IsConst = IsConst || D->IsConst; in ctorArrayDesc()
81 Desc->IsFieldMutable = IsMutable || D->IsMutable; in ctorArrayDesc()
83 Fn(B, ElemLoc, Desc->IsConst, Desc->IsFieldMutable, IsActive, in ctorArrayDesc()
[all …]
H A DPointer.cpp92 Descriptor *Desc = getDeclDesc(); in toAPValue() local
93 if (auto *VD = Desc->asValueDecl()) in toAPValue()
95 else if (auto *E = Desc->asExpr()) in toAPValue()
121 Descriptor *Desc = Ptr.getFieldDesc(); in toAPValue() local
122 if (auto *BaseOrMember = Desc->asDecl()) { in toAPValue()
146 Descriptor *Desc = getFieldDesc(); in isInitialized() local
147 assert(Desc); in isInitialized()
148 if (Desc->isPrimitiveArray()) { in isInitialized()
166 Descriptor *Desc = getFieldDesc(); in initialize() local
168 assert(Desc); in initialize()
[all …]
H A DProgram.cpp56 Descriptor *Desc = in createGlobalString() local
65 unsigned Sz = Desc->getAllocSize(); in createGlobalString()
66 auto *G = new (Allocator, Sz) Global(Desc, /*isStatic=*/true, in createGlobalString()
186 Descriptor *Desc; in createGlobal() local
190 Desc = createDescriptor(D, *T, std::nullopt, IsConst, IsTemporary); in createGlobal()
192 Desc = createDescriptor(D, Ty.getTypePtr(), std::nullopt, IsConst, in createGlobal()
195 if (!Desc) in createGlobal()
201 auto *G = new (Allocator, Desc->getAllocSize()) in createGlobal()
202 Global(getCurrentDecl(), Desc, IsStatic, IsExtern); in createGlobal()
258 if (Descriptor *Desc = GetBaseDesc(BD, BR)) { in getOrCreateRecord() local
[all …]
H A DInterpState.cpp58 Descriptor *Desc = B->getDescriptor(); in deallocate() local
67 if (Desc->MoveFn) in deallocate()
68 Desc->MoveFn(B, B->data(), D->data(), Desc); in deallocate()
71 if (Desc->DtorFn) in deallocate()
72 Desc->DtorFn(B, B->data(), Desc); in deallocate()
H A DInterpFrame.cpp38 Block *B = new (localBlock(Local.Offset)) Block(Local.Desc); in InterpFrame()
41 ID->Desc = Local.Desc; in InterpFrame()
100 auto printDesc = [&OS, &Ctx](Descriptor *Desc) { in print() argument
101 if (auto *D = Desc->asDecl()) { in print()
113 if (auto *E = Desc->asExpr()) { in print()
199 const auto &Desc = Func->getParamDescriptor(Off); in getParamPointer() local
200 size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize(); in getParamPointer()
202 auto *B = new (Memory.get()) Block(Desc.second); in getParamPointer()
205 TYPE_SWITCH(Desc.first, new (B->data()) T(stackRef<T>(Off))); in getParamPointer()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp26 typedef Op::Description Desc; in getDescriptions() typedef
29 Descriptions[DW_OP_addr] = Desc(Op::Dwarf2, Op::SizeAddr); in getDescriptions()
30 Descriptions[DW_OP_deref] = Desc(Op::Dwarf2); in getDescriptions()
31 Descriptions[DW_OP_const1u] = Desc(Op::Dwarf2, Op::Size1); in getDescriptions()
32 Descriptions[DW_OP_const1s] = Desc(Op::Dwarf2, Op::SignedSize1); in getDescriptions()
33 Descriptions[DW_OP_const2u] = Desc(Op::Dwarf2, Op::Size2); in getDescriptions()
34 Descriptions[DW_OP_const2s] = Desc(Op::Dwarf2, Op::SignedSize2); in getDescriptions()
35 Descriptions[DW_OP_const4u] = Desc(Op::Dwarf2, Op::Size4); in getDescriptions()
36 Descriptions[DW_OP_const4s] = Desc(Op::Dwarf2, Op::SignedSize4); in getDescriptions()
37 Descriptions[DW_OP_const8u] = Desc(Op::Dwarf2, Op::Size8); in getDescriptions()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DOptions.td5 Desc<"Supply a sort order when dumping the symbol table.">,
8 Desc<"Do not demangle symbol names before showing them.">;
13 Desc<"Hide aliases in the command list.">;
15 Desc<"Hide user-defined commands from the list.">;
17 Desc<"Include commands prefixed with an underscore.">;
22 Desc<"Apply the new value to the global default value.">;
24 Desc<"Force an empty value to be accepted as the default.">;
26 Desc<"Set the setting if it exists, but do not cause the command to raise "
33 Desc<"The file into which to write the settings.">;
35 Desc<"Append to saved settings file if it exists.">;
[all …]
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DTargetProperties.td6Desc<"If true, inject local variables explicitly into the expression text. This will fix symbol re…
13 Desc<"Default architecture to choose, when there's a choice.">;
16 Desc<"Move breakpoints to nearest code.">;
19 Desc<"The language to use when interpreting expressions entered in commands.">;
22 Desc<"Path to a file containing expressions to be prepended to all expressions.">;
25 Desc<"The maximum amount of errors to emit while parsing an expression. "
30 Desc<"Should printed values be shown as their dynamic value.">;
33 Desc<"Should synthetic values be used by default whenever available.">;
36 Desc<"Skip function prologues when setting breakpoints by name.">;
39Desc<"Source path remappings apply substitutions to the paths of source files, typically needed to…
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DStreamChecker.cpp179 SVal getStreamArg(const FnDescription *Desc, const CallEvent &Call) { in getStreamArg() argument
180 assert(Desc && Desc->StreamArgNo != ArgNone && in getStreamArg()
182 return Call.getArgSVal(Desc->StreamArgNo); in getStreamArg()
289 void evalFopen(const FnDescription *Desc, const CallEvent &Call,
292 void preFreopen(const FnDescription *Desc, const CallEvent &Call,
294 void evalFreopen(const FnDescription *Desc, const CallEvent &Call,
297 void evalFclose(const FnDescription *Desc, const CallEvent &Call,
300 void preFread(const FnDescription *Desc, const CallEvent &Call,
303 void preFwrite(const FnDescription *Desc, const CallEvent &Call,
306 void evalFreadFwrite(const FnDescription *Desc, const CallEvent &Call,
[all …]
H A DObjCSuperDeallocChecker.cpp53 void reportUseAfterDealloc(SymbolRef Sym, StringRef Desc, const Stmt *S,
96 StringRef Desc; in checkPreObjCMessage() local
99 Desc = "[super dealloc] should not be called multiple times"; in checkPreObjCMessage()
101 Desc = StringRef(); in checkPreObjCMessage()
104 reportUseAfterDealloc(ReceiverSymbol, Desc, M.getOriginExpr(), C); in checkPreObjCMessage()
158 StringRef Desc = StringRef(); in checkLocation() local
166 Desc = OS.str(); in checkLocation()
169 reportUseAfterDealloc(BaseSym, Desc, S, C); in checkLocation()
176 StringRef Desc, in reportUseAfterDealloc() argument
187 if (Desc.empty()) in reportUseAfterDealloc()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/
H A DTaskDispatch.h61 : Fn(std::forward<FnT>(Fn)), Desc(DescBuffer.c_str()), in GenericNamedTaskImpl()
63 GenericNamedTaskImpl(FnT &&Fn, const char *Desc) in GenericNamedTaskImpl() argument
64 : Fn(std::forward<FnT>(Fn)), Desc(Desc) { in GenericNamedTaskImpl()
65 assert(Desc && "Description cannot be null"); in GenericNamedTaskImpl()
67 void printDescription(raw_ostream &OS) override { OS << Desc; } in printDescription()
72 const char *Desc; variable
79 std::string Desc) { in makeGenericNamedTask() argument
81 std::move(Desc)); in makeGenericNamedTask()
87 makeGenericNamedTask(FnT &&Fn, const char *Desc = nullptr) {
88 if (!Desc)
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutexset.h25 struct Desc { struct
32 Desc() { internal_memset(this, 0, sizeof(*this)); } in Desc() argument
33 Desc(const Desc& other) { *this = other; } in Desc() argument
34 Desc& operator=(const MutexSet::Desc& other) {
45 Desc Get(uptr i) const;
51 Desc descs_[kMaxSize];
84 MutexSet::Desc MutexSet::Get(uptr i) const { return Desc(); } in Get()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86IntelInstPrinter.cpp67 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printVecCompareInstr() local
85 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) { in printVecCompareInstr()
86 if ((Desc.TSFlags & X86II::OpPrefixMask) == X86II::XS) in printVecCompareInstr()
88 else if ((Desc.TSFlags & X86II::OpPrefixMask) == X86II::XD) in printVecCompareInstr()
156 if (Desc.TSFlags & X86II::EVEX_K) { in printVecCompareInstr()
166 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) { in printVecCompareInstr()
167 if (Desc.TSFlags & X86II::EVEX_B) { in printVecCompareInstr()
170 if ((Desc.TSFlags & X86II::OpMapMask) == X86II::TA) { in printVecCompareInstr()
171 assert(!(Desc.TSFlags & X86II::VEX_W) && "Unknown W-bit value!"); in printVecCompareInstr()
173 } else if (Desc.TSFlags & X86II::VEX_W) { in printVecCompareInstr()
[all …]
H A DX86ATTInstPrinter.cpp87 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printVecCompareInstr() local
102 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) { in printVecCompareInstr()
103 if ((Desc.TSFlags & X86II::OpPrefixMask) == X86II::XS) in printVecCompareInstr()
105 else if ((Desc.TSFlags & X86II::OpPrefixMask) == X86II::XD) in printVecCompareInstr()
174 unsigned CurOp = (Desc.TSFlags & X86II::EVEX_K) ? 3 : 2; in printVecCompareInstr()
176 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) { in printVecCompareInstr()
177 if (Desc.TSFlags & X86II::EVEX_B) { in printVecCompareInstr()
180 if ((Desc.TSFlags & X86II::OpMapMask) == X86II::TA) { in printVecCompareInstr()
181 assert(!(Desc.TSFlags & X86II::VEX_W) && "Unknown W-bit value!"); in printVecCompareInstr()
183 } else if (Desc.TSFlags & X86II::VEX_W) { in printVecCompareInstr()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DCoreProperties.td7Desc<"Control the use of external tools and repositories to locate symbol files. Directories liste…
11Desc<"On macOS, enable calling dsymForUUID (or an equivalent script/binary) in the background to l…
15 Desc<"The path to the clang modules cache directory (-fmodules-cache-path).">;
19Desc<"Debug info path which should be resolved while parsing, relative to the host filesystem.">;
23Desc<"Enable caching for debug sessions in LLDB. LLDB can cache data for each module for improved …
27 Desc<"The path to the LLDB index cache directory.">;
31Desc<"The maximum size for the LLDB index cache directory in bytes. A value over the amount of ava…
35Desc<"The maximum size for the cache directory in terms of percentage of the available space on th…
39Desc<"The expiration time in days for a file. When a file hasn't been accessed for the specified a…
43Desc<"Enable on demand symbol loading in LLDB. LLDB will load debug info on demand for each module…
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp56 static Value *callAppendArgs(IRBuilder<> &Builder, Value *Desc, int NumArgs, in callAppendArgs() argument
68 return Builder.CreateCall(Fn, {Desc, NumArgsValue, Arg0, Arg1, Arg2, Arg3, in callAppendArgs()
72 static Value *appendArg(IRBuilder<> &Builder, Value *Desc, Value *Arg, in appendArg() argument
76 return callAppendArgs(Builder, Desc, 1, Arg0, Zero, Zero, Zero, Zero, Zero, in appendArg()
149 static Value *callAppendStringN(IRBuilder<> &Builder, Value *Desc, Value *Str, in callAppendStringN() argument
158 return Builder.CreateCall(Fn, {Desc, Str, Length, IsLastInt32}); in callAppendStringN()
161 static Value *appendString(IRBuilder<> &Builder, Value *Desc, Value *Arg, in appendString() argument
166 return callAppendStringN(Builder, Desc, Arg, Length, IsLast); in appendString()
169 static Value *processArg(IRBuilder<> &Builder, Value *Desc, Value *Arg, in processArg() argument
172 return appendString(Builder, Desc, Arg, IsLast); in processArg()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/MCA/
H A DSupport.cpp51 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() local
52 if (Desc.SubUnitsIdxBegin) in computeProcResourceMasks()
60 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() local
61 if (!Desc.SubUnitsIdxBegin) in computeProcResourceMasks()
64 for (unsigned U = 0; U < Desc.NumUnits; ++U) { in computeProcResourceMasks()
65 uint64_t OtherMask = Masks[Desc.SubUnitsIdxBegin[U]]; in computeProcResourceMasks()
75 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() local
78 << Desc.Name << '\n'); in computeProcResourceMasks()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.cpp171 const MCInstrDesc &Desc = MCII->get(MI.getOpcode()); in isPredicated() local
172 int PredOpIdx = Desc.findFirstPredOperandIdx(); in isPredicated()
177 const MCInstrDesc &Desc = MCII->get(MI.getOpcode()); in isCPSRDefined() local
181 Desc.operands()[I].isOptionalDef()) in isCPSRDefined()
420 const MCInstrDesc &Desc = Info->get(Inst.getOpcode()); in evaluateBranch() local
423 for (unsigned OpNum = 0; OpNum < Desc.getNumOperands(); ++OpNum) { in evaluateBranch()
425 Desc.operands()[OpNum].OperandType == MCOI::OPERAND_PCREL) { in evaluateBranch()
427 Target = ARM_MC::evaluateBranchTarget(Desc, Addr, Imm); in evaluateBranch()
443 evaluateMemOpAddrForAddrMode_i12(const MCInst &Inst, const MCInstrDesc &Desc, in evaluateMemOpAddrForAddrMode_i12() argument
445 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode_i12()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Interpreter/
H A DInterpreterProperties.td7Desc<"If true, regular expression alias commands will show the expanded command that will be execu…
11Desc<"If true, LLDB will prompt you before quitting if there are any live processes being debugged…
15 Desc<"If true, LLDB will save the session's transcripts before quitting.">;
19 Desc<"If true, LLDB will open the saved session's transcripts in the external editor.">;
22Desc<"A path where LLDB will save the session's transcripts. This is particularly useful when you …
26 Desc<"If true, LLDB will stop running a 'command source' script upon encountering an error.">;
30 Desc<"If true, blank lines will be printed between between REPL submissions.">;
34 Desc<"If true, commands will be echoed before they are evaluated.">;
38 Desc<"If true, commands will be echoed even if they are pure comment lines.">;
42Desc<"If true, LLDB will repeat the previous command if no command was passed to the interpreter. …
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.h179 static inline unsigned getMergeOpNum(const MCInstrDesc &Desc) { in getMergeOpNum() argument
180 assert(hasMergeOp(Desc.TSFlags)); in getMergeOpNum()
181 assert(!Desc.isVariadic()); in getMergeOpNum()
182 return Desc.getNumDefs(); in getMergeOpNum()
185 static inline unsigned getVLOpNum(const MCInstrDesc &Desc) { in getVLOpNum() argument
186 const uint64_t TSFlags = Desc.TSFlags; in getVLOpNum()
193 return Desc.getNumOperands() - Offset; in getVLOpNum()
196 static inline unsigned getSEWOpNum(const MCInstrDesc &Desc) { in getSEWOpNum() argument
197 const uint64_t TSFlags = Desc.TSFlags; in getSEWOpNum()
202 return Desc.getNumOperands() - Offset; in getSEWOpNum()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DDebugCounter.h69 static unsigned registerCounter(StringRef Name, StringRef Desc) { in registerCounter() argument
70 return instance().addCounter(std::string(Name), std::string(Desc)); in registerCounter()
133 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo()
160 unsigned addCounter(const std::string &Name, const std::string &Desc) { in addCounter() argument
163 Counters[Result].Desc = Desc; in addCounter()
172 std::string Desc; member
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCheckerRegistryData.cpp157 Print(Out, Checker, Checker.Desc); in printCheckerWithDescList()
164 ("(Enable only for development!) " + Checker.Desc).str()); in printCheckerWithDescList()
169 Print(Out, Checker, Checker.Desc); in printCheckerWithDescList()
203 StringRef Desc) { in printCheckerOptionList() argument
204 AnalyzerOptions::printFormattedEntry(Out, {FullOption, Desc}, in printCheckerOptionList()
215 std::string Desc = in printCheckerOptionList() local
226 Print(Out, FullOption, Desc); in printCheckerOptionList()
234 llvm::Twine("(Enable only for development!) " + Desc).str()); in printCheckerOptionList()
239 Print(Out, FullOption, Desc); in printCheckerOptionList()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyInstPrinter.cpp83 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printInst() local
84 if (Desc.isVariadic()) { in printInst()
85 if ((Desc.getNumOperands() == 0 && MI->getNumOperands() > 0) || in printInst()
86 Desc.variadicOpsAreDefs()) in printInst()
88 unsigned Start = Desc.getNumOperands(); in printInst()
90 if (Desc.variadicOpsAreDefs()) { in printInst()
95 bool NeedsComma = Desc.getNumOperands() > 0 && !Desc.variadicOpsAreDefs(); in printInst()
237 unsigned NumFixedOperands = Desc.NumOperands; in printInst()
243 if (Desc.operands()[I].OperandType != WebAssembly::OPERAND_BASIC_BLOCK) in printInst()
296 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printOperand() local
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUserProperties.td7 Desc<"Architecture to emulate.">;
11Desc<"Path to the emulator binary. If the path does not contain a directory separator, the filenam…
15 Desc<"Extra arguments to pass to the emulator.">;
19 Desc<"Extra variables to add to the emulator environment.">;
23 Desc<"Extra variables to add to emulated target environment.">;

123456789