Searched refs:Desc (Results 1 - 25 of 151) sorted by relevance

1234567

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DBlock.h40 Block(const llvm::Optional<unsigned> &DeclID, Descriptor *Desc, argument
42 : DeclID(DeclID), IsStatic(IsStatic), IsExtern(IsExtern), Desc(Desc) {}
44 Block(Descriptor *Desc, bool IsStatic = false, bool IsExtern = false) argument
46 Desc(Desc) {}
49 Descriptor *getDescriptor() const { return Desc; }
57 bool isTemporary() const { return Desc->IsTemporary; }
59 InterpSize getSize() const { return Desc->getAllocSize(); }
73 if (Desc
83 Block(Descriptor *Desc, bool IsExtern, bool IsStatic, bool IsDead) argument
105 Descriptor *Desc; member in class:clang::interp::Block
[all...]
H A DInterpState.cpp58 Descriptor *Desc = B->getDescriptor(); local
67 if (Desc->MoveFn)
68 Desc->MoveFn(B, B->data(), D->data(), Desc);
71 if (Desc->DtorFn)
72 Desc->DtorFn(B, B->data(), Desc);
H A DDescriptor.cpp65 auto *Desc = reinterpret_cast<InlineDescriptor *>(ElemPtr); local
66 auto *ElemLoc = reinterpret_cast<char *>(Desc + 1);
69 Desc->Offset = ElemOffset + sizeof(InlineDescriptor);
70 Desc->Desc = SD;
71 Desc->IsInitialized = true;
72 Desc->IsBase = false;
73 Desc->IsActive = IsActive;
74 Desc->IsConst = IsConst || D->IsConst;
75 Desc
89 auto *Desc = reinterpret_cast<InlineDescriptor *>(ElemPtr); local
[all...]
H A DPointer.cpp89 Descriptor *Desc = getDeclDesc(); local
90 if (auto *VD = Desc->asValueDecl())
92 else if (auto *E = Desc->asExpr())
118 Descriptor *Desc = Ptr.getFieldDesc(); local
119 if (auto *BaseOrMember = Desc->asDecl()) {
137 Descriptor *Desc = getFieldDesc(); local
138 if (Desc->isPrimitiveArray()) {
156 Descriptor *Desc = getFieldDesc(); local
157 if (Desc->isPrimitiveArray()) {
164 Map = InitMap::allocate(Desc
[all...]
H A DProgram.cpp41 Descriptor *Desc = allocateDescriptor(S, CharType, S->getLength() + 1, local
49 unsigned Sz = Desc->getAllocSize();
50 auto *G = new (Allocator, Sz) Global(Desc, /*isStatic=*/true,
165 Descriptor *Desc; local
169 Desc = createDescriptor(D, *T, IsConst, IsTemporary);
171 Desc = createDescriptor(D, Ty.getTypePtr(), IsConst, IsTemporary);
173 if (!Desc)
179 auto *G = new (Allocator, Desc->getAllocSize())
180 Global(getCurrentDecl(), Desc, IsStatic, IsExtern);
243 if (Descriptor *Desc
276 Descriptor *Desc; local
322 Descriptor *Desc = local
341 Descriptor *Desc = local
[all...]
H A DInterpFrame.cpp30 Block *B = new (localBlock(Local.Offset)) Block(Local.Desc);
69 auto printDesc = [&OS, &Ctx](Descriptor *Desc) {
70 if (auto *D = Desc->asDecl()) {
82 if (auto *E = Desc->asExpr()) {
169 const auto &Desc = Func->getParamDescriptor(Off); local
170 size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize();
172 auto *B = new (Memory.get()) Block(Desc.second);
175 TYPE_SWITCH(Desc.first, new (B->data()) T(stackRef<T>(Off)));
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DTableGenBackend.h23 void emitSourceFileHeader(StringRef Desc, raw_ostream &OS);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp28 typedef Op::Description Desc; typedef
31 Descriptions[DW_OP_addr] = Desc(Op::Dwarf2, Op::SizeAddr);
32 Descriptions[DW_OP_deref] = Desc(Op::Dwarf2);
33 Descriptions[DW_OP_const1u] = Desc(Op::Dwarf2, Op::Size1);
34 Descriptions[DW_OP_const1s] = Desc(Op::Dwarf2, Op::SignedSize1);
35 Descriptions[DW_OP_const2u] = Desc(Op::Dwarf2, Op::Size2);
36 Descriptions[DW_OP_const2s] = Desc(Op::Dwarf2, Op::SignedSize2);
37 Descriptions[DW_OP_const4u] = Desc(Op::Dwarf2, Op::Size4);
38 Descriptions[DW_OP_const4s] = Desc(Op::Dwarf2, Op::SignedSize4);
39 Descriptions[DW_OP_const8u] = Desc(O
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrInfo.h24 const MCInstrDesc *Desc; // Raw array to allow static init'n member in class:llvm::MCInstrInfo
34 Desc = D;
46 return Desc[Opcode];
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MCA/
H A DSupport.cpp50 const MCProcResourceDesc &Desc = *SM.getProcResource(I); local
51 if (Desc.SubUnitsIdxBegin)
59 const MCProcResourceDesc &Desc = *SM.getProcResource(I); local
60 if (!Desc.SubUnitsIdxBegin)
63 for (unsigned U = 0; U < Desc.NumUnits; ++U) {
64 uint64_t OtherMask = Masks[Desc.SubUnitsIdxBegin[U]];
74 const MCProcResourceDesc &Desc = *SM.getProcResource(I); local
77 << Desc.Name << '\n');
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutexset.h25 struct Desc { struct in class:__tsan::MutexSet
38 Desc Get(uptr i) const;
47 Desc descs_[kMaxSize];
64 MutexSet::Desc MutexSet::Get(uptr i) const { return Desc(); }
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dflags_parser.h26 void registerFlag(const char *Name, const char *Desc, FlagType Type,
35 const char *Desc; member in struct:scudo::FlagParser::Flag
H A Dflags_parser.cpp46 Printf("\t%s\n\t\t- %s\n", Flags[I].Name, Flags[I].Desc);
154 void FlagParser::registerFlag(const char *Name, const char *Desc, FlagType Type, argument
158 Flags[NumberOfFlags].Desc = Desc;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackend.cpp33 void llvm::emitSourceFileHeader(StringRef Desc, raw_ostream &OS) { argument
42 size_t Length = std::min(Desc.size() - Pos, MAX_LINE_LEN - PSLen);
43 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix);
45 } while (Pos < Desc.size());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DDebugCounter.h70 static unsigned registerCounter(StringRef Name, StringRef Desc) { argument
71 return instance().addCounter(Name, Desc);
134 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc);
161 unsigned addCounter(const std::string &Name, const std::string &Desc) { argument
164 Counters[Result].Desc = Desc;
173 std::string Desc; member in struct:llvm::DebugCounter::CounterInfo
H A DRegistry.h28 StringRef Name, Desc; member in class:llvm::SimpleRegistryEntry
33 : Name(N), Desc(D), Ctor(C) {}
36 StringRef getDesc() const { return Desc; }
121 Add(StringRef Name, StringRef Desc) argument
122 : Entry(Name, Desc, CtorFn), Node(Entry) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStatistic.h51 const char *Desc; member in class:llvm::StatisticBase
53 StatisticBase(const char *DebugType, const char *Name, const char *Desc) argument
54 : DebugType(DebugType), Name(Name), Desc(Desc) {}
58 const char *getDesc() const { return Desc; }
66 TrackingStatistic(const char *DebugType, const char *Name, const char *Desc) argument
67 : StatisticBase(DebugType, Name, Desc), Value(0), Initialized(false) {}
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DLSUnit.cpp70 const InstrDesc &Desc = IR.getInstruction()->getDesc(); local
71 unsigned IsMemBarrier = Desc.HasSideEffects;
72 assert((Desc.MayLoad || Desc.MayStore) && "Not a memory operation!");
74 if (Desc.MayLoad)
76 if (Desc.MayStore)
79 if (Desc.MayStore) {
104 if (Desc.MayLoad) {
113 assert(Desc.MayLoad && "Expected a load!");
154 const InstrDesc &Desc local
172 const InstrDesc &Desc = IR.getInstruction()->getDesc(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCSuperDeallocChecker.cpp53 void reportUseAfterDealloc(SymbolRef Sym, StringRef Desc, const Stmt *S,
96 StringRef Desc;
99 Desc = "[super dealloc] should not be called multiple times";
101 Desc = StringRef();
104 reportUseAfterDealloc(ReceiverSymbol, Desc, M.getOriginExpr(), C);
157 StringRef Desc = StringRef(); local
165 Desc = OS.str();
168 reportUseAfterDealloc(BaseSym, Desc, S, C);
172 /// Desc will be used to describe the error; otherwise,
175 StringRef Desc,
174 reportUseAfterDealloc(SymbolRef Sym, StringRef Desc, const Stmt *S, CheckerContext &C) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86IntelInstPrinter.cpp67 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); local
85 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) {
86 if ((Desc.TSFlags & X86II::OpPrefixMask) == X86II::XS)
88 else if ((Desc.TSFlags & X86II::OpPrefixMask) == X86II::XD)
142 if (Desc.TSFlags & X86II::EVEX_K) {
152 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) {
153 if (Desc.TSFlags & X86II::EVEX_B) {
156 if (Desc.TSFlags & X86II::VEX_W)
163 if (Desc.TSFlags & X86II::EVEX_L2)
164 NumElts = (Desc
[all...]
H A DX86ATTInstPrinter.cpp87 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); local
102 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) {
103 if ((Desc.TSFlags & X86II::OpPrefixMask) == X86II::XS)
105 else if ((Desc.TSFlags & X86II::OpPrefixMask) == X86II::XD)
160 unsigned CurOp = (Desc.TSFlags & X86II::EVEX_K) ? 3 : 2;
162 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) {
163 if (Desc.TSFlags & X86II::EVEX_B) {
166 if (Desc.TSFlags & X86II::VEX_W)
173 if (Desc.TSFlags & X86II::EVEX_L2)
174 NumElts = (Desc
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp55 const InstrDesc &Desc = Inst.getDesc(); local
56 NumMicroOps += Desc.NumMicroOps;
57 for (const std::pair<uint64_t, ResourceUsage> &RU : Desc.Resources) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp39 void AsmPrinter::EmitSLEB128(int64_t Value, const char *Desc) const {
40 if (isVerbose() && Desc)
41 OutStreamer->AddComment(Desc);
46 void AsmPrinter::EmitULEB128(uint64_t Value, const char *Desc, unsigned PadTo) const { argument
47 if (isVerbose() && Desc)
48 OutStreamer->AddComment(Desc);
106 /// describing the encoding. Desc is an optional string saying what the
108 void AsmPrinter::EmitEncodingByte(unsigned Val, const char *Desc) const {
110 if (Desc)
111 OutStreamer->AddComment(Twine(Desc)
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DSIMCCodeEmitter.cpp286 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); local
287 unsigned bytes = Desc.getSize();
294 if (AMDGPU::isGFX10(STI) && Desc.TSFlags & SIInstrFlags::MIMG) {
315 for (unsigned i = 0, e = Desc.getNumOperands(); i < e; ++i) {
318 if (!AMDGPU::isSISrcOperand(Desc, i))
323 if (getLitEncoding(Op, Desc.OpInfo[i], STI) != 255)
381 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); local
382 uint32_t Enc = getLitEncoding(MO, Desc.OpInfo[OpNo], STI);
475 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); local
476 uint32_t Offset = Desc
490 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DInstructionTables.cpp23 const InstrDesc &Desc = IR.getInstruction()->getDesc(); local
28 Desc.Resources) {

Completed in 180 milliseconds

1234567