| /freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFExpression.cpp | 28 typedef Op::Description Desc; in getDescriptions() typedef 43 Descriptions[DW_OP_dup] = Desc(Op::Dwarf2); in getDescriptions() 48 Descriptions[DW_OP_rot] = Desc(Op::Dwarf2); in getDescriptions() 58 Descriptions[DW_OP_or] = Desc(Op::Dwarf2); in getDescriptions() 67 Descriptions[DW_OP_eq] = Desc(Op::Dwarf2); in getDescriptions() 68 Descriptions[DW_OP_ge] = Desc(Op::Dwarf2); in getDescriptions() 74 Descriptions[LA] = Desc(Op::Dwarf2); in getDescriptions() 76 Descriptions[LA] = Desc(Op::Dwarf2); in getDescriptions() 120 Desc = getOpDesc(Opcode); in extract() 127 unsigned Size = Desc.Op[Operand]; in extract() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/MCA/HardwareUnits/ |
| H A D | LSUnit.cpp | 70 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in dispatch() local 71 unsigned IsMemBarrier = Desc.HasSideEffects; in dispatch() 72 assert((Desc.MayLoad || Desc.MayStore) && "Not a memory operation!"); in dispatch() 75 if (Desc.MayLoad) { in dispatch() 81 if (Desc.MayStore) { in dispatch() 90 if (Desc.MayLoad && isLQFull()) in isAvailable() 92 if (Desc.MayStore && isSQFull()) in isAvailable() 100 bool IsALoad = Desc.MayLoad; in isReady() 101 bool IsAStore = Desc.MayStore; in isReady() 158 bool IsALoad = Desc.MayLoad; in onInstructionExecuted() [all …]
|
| H A D | Scheduler.cpp | 42 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable() local 44 switch (Resources->canBeDispatched(Desc.Buffers)) { in isAvailable() 202 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in mustIssueImmediately() local 203 if (Desc.isZeroLatency()) in mustIssueImmediately() 208 return Desc.MustIssueImmediately; in mustIssueImmediately() 212 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in dispatch() local 213 Resources->reserveBuffers(Desc.Buffers); in dispatch() 216 bool IsMemOp = Desc.MayLoad || Desc.MayStore; in dispatch() 241 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isReady() local 242 bool IsMemOp = Desc.MayLoad || Desc.MayStore; in isReady()
|
| /freebsd-12.1/contrib/llvm/lib/MCA/ |
| H A D | Support.cpp | 35 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() local 36 if (Desc.SubUnitsIdxBegin) in computeProcResourceMasks() 44 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() local 45 if (!Desc.SubUnitsIdxBegin) in computeProcResourceMasks() 48 for (unsigned U = 0; U < Desc.NumUnits; ++U) { in computeProcResourceMasks() 49 uint64_t OtherMask = Masks[Desc.SubUnitsIdxBegin[U]]; in computeProcResourceMasks() 59 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() local 60 LLVM_DEBUG(dbgs() << '[' << I << "] " << Desc.Name << " - " << Masks[I] in computeProcResourceMasks()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Frontend/ |
| H A D | CheckerRegistry.h | 93 StringRef Desc; member 96 CheckerInfo(InitializationFunction Fn, StringRef Name, StringRef Desc, in CheckerInfo() 98 : Initialize(Fn), FullName(Name), Desc(Desc), in CheckerInfo() 114 void addChecker(InitializationFunction Fn, StringRef FullName, StringRef Desc, 120 void addChecker(StringRef FullName, StringRef Desc, StringRef DocsUri) { in addChecker() argument 123 addChecker(&CheckerRegistry::initializeManager<T>, FullName, Desc, DocsUri); in addChecker()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCSuperDeallocChecker.cpp | 98 StringRef Desc; in checkPreObjCMessage() local 101 Desc = "[super dealloc] should not be called multiple times"; in checkPreObjCMessage() 103 Desc = StringRef(); in checkPreObjCMessage() 106 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() 189 Desc = "Use of 'self' after it has been deallocated"; in reportUseAfterDealloc() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | DebugCounter.h | 71 static unsigned registerCounter(StringRef Name, StringRef Desc) { in registerCounter() argument 72 return instance().addCounter(Name, Desc); in registerCounter() 135 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo() 162 unsigned addCounter(const std::string &Name, const std::string &Desc) { in addCounter() argument 165 Counters[Result].Desc = Desc; in addCounter() 174 std::string Desc; member
|
| H A D | Registry.h | 29 StringRef Name, Desc; variable 34 : Name(N), Desc(D), Ctor(C) {} in SimpleRegistryEntry() 37 StringRef getDesc() const { return Desc; } in getDesc() 122 Add(StringRef Name, StringRef Desc) in Add() argument 123 : Entry(Name, Desc, CtorFn), Node(Entry) { in Add()
|
| /freebsd-12.1/contrib/llvm/lib/MCA/Stages/ |
| H A D | ExecuteStage.cpp | 118 const InstrDesc &Desc = Inst.getDesc(); in verifyInstructionEliminated() local 119 assert(!Desc.MayLoad && !Desc.MayStore && "Cannot eliminate a memory op!"); in verifyInstructionEliminated() 207 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in notifyReservedOrReleasedBuffers() local 208 if (Desc.Buffers.empty()) in notifyReservedOrReleasedBuffers() 211 SmallVector<unsigned, 4> BufferIDs(Desc.Buffers.begin(), Desc.Buffers.end()); in notifyReservedOrReleasedBuffers() 212 std::transform(Desc.Buffers.begin(), Desc.Buffers.end(), BufferIDs.begin(), in notifyReservedOrReleasedBuffers()
|
| H A D | DispatchStage.cpp | 90 const InstrDesc &Desc = IS.getDesc(); in dispatch() local 91 const unsigned NumMicroOps = Desc.NumMicroOps; in dispatch() 103 if (Desc.EndGroup) in dispatch() 167 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable() local 168 unsigned Required = std::min(Desc.NumMicroOps, DispatchWidth); in isAvailable() 172 if (Desc.BeginGroup && AvailableEntries != DispatchWidth) in isAvailable()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinterDwarf.cpp | 39 void AsmPrinter::EmitSLEB128(int64_t Value, const char *Desc) const { in EmitSLEB128() 40 if (isVerbose() && Desc) in EmitSLEB128() 41 OutStreamer->AddComment(Desc); in EmitSLEB128() 46 void AsmPrinter::EmitULEB128(uint64_t Value, const char *Desc) const { in EmitULEB128() 47 if (isVerbose() && Desc) in EmitULEB128() 48 OutStreamer->AddComment(Desc); in EmitULEB128() 108 void AsmPrinter::EmitEncodingByte(unsigned Val, const char *Desc) const { in EmitEncodingByte() 110 if (Desc) in EmitEncodingByte() 111 OutStreamer->AddComment(Twine(Desc) + " Encoding = " + in EmitEncodingByte()
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_mutexset.h | 26 struct Desc { struct 39 Desc Get(uptr i) const; argument 48 Desc descs_[kMaxSize]; 65 MutexSet::Desc MutexSet::Get(uptr i) const { return Desc(); } in Get()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | OptBisect.cpp | 78 std::string Desc = "SCC ("; in getDescription() local 84 Desc += ", "; in getDescription() 87 Desc += F->getName(); in getDescription() 89 Desc += "<<null function>>"; in getDescription() 91 Desc += ")"; in getDescription() 92 return Desc; in getDescription()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | SIMCCodeEmitter.cpp | 270 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); in encodeInstruction() local 271 unsigned bytes = Desc.getSize(); in encodeInstruction() 281 for (unsigned i = 0, e = Desc.getNumOperands(); i < e; ++i) { in encodeInstruction() 284 if (!AMDGPU::isSISrcOperand(Desc, i)) in encodeInstruction() 289 if (getLitEncoding(Op, Desc.OpInfo[i], STI) != 255) in encodeInstruction() 347 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); in getSDWASrcEncoding() local 348 uint32_t Enc = getLitEncoding(MO, Desc.OpInfo[OpNo], STI); in getSDWASrcEncoding() 429 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); in getMachineOpValue() local 430 if (AMDGPU::isSISrcOperand(Desc, OpNo)) { in getMachineOpValue() 431 uint32_t Enc = getLitEncoding(MO, Desc.OpInfo[OpNo], STI); in getMachineOpValue() [all …]
|
| H A D | R600MCCodeEmitter.cpp | 105 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); in encodeInstruction() local 112 } else if (IS_VTX(Desc)) { in encodeInstruction() 122 } else if (IS_TEX(Desc)) { in encodeInstruction() 149 ((Desc.TSFlags & R600_InstFlag::OP1) || in encodeInstruction() 150 Desc.TSFlags & R600_InstFlag::OP2)) { in encodeInstruction()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCChecker.cpp | 304 MCInstrDesc const &Desc = HexagonMCInstrInfo::getDesc(MCII, I); in reportBranchErrors() local 305 if (Desc.isBranch() || Desc.isCall() || Desc.isReturn()) in reportBranchErrors() 315 MCInstrDesc const &Desc = HexagonMCInstrInfo::getDesc(MCII, I); in checkHWLoop() local 316 if (Desc.isBranch() || Desc.isCall() || Desc.isReturn()) { in checkHWLoop() 329 MCInstrDesc const &Desc = HexagonMCInstrInfo::getDesc(MCII, I); in checkCOFMax1() local 330 if (Desc.isBranch() || Desc.isCall() || Desc.isReturn()) in checkCOFMax1() 456 MCInstrDesc const &Desc = in checkNewValues() local 458 if (Desc.OpInfo[std::get<1>(Producer)].RegClass == in checkNewValues() 466 if ((Desc.mayLoad() && std::get<1>(Producer) == 1) || in checkNewValues() 467 (Desc.mayStore() && std::get<1>(Producer) == 0)) { in checkNewValues() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/InstPrinter/ |
| H A D | WebAssemblyInstPrinter.cpp | 54 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printInst() local 55 if (Desc.isVariadic()) in printInst() 56 for (auto i = Desc.getNumOperands(), e = MI->getNumOperands(); i < e; ++i) { in printInst() 62 i != Desc.getNumOperands())) in printInst() 147 unsigned NumFixedOperands = Desc.NumOperands; in printInst() 153 if (Desc.OpInfo[i].OperandType != WebAssembly::OPERAND_BASIC_BLOCK) in printInst() 237 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printOperand() local 238 const MCOperandInfo &Info = Desc.OpInfo[OpNo]; in printOperand()
|
| /freebsd-12.1/contrib/llvm/lib/TableGen/ |
| H A D | TableGenBackend.cpp | 34 void llvm::emitSourceFileHeader(StringRef Desc, raw_ostream &OS) { in emitSourceFileHeader() argument 43 size_t Length = std::min(Desc.size() - Pos, MAX_LINE_LEN - PSLen); in emitSourceFileHeader() 44 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader() 46 } while (Pos < Desc.size()); in emitSourceFileHeader()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 337 const MCInstrDesc &Desc = MI.getDesc(); in chooseBestLEA() local 338 int MemOpNo = X86II::getMemoryOperandNo(Desc.TSFlags) + in chooseBestLEA() 339 X86II::getOperandBias(Desc); in chooseBestLEA() 439 const MCInstrDesc &Desc = MI.getDesc(); in isReplaceable() local 440 int MemOpNo = X86II::getMemoryOperandNo(Desc.TSFlags); in isReplaceable() 447 MemOpNo += X86II::getOperandBias(Desc); in isReplaceable() 504 const MCInstrDesc &Desc = MI.getDesc(); in removeRedundantAddrCalc() local 511 MemOpNo += X86II::getOperandBias(Desc); in removeRedundantAddrCalc() 636 const MCInstrDesc &Desc = MI.getDesc(); in removeRedundantLEAs() local 638 X86II::getMemoryOperandNo(Desc.TSFlags) + in removeRedundantLEAs() [all …]
|
| H A D | X86EvexToVex.cpp | 222 const MCInstrDesc &Desc = MI.getDesc(); in CompressEvexToVexImpl() local 225 if ((Desc.TSFlags & X86II::EncodingMask) != X86II::EVEX) in CompressEvexToVexImpl() 231 if (Desc.TSFlags & (X86II::EVEX_K | X86II::EVEX_B)) in CompressEvexToVexImpl() 236 if (Desc.TSFlags & X86II::EVEX_L2) in CompressEvexToVexImpl() 255 (Desc.TSFlags & X86II::VEX_L) ? makeArrayRef(X86EvexToVex256CompressTable) in CompressEvexToVexImpl()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86BaseInfo.h | 658 inline unsigned getOperandBias(const MCInstrDesc& Desc) { in getOperandBias() argument 659 unsigned NumDefs = Desc.getNumDefs(); in getOperandBias() 660 unsigned NumOps = Desc.getNumOperands(); in getOperandBias() 667 if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) == 0) in getOperandBias() 672 Desc.getOperandConstraint(6, MCOI::TIED_TO) == 0) in getOperandBias() 677 if (NumOps >= 4 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias() 678 Desc.getOperandConstraint(3, MCOI::TIED_TO) == 1) in getOperandBias() 682 if (NumOps == 9 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias() 683 (Desc.getOperandConstraint(3, MCOI::TIED_TO) == 1 || in getOperandBias() 684 Desc.getOperandConstraint(8, MCOI::TIED_TO) == 1) && in getOperandBias()
|
| /freebsd-12.1/contrib/llvm/include/llvm/MC/ |
| H A D | MCInstrInfo.h | 25 const MCInstrDesc *Desc; // Raw array to allow static init'n variable 35 Desc = D; in InitMCInstrInfo() 47 return Desc[Opcode]; in get()
|
| /freebsd-12.1/contrib/llvm/include/llvm/MCA/ |
| H A D | Instruction.h | 139 WriteState(const WriteDescriptor &Desc, unsigned RegID, 141 : WD(&Desc), CyclesLeft(UNKNOWN_CYCLES), RegisterID(RegID), PRFID(0), 233 ReadState(const ReadDescriptor &Desc, unsigned RegID) in ReadState() argument 234 : RD(&Desc), RegisterID(RegID), PRFID(0), DependentWrites(0), in ReadState() 360 const InstrDesc &Desc; variable 376 InstructionBase(const InstrDesc &D) : Desc(D), IsOptimizableMove(false) {} in InstructionBase() 382 const InstrDesc &getDesc() const { return Desc; } in getDesc() 384 unsigned getLatency() const { return Desc.MaxLatency; } in getLatency()
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | DLL.cpp | 279 : Imp(I), Desc(D), Helper(H) {} in ThunkChunkX64() 286 write32le(Buf + OutputSectionOff + 43, Desc->getRVA() - RVA - 47); in writeTo() 291 Chunk *Desc = nullptr; member in lld::coff::__anon0f95b7e30111::ThunkChunkX64 298 : Imp(I), Desc(D), Helper(H) {} in ThunkChunkX86() 305 write32le(Buf + OutputSectionOff + 8, Desc->getRVA() + Config->ImageBase); in writeTo() 315 Chunk *Desc = nullptr; member in lld::coff::__anon0f95b7e30111::ThunkChunkX86 322 : Imp(I), Desc(D), Helper(H) {} in ThunkChunkARM() 339 Chunk *Desc = nullptr; member in lld::coff::__anon0f95b7e30111::ThunkChunkARM 346 : Imp(I), Desc(D), Helper(H) {} in ThunkChunkARM64() 355 applyArm64Imm(Buf + OutputSectionOff + 56, Desc->getRVA() & 0xfff, 0); in writeTo() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyMCCodeEmitter.cpp | 84 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); in encodeInstruction() local 91 if (i < Desc.getNumOperands()) { in encodeInstruction() 92 const MCOperandInfo &Info = Desc.OpInfo[i]; in encodeInstruction() 130 const MCOperandInfo &Info = Desc.OpInfo[i]; in encodeInstruction() 143 const MCOperandInfo &Info = Desc.OpInfo[i]; in encodeInstruction()
|