/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFExpression.cpp | 23 typedef Op::Description Desc; typedef 25 static std::vector<Desc> getOpDescriptions() { in getOpDescriptions() 26 std::vector<Desc> Descriptions; in getOpDescriptions() 28 Descriptions[DW_OP_addr] = Desc(Op::Dwarf2, Op::SizeAddr); in getOpDescriptions() 29 Descriptions[DW_OP_deref] = Desc(Op::Dwarf2); in getOpDescriptions() 30 Descriptions[DW_OP_const1u] = Desc(Op::Dwarf2, Op::Size1); in getOpDescriptions() 31 Descriptions[DW_OP_const1s] = Desc(Op::Dwarf2, Op::SignedSize1); in getOpDescriptions() 32 Descriptions[DW_OP_const2u] = Desc(Op::Dwarf2, Op::Size2); in getOpDescriptions() 33 Descriptions[DW_OP_const2s] = Desc(Op::Dwarf2, Op::SignedSize2); in getOpDescriptions() 34 Descriptions[DW_OP_const4u] = Desc(Op::Dwarf2, Op::Size4); in getOpDescriptions() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpBlock.h | 53 const Descriptor *Desc, bool IsStatic = false, bool IsExtern = false) 55 IsDynamic(false), Desc(Desc) { in EvalID() 56 assert(Desc); in EvalID() 59 Block(unsigned EvalID, const Descriptor *Desc, bool IsStatic = false, 62 IsExtern(IsExtern), IsDynamic(false), Desc(Desc) { in EvalID() 63 assert(Desc); in EvalID() 67 const Descriptor *getDescriptor() const { return Desc; } in getDescriptor() 75 bool isTemporary() const { return Desc->IsTemporary; } in isTemporary() 78 unsigned getSize() const { return Desc->getAllocSize(); } in getSize() 91 size_t DataOffset = Desc->getMetadataSize(); in data() [all …]
|
H A D | Descriptor.cpp | 93 auto *Desc = reinterpret_cast<InlineDescriptor *>(ElemPtr); in ctorArrayDesc() local 94 auto *ElemLoc = reinterpret_cast<std::byte *>(Desc + 1); in ctorArrayDesc() 97 Desc->Offset = ElemOffset + sizeof(InlineDescriptor); in ctorArrayDesc() 98 Desc->Desc = SD; in ctorArrayDesc() 99 Desc->IsInitialized = true; in ctorArrayDesc() 100 Desc->IsBase = false; in ctorArrayDesc() 101 Desc->IsActive = IsActive; in ctorArrayDesc() 102 Desc->IsConst = IsConst || D->IsConst; in ctorArrayDesc() 103 Desc->IsFieldMutable = IsMutable || D->IsMutable; in ctorArrayDesc() 105 Fn(B, ElemLoc, Desc->IsConst, Desc->IsFieldMutable, IsActive, in ctorArrayDesc() [all …]
|
H A D | Program.cpp | 56 Descriptor *Desc = in createGlobalString() local 65 unsigned Sz = Desc->getAllocSize(); in createGlobalString() 66 auto *G = new (Allocator, Sz) Global(Ctx.getEvalID(), Desc, /*isStatic=*/true, in createGlobalString() 70 new (G->block()->rawData()) InlineDescriptor(Desc); in createGlobalString() 156 Descriptor *Desc; in getOrCreateDummy() local 158 Desc = createDescriptor(VD, *T, std::nullopt, true, false); in getOrCreateDummy() 160 Desc = createDescriptor(VD, QT.getTypePtr(), std::nullopt, true, false); in getOrCreateDummy() 161 if (!Desc) in getOrCreateDummy() 162 Desc = allocateDescriptor(VD); in getOrCreateDummy() 164 assert(Desc); in getOrCreateDummy() [all …]
|
H A D | EvaluationResult.cpp | 128 const Descriptor *Desc = BasePtr.getDeclDesc(); in CheckFieldsInitialized() local 129 if (Desc->asDecl()) in CheckFieldsInitialized() 132 << B.Desc->getType(); in CheckFieldsInitialized() 136 << B.Desc->getType(); in CheckFieldsInitialized() 189 const Descriptor *Desc = Ptr.getFieldDesc(); in collectBlocks() local 190 if (!Desc) in collectBlocks() 193 if (const Record *R = Desc->ElemRecord) { in collectBlocks() 199 } else if (Desc->isPrimitive() && Desc->getPrimType() == PT_Ptr) { in collectBlocks() 204 } else if (Desc->isPrimitiveArray() && Desc->getPrimType() == PT_Ptr) { in collectBlocks() 205 for (unsigned I = 0; I != Desc->getNumElems(); ++I) { in collectBlocks() [all …]
|
H A D | InterpState.cpp | 62 const Descriptor *Desc = B->getDescriptor(); in deallocate() local 63 assert(Desc); in deallocate() 75 if (B->IsInitialized && Desc->MoveFn) { in deallocate() 76 Desc->MoveFn(B, B->data(), D->data(), Desc); in deallocate() 77 if (Desc->getMetadataSize() > 0) in deallocate() 78 std::memcpy(D->rawData(), B->rawData(), Desc->getMetadataSize()); in deallocate()
|
H A D | Pointer.h | 44 const Descriptor *Desc; member 88 PointeeStorage.Int.Desc = nullptr; in Pointer() 94 Pointer(uint64_t Address, const Descriptor *Desc, uint64_t Offset = 0) 97 PointeeStorage.Int.Desc = Desc; in Offset() 139 return Pointer(asIntPointer().Value, asIntPointer().Desc, Idx); in atIndex() 157 return Pointer(asIntPointer().Value + Field, asIntPointer().Desc); in atField() 237 const Descriptor *Desc = in expand() local 240 : getDescriptor(Next)->Desc; in expand() 241 if (!Desc->IsArray) in expand() 270 return asIntPointer().Desc; in getDeclDesc() [all …]
|
H A D | EvalEmitter.cpp | 92 InlineDescriptor &Desc = *reinterpret_cast<InlineDescriptor *>(B->rawData()); in createLocal() local 93 Desc.Desc = D; in createLocal() 94 Desc.Offset = sizeof(InlineDescriptor); in createLocal() 95 Desc.IsActive = true; in createLocal() 96 Desc.IsBase = false; in createLocal() 97 Desc.IsFieldMutable = false; in createLocal() 98 Desc.IsConst = false; in createLocal() 99 Desc.IsInitialized = false; in createLocal() 258 InlineDescriptor &Desc = *reinterpret_cast<InlineDescriptor *>(B->rawData()); in emitSetLocal() local 259 Desc.IsInitialized = true; in emitSetLocal()
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | Options.td | 5 Desc<"Supply a sort order when dumping the symbol table.">, 8 Desc<"Do not demangle symbol names before showing them.">; 13 Desc<"Output the details in JSON format.">; 15 Desc<"Filter to show only debug info files with errors.">; 20 Desc<"Hide aliases in the command list.">; 22 Desc<"Hide user-defined commands from the list.">; 24 Desc<"Include commands prefixed with an underscore.">; 29 Desc<"Apply the new value to the global default value.">; 31 Desc<"Force an empty value to be accepted as the default.">; 33 Desc<"Set the setting if it exists, but do not cause the command to raise " [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | TargetProperties.td | 6 …Desc<"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. " 29 …Desc<"Start address within the process address space of memory allocation for expression evaluatio… 32 Desc<"Amount of memory in bytes to allocate for expression evaluation.">; 35 Desc<"Alignment for each memory allocation for expression evaluation.">; 39 Desc<"Should printed values be shown as their dynamic value.">; [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StreamChecker.cpp | 220 SVal getStreamArg(const FnDescription *Desc, const CallEvent &Call) { in getStreamArg() argument 221 assert(Desc && Desc->StreamArgNo != ArgNone && in getStreamArg() 223 return Call.getArgSVal(Desc->StreamArgNo); in getStreamArg() 454 void evalFopen(const FnDescription *Desc, const CallEvent &Call, 457 void preFreopen(const FnDescription *Desc, const CallEvent &Call, 459 void evalFreopen(const FnDescription *Desc, const CallEvent &Call, 462 void evalFclose(const FnDescription *Desc, const CallEvent &Call, 465 void preRead(const FnDescription *Desc, const CallEvent &Call, 468 void preWrite(const FnDescription *Desc, const CallEvent &Call, 471 void evalFreadFwrite(const FnDescription *Desc, const CallEvent &Call, [all …]
|
H A D | ObjCSuperDeallocChecker.cpp | 54 void reportUseAfterDealloc(SymbolRef Sym, StringRef Desc, const Stmt *S, 97 StringRef Desc; in checkPreObjCMessage() local 100 Desc = "[super dealloc] should not be called multiple times"; in checkPreObjCMessage() 102 Desc = StringRef(); in checkPreObjCMessage() 105 reportUseAfterDealloc(ReceiverSymbol, Desc, M.getOriginExpr(), C); in checkPreObjCMessage() 159 StringRef Desc = StringRef(); in checkLocation() local 167 Desc = OS.str(); in checkLocation() 170 reportUseAfterDealloc(BaseSym, Desc, S, C); in checkLocation() 177 StringRef Desc, in reportUseAfterDealloc() argument 188 if (Desc.empty()) in reportUseAfterDealloc() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | TaskDispatch.h | 62 : Fn(std::forward<FnT>(Fn)), Desc(DescBuffer.c_str()), in GenericNamedTaskImpl() 64 GenericNamedTaskImpl(FnT &&Fn, const char *Desc) in GenericNamedTaskImpl() argument 65 : Fn(std::forward<FnT>(Fn)), Desc(Desc) { in GenericNamedTaskImpl() 66 assert(Desc && "Description cannot be null"); in GenericNamedTaskImpl() 68 void printDescription(raw_ostream &OS) override { OS << Desc; } in printDescription() 73 const char *Desc; variable 80 std::string Desc) { in makeGenericNamedTask() argument 82 std::move(Desc)); in makeGenericNamedTask() 88 makeGenericNamedTask(FnT &&Fn, const char *Desc = nullptr) { 89 if (!Desc) [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_mutexset.h | 25 struct Desc { struct 32 Desc() { internal_memset(this, 0, sizeof(*this)); } in Desc() function 33 Desc(const Desc& other) { *this = other; } in Desc() function 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ATTInstPrinter.cpp | 87 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::REX_W) && "Unknown W-bit value!"); in printVecCompareInstr() 183 } else if (Desc.TSFlags & X86II::REX_W) { in printVecCompareInstr() [all …]
|
H A D | X86IntelInstPrinter.cpp | 67 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::REX_W) && "Unknown W-bit value!"); in printVecCompareInstr() 173 } else if (Desc.TSFlags & X86II::REX_W) { in printVecCompareInstr() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | CoreProperties.td | 7 …Desc<"Control the use of external tools and repositories to locate symbol files. Directories liste… 11 …Desc<"Alias for backward compatibility: when enabled this is the equivalent to 'symbols.auto-downl… 16 …Desc<"On macOS, automatically download symbols with dsymForUUID (or an equivalent script/binary) f… 20 Desc<"The path to the clang modules cache directory (-fmodules-cache-path).">; 24 … Desc<"Debug info path which should be resolved while parsing, relative to the host filesystem.">; 28 …Desc<"Enable caching for debug sessions in LLDB. LLDB can cache data for each module for improved … 32 Desc<"The path to the LLDB index cache directory.">; 36 …Desc<"The maximum size for the LLDB index cache directory in bytes. A value over the amount of ava… 40 …Desc<"The maximum size for the cache directory in terms of percentage of the available space on th… 44 …Desc<"The expiration time in days for a file. When a file hasn't been accessed for the specified a… [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVBaseInfo.h | 174 static inline unsigned getVLOpNum(const MCInstrDesc &Desc) { in getVLOpNum() argument 175 const uint64_t TSFlags = Desc.TSFlags; in getVLOpNum() 182 return Desc.getNumOperands() - Offset; in getVLOpNum() 185 static inline unsigned getSEWOpNum(const MCInstrDesc &Desc) { in getSEWOpNum() argument 186 const uint64_t TSFlags = Desc.TSFlags; in getSEWOpNum() 191 return Desc.getNumOperands() - Offset; in getSEWOpNum() 194 static inline unsigned getVecPolicyOpNum(const MCInstrDesc &Desc) { in getVecPolicyOpNum() argument 195 assert(hasVecPolicyOp(Desc.TSFlags)); in getVecPolicyOpNum() 196 return Desc.getNumOperands() - 1; in getVecPolicyOpNum() 201 static inline int getFRMOpNum(const MCInstrDesc &Desc) { in getFRMOpNum() argument [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | InterpreterProperties.td | 7 …Desc<"If true, regular expression alias commands will show the expanded command that will be execu… 11 …Desc<"If true, LLDB will prompt you before quitting if there are any live processes being debugged… 15 Desc<"If true, commands will be saved into a transcript buffer for user access.">; 19 Desc<"If true, LLDB will save the session's transcripts before quitting.">; 23 Desc<"If true, LLDB will open the saved session's transcripts in the external editor.">; 26 …Desc<"A path where LLDB will save the session's transcripts. This is particularly useful when you … 30 Desc<"If true, LLDB will stop running a 'command source' script upon encountering an error.">; 34 Desc<"If true, blank lines will be printed between between REPL submissions.">; 38 Desc<"If true, commands will be echoed before they are evaluated.">; 42 Desc<"If true, commands will be echoed even if they are pure comment lines.">; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCTargetDesc.cpp | 170 const MCInstrDesc &Desc = MCII->get(MI.getOpcode()); in isPredicated() local 171 int PredOpIdx = Desc.findFirstPredOperandIdx(); in isPredicated() 176 const MCInstrDesc &Desc = MCII->get(MI.getOpcode()); in isCPSRDefined() local 180 Desc.operands()[I].isOptionalDef()) in isCPSRDefined() 417 const MCInstrDesc &Desc = Info->get(Inst.getOpcode()); in evaluateBranch() local 420 for (unsigned OpNum = 0; OpNum < Desc.getNumOperands(); ++OpNum) { in evaluateBranch() 422 Desc.operands()[OpNum].OperandType == MCOI::OPERAND_PCREL) { in evaluateBranch() 424 Target = ARM_MC::evaluateBranchTarget(Desc, Addr, Imm); in evaluateBranch() 440 evaluateMemOpAddrForAddrMode_i12(const MCInst &Inst, const MCInstrDesc &Desc, in evaluateMemOpAddrForAddrMode_i12() argument 442 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode_i12() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MCA/ |
H A D | Support.cpp | 51 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()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | DebugCounter.h | 82 static unsigned registerCounter(StringRef Name, StringRef Desc) { in registerCounter() argument 83 return instance().addCounter(std::string(Name), std::string(Desc)); in registerCounter() 136 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo() 163 unsigned addCounter(const std::string &Name, const std::string &Desc) { in addCounter() argument 166 Counters[Result].Desc = Desc; in addCounter() 174 std::string Desc; member
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | TableGenBackend.h | 36 Opt(StringRef Name, FnT CB, StringRef Desc, bool ByDefault = false) { 39 Action->getParser().addLiteralOption(Name, CB, Desc); 47 OptClass(StringRef Name, StringRef Desc) : Opt(Name, run, Desc) {} 54 void emitSourceFileHeader(StringRef Desc, raw_ostream &OS, 46 OptClass(StringRef Name,StringRef Desc) OptClass() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchDeadRegisterDefinitions.cpp | 73 const MCInstrDesc &Desc = MI.getDesc(); in runOnMachineFunction() local 74 if (!Desc.mayLoad() && !Desc.mayStore() && in runOnMachineFunction() 75 !Desc.hasUnmodeledSideEffects()) in runOnMachineFunction() 77 for (int I = 0, E = Desc.getNumDefs(); I != E; ++I) { in runOnMachineFunction() 91 const TargetRegisterClass *RC = TII->getRegClass(Desc, I, TRI, MF); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVDeadRegisterDefinitions.cpp | 73 const MCInstrDesc &Desc = MI.getDesc(); in runOnMachineFunction() local 74 if (!Desc.mayLoad() && !Desc.mayStore() && in runOnMachineFunction() 75 !Desc.hasUnmodeledSideEffects() && in runOnMachineFunction() 82 for (int I = 0, E = Desc.getNumDefs(); I != E; ++I) { in runOnMachineFunction() 96 const TargetRegisterClass *RC = TII->getRegClass(Desc, I, TRI, MF); in runOnMachineFunction()
|