| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFExpression.cpp | 27 typedef Op::Description Desc; in getDescriptions() typedef 30 Descriptions[DW_OP_addr] = Desc(Op::Dwarf2, Op::SizeAddr); in getDescriptions() 31 Descriptions[DW_OP_deref] = Desc(Op::Dwarf2); in getDescriptions() 32 Descriptions[DW_OP_const1u] = Desc(Op::Dwarf2, Op::Size1); in getDescriptions() 33 Descriptions[DW_OP_const1s] = Desc(Op::Dwarf2, Op::SignedSize1); in getDescriptions() 34 Descriptions[DW_OP_const2u] = Desc(Op::Dwarf2, Op::Size2); in getDescriptions() 35 Descriptions[DW_OP_const2s] = Desc(Op::Dwarf2, Op::SignedSize2); in getDescriptions() 36 Descriptions[DW_OP_const4u] = Desc(Op::Dwarf2, Op::Size4); in getDescriptions() 37 Descriptions[DW_OP_const4s] = Desc(Op::Dwarf2, Op::SignedSize4); in getDescriptions() 38 Descriptions[DW_OP_const8u] = Desc(Op::Dwarf2, Op::Size8); in getDescriptions() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| H A D | InterpBlock.h | 40 Block(const llvm::Optional<unsigned> &DeclID, Descriptor *Desc, 42 : DeclID(DeclID), IsStatic(IsStatic), IsExtern(IsExtern), Desc(Desc) {} in DeclID() 44 Block(Descriptor *Desc, bool IsStatic = false, bool IsExtern = false) 46 Desc(Desc) {} 49 Descriptor *getDescriptor() const { return Desc; } in getDescriptor() 57 bool isTemporary() const { return Desc->IsTemporary; } in isTemporary() 59 InterpSize getSize() const { return Desc->getAllocSize(); } in getSize() 73 if (Desc->CtorFn) in invokeCtor() 74 Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable, in invokeCtor() 75 /*isActive=*/true, Desc); in invokeCtor() [all …]
|
| H A D | Descriptor.cpp | 65 auto *Desc = reinterpret_cast<InlineDescriptor *>(ElemPtr); in ctorArrayDesc() local 66 auto *ElemLoc = reinterpret_cast<char *>(Desc + 1); in ctorArrayDesc() 69 Desc->Offset = ElemOffset + sizeof(InlineDescriptor); in ctorArrayDesc() 70 Desc->Desc = SD; in ctorArrayDesc() 71 Desc->IsInitialized = true; in ctorArrayDesc() 72 Desc->IsBase = false; in ctorArrayDesc() 73 Desc->IsActive = IsActive; in ctorArrayDesc() 74 Desc->IsConst = IsConst || D->IsConst; in ctorArrayDesc() 75 Desc->IsMutable = IsMutable || D->IsMutable; in ctorArrayDesc() 77 Fn(B, ElemLoc, Desc->IsConst, Desc->IsMutable, IsActive, D->ElemDesc); in ctorArrayDesc() [all …]
|
| H A D | Program.cpp | 41 Descriptor *Desc = allocateDescriptor(S, CharType, S->getLength() + 1, in createGlobalString() local 49 unsigned Sz = Desc->getAllocSize(); in createGlobalString() 50 auto *G = new (Allocator, Sz) Global(Desc, /*isStatic=*/true, in createGlobalString() 165 Descriptor *Desc; in createGlobal() local 169 Desc = createDescriptor(D, *T, IsConst, IsTemporary); in createGlobal() 171 Desc = createDescriptor(D, Ty.getTypePtr(), IsConst, IsTemporary); in createGlobal() 173 if (!Desc) in createGlobal() 179 auto *G = new (Allocator, Desc->getAllocSize()) in createGlobal() 180 Global(getCurrentDecl(), Desc, IsStatic, IsExtern); in createGlobal() 243 if (Descriptor *Desc = GetBaseDesc(BD, BR)) { in getOrCreateRecord() local [all …]
|
| H A D | Pointer.cpp | 89 Descriptor *Desc = getDeclDesc(); in toAPValue() local 90 if (auto *VD = Desc->asValueDecl()) in toAPValue() 92 else if (auto *E = Desc->asExpr()) in toAPValue() 118 Descriptor *Desc = Ptr.getFieldDesc(); in toAPValue() local 119 if (auto *BaseOrMember = Desc->asDecl()) { in toAPValue() 137 Descriptor *Desc = getFieldDesc(); in isInitialized() local 138 if (Desc->isPrimitiveArray()) { in isInitialized() 156 Descriptor *Desc = getFieldDesc(); in initialize() local 157 if (Desc->isPrimitiveArray()) { in initialize() 164 Map = InitMap::allocate(Desc->getNumElems()); in initialize()
|
| H A D | InterpState.cpp | 58 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 D | InterpFrame.cpp | 30 Block *B = new (localBlock(Local.Offset)) Block(Local.Desc); in InterpFrame() 69 auto printDesc = [&OS, &Ctx](Descriptor *Desc) { in print() argument 70 if (auto *D = Desc->asDecl()) { in print() 82 if (auto *E = Desc->asExpr()) { in print() 169 const auto &Desc = Func->getParamDescriptor(Off); in getParamPointer() local 170 size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize(); in getParamPointer() 172 auto *B = new (Memory.get()) Block(Desc.second); in getParamPointer() 175 TYPE_SWITCH(Desc.first, new (B->data()) T(stackRef<T>(Off))); in getParamPointer()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StreamChecker.cpp | 164 SVal getStreamArg(const FnDescription *Desc, const CallEvent &Call) { in getStreamArg() argument 165 assert(Desc && Desc->StreamArgNo != ArgNone && in getStreamArg() 167 return Call.getArgSVal(Desc->StreamArgNo); in getStreamArg() 266 void evalFopen(const FnDescription *Desc, const CallEvent &Call, 269 void preFreopen(const FnDescription *Desc, const CallEvent &Call, 271 void evalFreopen(const FnDescription *Desc, const CallEvent &Call, 274 void evalFclose(const FnDescription *Desc, const CallEvent &Call, 277 void preFread(const FnDescription *Desc, const CallEvent &Call, 280 void preFwrite(const FnDescription *Desc, const CallEvent &Call, 283 void evalFreadFwrite(const FnDescription *Desc, const CallEvent &Call, [all …]
|
| H A D | ObjCSuperDeallocChecker.cpp | 53 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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/ |
| 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() 142 if (Desc.TSFlags & X86II::EVEX_K) { in printVecCompareInstr() 152 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) { in printVecCompareInstr() 153 if (Desc.TSFlags & X86II::EVEX_B) { in printVecCompareInstr() 156 if (Desc.TSFlags & X86II::VEX_W) in printVecCompareInstr() 163 if (Desc.TSFlags & X86II::EVEX_L2) in printVecCompareInstr() 164 NumElts = (Desc.TSFlags & X86II::VEX_W) ? 8 : 16; in printVecCompareInstr() [all …]
|
| 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() 160 unsigned CurOp = (Desc.TSFlags & X86II::EVEX_K) ? 3 : 2; in printVecCompareInstr() 162 if ((Desc.TSFlags & X86II::FormMask) == X86II::MRMSrcMem) { in printVecCompareInstr() 163 if (Desc.TSFlags & X86II::EVEX_B) { in printVecCompareInstr() 166 if (Desc.TSFlags & X86II::VEX_W) in printVecCompareInstr() 173 if (Desc.TSFlags & X86II::EVEX_L2) in printVecCompareInstr() 174 NumElts = (Desc.TSFlags & X86II::VEX_W) ? 8 : 16; in printVecCompareInstr() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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() 74 if (Desc.MayLoad) in dispatch() 76 if (Desc.MayStore) in dispatch() 79 if (Desc.MayStore) { in dispatch() 117 if (Desc.MayLoad) { in dispatch() 126 assert(Desc.MayLoad && "Expected a load!"); in dispatch() 196 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in isAvailable() local 197 if (Desc.MayLoad && isLQFull()) in isAvailable() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| H A D | tsan_mutexset.h | 25 struct Desc { struct 34 Desc() { internal_memset(this, 0, sizeof(*this)); } in Desc() argument 35 Desc(const Desc& other) { *this = other; } in Desc() function 36 Desc& operator=(const MutexSet::Desc& other) { 50 Desc Get(uptr i) const; 56 Desc descs_[kMaxSize]; 91 MutexSet::Desc MutexSet::Get(uptr i) const { return Desc(); } in Get()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | AMDGPUEmitPrintf.cpp | 69 static Value *callAppendArgs(IRBuilder<> &Builder, Value *Desc, int NumArgs, in callAppendArgs() argument 81 return Builder.CreateCall(Fn, {Desc, NumArgsValue, Arg0, Arg1, Arg2, Arg3, in callAppendArgs() 85 static Value *appendArg(IRBuilder<> &Builder, Value *Desc, Value *Arg, in appendArg() argument 89 return callAppendArgs(Builder, Desc, 1, Arg0, Zero, Zero, Zero, Zero, Zero, in appendArg() 162 static Value *callAppendStringN(IRBuilder<> &Builder, Value *Desc, Value *Str, in callAppendStringN() argument 171 return Builder.CreateCall(Fn, {Desc, Str, Length, IsLastInt32}); in callAppendStringN() 174 static Value *appendString(IRBuilder<> &Builder, Value *Desc, Value *Arg, in appendString() argument 177 return callAppendStringN(Builder, Desc, Arg, Length, IsLast); in appendString() 180 static Value *processArg(IRBuilder<> &Builder, Value *Desc, Value *Arg, in processArg() argument 183 return appendString(Builder, Desc, Arg, IsLast); in processArg() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/ |
| H A D | Support.cpp | 50 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() local 51 if (Desc.SubUnitsIdxBegin) in computeProcResourceMasks() 59 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() local 60 if (!Desc.SubUnitsIdxBegin) in computeProcResourceMasks() 63 for (unsigned U = 0; U < Desc.NumUnits; ++U) { in computeProcResourceMasks() 64 uint64_t OtherMask = Masks[Desc.SubUnitsIdxBegin[U]]; in computeProcResourceMasks() 74 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks() local 77 << Desc.Name << '\n'); in computeProcResourceMasks()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | DebugCounter.h | 71 static unsigned registerCounter(StringRef Name, StringRef Desc) { in registerCounter() argument 72 return instance().addCounter(std::string(Name), std::string(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
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerRegistryData.cpp | 157 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyInstPrinter.cpp | 83 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.OpInfo[I].OperandType != WebAssembly::OPERAND_BASIC_BLOCK) in printInst() 296 const MCInstrDesc &Desc = MII.get(MI->getOpcode()); in printOperand() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/MCTargetDesc/ |
| H A D | M68kMCCodeEmitter.cpp | 54 const MCInstrDesc &Desc, uint64_t &Buffer, 59 const MCInstrDesc &Desc, uint64_t &Buffer, unsigned Offset, 64 const MCInstrDesc &Desc, uint64_t &Buffer, unsigned Offset, 77 const MCInstrDesc &Desc, in encodeBits() argument 108 const MCInst &MI, const MCInstrDesc &Desc, in encodeReg() argument 138 bool IsPCRel = Desc.OpInfo[MIOpIdx].OperandType == MCOI::OPERAND_PCREL; in encodeReg() 183 const MCInst &MI, const MCInstrDesc &Desc, in encodeImm() argument 199 bool IsPCRel = Desc.OpInfo[MIOpIdx].OperandType == MCOI::OPERAND_PCREL; in encodeImm() 319 const MCInstrDesc &Desc = MCII.get(Opcode); in encodeInstruction() local 351 encodeBits(ThisByte, Bead, MI, Desc, Buffer, Offset, Fixups, STI); in encodeInstruction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | SIMCCodeEmitter.cpp | 308 const MCInstrDesc &Desc = MCII.get(Opcode); in encodeInstruction() local 309 unsigned bytes = Desc.getSize(); in encodeInstruction() 313 if ((Desc.TSFlags & SIInstrFlags::VOP3P) || in encodeInstruction() 324 if (AMDGPU::isGFX10Plus(STI) && Desc.TSFlags & SIInstrFlags::MIMG) { in encodeInstruction() 345 for (unsigned i = 0, e = Desc.getNumOperands(); i < e; ++i) { in encodeInstruction() 348 if (!AMDGPU::isSISrcOperand(Desc, i)) in encodeInstruction() 353 if (getLitEncoding(Op, Desc.OpInfo[i], STI) != 255) in encodeInstruction() 420 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); in getSDWASrcEncoding() local 421 uint32_t Enc = getLitEncoding(MO, Desc.OpInfo[OpNo], STI); in getSDWASrcEncoding() 520 const MCInstrDesc &Desc = MCII.get(MI.getOpcode()); in getMachineOpValue() local [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| H A D | tsan_mutexset.h | 24 struct Desc { struct 37 Desc Get(uptr i) const; argument 46 Desc descs_[kMaxSize]; 63 MutexSet::Desc MutexSet::Get(uptr i) const { return Desc(); } in Get()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinterDwarf.cpp | 40 void AsmPrinter::emitSLEB128(int64_t Value, const char *Desc) const { in emitSLEB128() 41 if (isVerbose() && Desc) in emitSLEB128() 42 OutStreamer->AddComment(Desc); in emitSLEB128() 47 void AsmPrinter::emitULEB128(uint64_t Value, const char *Desc, in emitULEB128() argument 49 if (isVerbose() && Desc) in emitULEB128() 50 OutStreamer->AddComment(Desc); in emitULEB128() 116 void AsmPrinter::emitEncodingByte(unsigned Val, const char *Desc) const { in emitEncodingByte() 118 if (Desc) in emitEncodingByte() 119 OutStreamer->AddComment(Twine(Desc) + " Encoding = " + in emitEncodingByte()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MCA/ |
| H A D | Instruction.h | 150 WriteState(const WriteDescriptor &Desc, MCPhysReg RegID, 152 : WD(&Desc), CyclesLeft(UNKNOWN_CYCLES), RegisterID(RegID), PRFID(0), 257 ReadState(const ReadDescriptor &Desc, MCPhysReg RegID) in ReadState() argument 258 : RD(&Desc), RegisterID(RegID), PRFID(0), DependentWrites(0), in ReadState() 397 const InstrDesc &Desc; variable 413 InstructionBase(const InstrDesc &D) : Desc(D), IsOptimizableMove(false) {} in InstructionBase() 419 const InstrDesc &getDesc() const { return Desc; } in getDesc() 421 unsigned getLatency() const { return Desc.MaxLatency; } in getLatency() 422 unsigned getNumMicroOps() const { return Desc.NumMicroOps; } in getNumMicroOps() 439 bool isMemOp() const { return Desc.MayLoad || Desc.MayStore; } in isMemOp()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCChecker.cpp | 312 MCInstrDesc const &Desc = HexagonMCInstrInfo::getDesc(MCII, I); in reportBranchErrors() local 313 if (Desc.isBranch() || Desc.isCall() || Desc.isReturn()) in reportBranchErrors() 323 MCInstrDesc const &Desc = HexagonMCInstrInfo::getDesc(MCII, I); in checkHWLoop() local 324 if (Desc.isBranch() || Desc.isCall() || Desc.isReturn()) { in checkHWLoop() 337 MCInstrDesc const &Desc = HexagonMCInstrInfo::getDesc(MCII, I); in checkCOFMax1() local 338 if (Desc.isBranch() || Desc.isCall() || Desc.isReturn()) in checkCOFMax1() 464 MCInstrDesc const &Desc = in checkNewValues() local 466 if (Desc.OpInfo[std::get<1>(Producer)].RegClass == in checkNewValues() 474 if ((Desc.mayLoad() && std::get<1>(Producer) == 1) || in checkNewValues() 475 (Desc.mayStore() && std::get<1>(Producer) == 0)) { in checkNewValues() [all …]
|