/freebsd/sys/contrib/openzfs/.github/codeql/custom-queries/cpp/ |
H A D | deprecatedFunctionUsage.ql | 13 f.getName() = "strtok" or 15 f.getName() = "basename" or 16 f.getName() = "dirname" or 17 f.getName() = "bcopy" or 18 f.getName() = "bcmp" or 19 f.getName() = "bzero" or 20 f.getName() = "asctime" or 21 f.getName() = "asctime_r" or 22 f.getName() = "gmtime" or 23 f.getName() = "localtime" or [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CodeGenIntrinsics.cpp | 161 if (R->getName() == "IntrNoMem") in setProperty() 163 else if (R->getName() == "IntrReadMem") { in setProperty() 181 else if (R->getName() == "Commutative") in setProperty() 183 else if (R->getName() == "Throws") in setProperty() 187 else if (R->getName() == "IntrNoMerge") in setProperty() 189 else if (R->getName() == "IntrConvergent") in setProperty() 191 else if (R->getName() == "IntrNoReturn") in setProperty() 195 else if (R->getName() == "IntrNoSync") in setProperty() 197 else if (R->getName() == "IntrNoFree") in setProperty() 201 else if (R->getName() == "IntrCold") in setProperty() [all …]
|
H A D | DirectiveEmitter.cpp | 105 << "::" << CV->getName() << ";\n"; in GenerateEnumClauseVal() 218 OS << "Directive get" << DirLang.getName() in EmitDirectivesDecl() 221 OS << "llvm::StringRef get" << DirLang.getName() in EmitDirectivesDecl() 224 OS << "Clause get" << DirLang.getName() in EmitDirectivesDecl() 262 OS << Rec.getName(); in GenerateGetName() 349 << DirLang.getName() << EnumName in GenerateGetKindClauseVal() 355 OS << " case " << CV->getName() << ":\n"; in GenerateGetKindClauseVal() 635 << Clause.getName().upper() << "\"); }\n"; in GenerateFlangClauseUnparse() 680 return (C1.getName() > C2.getName()); in compareClauseName() 698 OS << " \"" << Clause.getName() << "\""; in GenerateFlangClausesParser() [all …]
|
H A D | CodeGenInstruction.cpp | 33 if (Init->getDef()->getName() != "outs") in CGIOperandList() 35 R->getName() + in CGIOperandList() 45 if (Init->getDef()->getName() != "ins") in CGIOperandList() 47 R->getName() + in CGIOperandList() 114 } else if (Rec->getName() == "variable_ops") { in CGIOperandList() 248 TheDef->getName() + in ParseOperandName() 260 TheDef->getName() + in ParseOperandName() 274 TheDef->getName() + in ParseOperandName() 314 Rec->getName() + "': '" + CStr + "'"); in ParseConstraint() 333 "' in '" + Rec->getName() + "'"); in ParseConstraint() [all …]
|
H A D | PseudoLoweringEmitter.cpp | 81 DI->getDef()->getName() == "zero_reg") { in addDagOperandMapping() 142 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion() 149 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion() 150 "', result operator '" + Operator->getName() + in evaluateExpansion() 159 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion() 167 PrintError(Rec, "In pseudo instruction '" + Rec->getName() + in evaluateExpansion() 229 o << "bool " << Target.getName() + "AsmPrinter" << "::\n" in emitLoweringEmitter() 240 << Source.TheDef->getName() << ": {\n" in emitLoweringEmitter() 244 << Dest.TheDef->getName() << ");\n"; in emitLoweringEmitter() 270 if (Reg->getName() == "zero_reg") in emitLoweringEmitter() [all …]
|
H A D | RegisterInfoEmitter.cpp | 369 if (LastSeenReg && Reg->getName() == LastSeenReg->getName()) in finalizeDwarfRegNumsKeys() 378 return A.first->getName() == B.first->getName(); in finalizeDwarfRegNumsKeys() 969 << Idx.getName() << "\n"; in runMCDesc() 1027 const std::string &Name = RC.getName(); in runMCDesc() 1254 OS << Idx.getName(); in runTargetDesc() 1294 << RC.getName() << '\n'; in runTargetDesc() 1343 OS << "// " << Idx.getName(); in runTargetDesc() 1559 << RC.getName() << ':' << Idx.getName(); in runTargetDesc() 1851 OS << " " << R->getName(); in debugDump() 1859 OS << " " << SRC.getName(); in debugDump() [all …]
|
H A D | MacroFusionPredicatorEmitter.cpp | 82 OS << "#ifdef GET_" << Target.getName() << "_MACRO_FUSION_PRED_DECL\n"; in emitMacroFusionDecl() 83 OS << "#undef GET_" << Target.getName() << "_MACRO_FUSION_PRED_DECL\n\n"; in emitMacroFusionDecl() 87 OS << "bool is" << Fusion->getName() << "(const TargetInstrInfo &, " in emitMacroFusionDecl() 99 OS << "#ifdef GET_" << Target.getName() << "_MACRO_FUSION_PRED_IMPL\n"; in emitMacroFusionImpl() 100 OS << "#undef GET_" << Target.getName() << "_MACRO_FUSION_PRED_IMPL\n\n"; in emitMacroFusionImpl() 107 OS << "bool is" << Fusion->getName() << "(\n"; in emitMacroFusionImpl() 128 if (Target->getName() == "first_fusion_target") in emitPredicates() 130 else if (Target->getName() == "second_fusion_target") in emitPredicates() 132 else if (Target->getName() == "both_fusion_target") in emitPredicates() 136 "Unsupported 'FusionTarget': " + Target->getName()); in emitPredicates() [all …]
|
H A D | GlobalISelMatchTableExecutorEmitter.cpp | 35 getTarget().getName(), getClassName(), "computeAvailableModuleFeatures", in emitSubtargetFeatureBitsetImpl() 42 << getTarget().getName() in emitSubtargetFeatureBitsetImpl() 47 getTarget().getName(), getClassName(), "computeAvailableFunctionFeatures", in emitSubtargetFeatureBitsetImpl() 65 if (First->getName() < Second->getName()) in emitSubtargetFeatureBitsetImpl() 67 if (First->getName() > Second->getName()) in emitSubtargetFeatureBitsetImpl() 114 OS << " GICP_" << Record->getName() << ",\n"; in emitComplexPredicates() 124 << Record->getName() << "\n"; in emitComplexPredicates() 266 << "computeAvailableModuleFeatures(const " << getTarget().getName() in emitPredicatesDecl() 269 << "computeAvailableFunctionFeatures(const " << getTarget().getName() in emitPredicatesDecl()
|
H A D | RegisterBankEmitter.cpp | 47 StringRef getName() const { return TheDef.getValueAsString("Name"); } in getName() function in __anon187a2b3e0111::RegisterBank 53 return (TheDef.getName() + "CoverageData").str(); in getCoverageArrayName() 57 StringRef getInstanceVarName() const { return TheDef.getName(); } in getInstanceVarName() 187 (Kind + " (" + PossibleSubclass.getName() + ")").str(); in visitRegisterBankClasses() 192 TmpKind + " " + RC->getName() + " subclass", in visitRegisterBankClasses() 205 std::string TmpKind2 = (Twine(TmpKind) + " " + RC->getName() + in visitRegisterBankClasses() 206 " class-with-subregs: " + RC->getName()) in visitRegisterBankClasses() 248 << QualifiedBankID << ", /* Name */ \"" << Bank.getName() << "\", " in emitBaseClassImplementation() 293 StringRef TargetName = Target.getName(); in run() 309 << "Added " << RC->getName() << "(" << Kind << ")\n"); in run() [all …]
|
H A D | CodeGenMapTable.cpp | 102 Name = std::string(MapRec->getName()); in InstrMap() 133 MapRec->getName() + "' has empty " + "`ValueCols' field!"); in InstrMap() 148 const std::string &getName() const { return Name; } in getName() function in __anon1edd68de0111::InstrMap 371 OS << "static const uint16_t "<<InstrMapDesc.getName(); in emitBinSearchTable() 387 OutStr += ColInstrs[j]->getName(); in emitBinSearchTable() 392 OS << " { " << Namespace << "::" << CurInstr->getName(); in emitBinSearchTable() 402 OS << "}; // End of " << InstrMapDesc.getName() << "Table\n\n"; in emitBinSearchTable() 457 OS << " return " << InstrMapDesc.getName(); in emitMapFuncBody() 481 OS << "// "<< InstrMapDesc.getName() << "\nLLVM_READONLY\n"; in emitTablesWithFunc() 482 OS << "int "<< InstrMapDesc.getName() << "(uint16_t Opcode"; in emitTablesWithFunc() [all …]
|
H A D | DAGISelMatcherGen.cpp | 249 LeafRec->getName() == "srcvalue") in EmitLeafMatchCode() 267 if (N->getName().empty()) { in EmitLeafMatchCode() 281 if (LeafRec->getName() == "immAllOnesV" || in EmitLeafMatchCode() 282 LeafRec->getName() == "immAllZerosV") { in EmitLeafMatchCode() 292 if (LeafRec->getName() == "immAllOnesV") in EmitLeafMatchCode() 337 if ((N->getOperator()->getName() == "and" || in EmitOperatorMatchCode() 338 N->getOperator()->getName() == "or") && in EmitOperatorMatchCode() 514 if (!N->getName().empty()) in EmitMatchCode() 515 Names.push_back(N->getName()); in EmitMatchCode() 686 if (Def->getName() == "zero_reg") { in EmitResultLeafAsOperand() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | GIMatchTableExecutorImpl.h | 68 DEBUG_WITH_TYPE(TgtExecutor::getName(), in executeMatchTable() 73 DEBUG_WITH_TYPE(TgtExecutor::getName(), in executeMatchTable() 139 DEBUG_WITH_TYPE(TgtExecutor::getName(), in executeMatchTable() 184 DEBUG_WITH_TYPE(TgtExecutor::getName(), in executeMatchTable() 193 DEBUG_WITH_TYPE(TgtExecutor::getName(), in executeMatchTable() 215 DEBUG_WITH_TYPE(TgtExecutor::getName(), in executeMatchTable() 308 DEBUG_WITH_TYPE(TgtExecutor::getName(), in executeMatchTable() 324 DEBUG_WITH_TYPE(TgtExecutor::getName(), in executeMatchTable() 349 DEBUG_WITH_TYPE(TgtExecutor::getName(), in executeMatchTable() 620 TgtExecutor::getName(), in executeMatchTable() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
H A D | LVType.cpp | 154 resolveFullname(BaseType, getName()); in resolveName() 170 return getName(); in resolveReferencesChain() 187 << "Name = " << formattedName(Target->getName()) << "\n"; in markMissingParents() 193 << formattedName(Reference->getName()) << "\n"; in markMissingParents() 209 << "Name = " << formattedName(getName()) << "\n"; in findIn() 349 Aggregate->setName(getName()); in resolveExtra() 370 OS << formattedKind(kind()) << " '" << getName() in printExtra() 428 Name.append(std::string(BaseType->getName())); in encodeTemplateArgument() 430 Name.append(std::string(ArgType->getName())); in encodeTemplateArgument() 442 Name.append(std::string(ArgScope->getName())); in encodeTemplateArgument() [all …]
|
H A D | LVSort.cpp | 41 return LHS->getName() < RHS->getName(); in compareName() 70 LHS->kind(), LHS->getName(), LHS->getLineNumber(), LHS->getOffset()); in sortByKind() 72 RHS->kind(), RHS->getName(), RHS->getLineNumber(), RHS->getOffset()); in sortByKind() 82 LHS->getLineNumber(), LHS->getName(), LHS->kind(), LHS->getOffset()); in sortByLine() 84 RHS->getLineNumber(), RHS->getName(), RHS->kind(), RHS->getOffset()); in sortByLine() 94 LHS->getName(), LHS->getLineNumber(), LHS->kind(), LHS->getOffset()); in sortByName() 96 RHS->getName(), RHS->getLineNumber(), RHS->kind(), RHS->getOffset()); in sortByName()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | JITLinkGeneric.cpp | 28 dbgs() << "Starting link phase 1 for graph " << G->getName() << "\n"; in linkPhase1() 36 dbgs() << "Link graph \"" << G->getName() << "\" pre-pruning:\n"; in linkPhase1() 43 dbgs() << "Link graph \"" << G->getName() << "\" post-pruning:\n"; in linkPhase1() 79 dbgs() << "Link graph \"" << G->getName() in linkPhase2() 99 dbgs() << "No external symbols for " << G->getName() in linkPhase2() 111 dbgs() << "Issuing lookup for external symbols for " << G->getName() in linkPhase2() 149 dbgs() << "Link graph \"" << G->getName() in linkPhase3() 217 assert(Sym->getName() != StringRef() && Sym->getName() != "" && in getExternalSymbolNames() 222 UnresolvedExternals[Sym->getName()] = LookupFlags; in getExternalSymbolNames() 233 auto ResultI = Result.find(Sym->getName()); in applyLookupResult() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | UnifyLoopExits.cpp | 103 LLVM_DEBUG(dbgs() << "added ext use for " << I.getName() << "(" in INITIALIZE_PASS_DEPENDENCY() 104 << BB->getName() << ")" in INITIALIZE_PASS_DEPENDENCY() 105 << ": " << UserInst->getName() << "(" in INITIALIZE_PASS_DEPENDENCY() 106 << UserBlock->getName() << ")" in INITIALIZE_PASS_DEPENDENCY() 119 LLVM_DEBUG(dbgs() << "externally used: " << Def->getName() << "\n"); in INITIALIZE_PASS_DEPENDENCY() 122 Def->getName() + ".moved", &LoopExitBlock->front()); in INITIALIZE_PASS_DEPENDENCY() 124 LLVM_DEBUG(dbgs() << "predecessor " << In->getName() << ": "); in INITIALIZE_PASS_DEPENDENCY() 136 LLVM_DEBUG(dbgs() << " " << U->getName()); in INITIALIZE_PASS_DEPENDENCY() 170 dbgs() << " " << Exit->getName(); in unifyLoopExits() 176 dbgs() << " " << EB->getName(); in unifyLoopExits() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
H A D | DebuggerSupportPlugin.cpp | 37 return Sec.getName().starts_with("__DWARF,"); in isDebugSection() 65 dbgs() << " Preserving debug section " << Sec.getName() << "\n"; in preserveDebugSections() 108 if (Sec.getName().empty() || Sec.getName().size() > 33 || in startSynthesis() 109 Sec.getName().find(',') > 16) in startSynthesis() 142 auto [SegName, SecName] = DSec.GraphSec->getName().split(','); in startSynthesis() 152 MemoryBuffer::getMemBuffer(SectionData, G.getName(), false); in startSynthesis() 191 FileName = StringRef(G.getName()); in startSynthesis() 201 auto [SegName, SecName] = NDSP.GraphSec->getName().split(','); in startSynthesis() 217 {*Sym, Builder.addSymbol(Sym->getName(), SymType, 1, 0, 0), in startSynthesis() 218 Builder.addSymbol(Sym->getName(), SymType, 0, 0, 0)}); in startSynthesis() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/ |
H A D | RecordVisitor.cpp | 31 auto [SymName, SymKind] = parseSymbol(GR.getName(), GR.getFlags()); in visitGlobal() 43 ObjCIVarRecord::createScopedName(ContainerName, IV->getName()); in addIVars() 51 Symbols->addGlobal(SymbolKind::ObjectiveCClass, ObjCR.getName(), in visitObjCInterface() 54 Symbols->addGlobal(SymbolKind::ObjectiveCClassEHType, ObjCR.getName(), in visitObjCInterface() 58 addIVars(ObjCR.getObjCIVars(), ObjCR.getName()); in visitObjCInterface() 60 addIVars(Cat->getObjCIVars(), ObjCR.getName()); in visitObjCInterface() 64 addIVars(Cat.getObjCIVars(), Cat.getName()); in visitObjCCategory()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineNegator.cpp | 179 I->getName() + ".neg"); in visitImpl() 191 NewInstr->setName(I->getName() + ".neg"); in visitImpl() 207 I->getName() + ".neg") in visitImpl() 209 I->getName() + ".neg"); in visitImpl() 281 I->getName() + ".neg"); in visitImpl() 330 NewSelect->setName(I->getName() + ".neg"); in visitImpl() 399 I->getName() + ".neg", /* HasNUW */ false, IsNSW); in visitImpl() 432 I->getName() + ".neg"); in visitImpl() 439 I->getName() + ".neg"); in visitImpl() 449 I->getName() + ".neg"); in visitImpl() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/DumpTool/ |
H A D | ASTSrcLocProcessor.cpp | 181 (Node->getName() == "getBeginLoc" || Node->getName() == "getEndLoc" || in CaptureMethods() 182 Node->getName() == "getSourceRange")) in CaptureMethods() 184 if (ExprBase && Node->getName() == "getExprLoc") in CaptureMethods() 188 if ((ASTClass->getName() == "PointerLikeTypeLoc" || in CaptureMethods() 189 ASTClass->getName() == "TypeofLikeTypeLoc") && in CaptureMethods() 190 Node->getName() == "getLocalSourceRange") in CaptureMethods() 192 Methods.push_back(Node->getName().str()); in CaptureMethods() 207 CladeName = NodeClade->getName(); in run() 213 StringRef ClassName = ASTClass->getName(); in run() 243 OS << DerivedFrom->getName() << '<'; in run() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyAddMissingPrototypes.cpp | 71 LLVM_DEBUG(dbgs() << "Found no-prototype function: " << F.getName() in runOnModule() 80 F.getName()); in runOnModule() 86 F.getName()); in runOnModule() 107 LLVM_DEBUG(dbgs() << "prototype-less call of " << F.getName() << ":\n"); in runOnModule() 117 << F.getName() << "\n"; in runOnModule() 126 F.getName() + "\n"); in runOnModule() 136 Function::Create(NewType, F.getLinkage(), F.getName() + ".fixed_sig"); in runOnModule() 145 std::string Name = std::string(OldF->getName()); in runOnModule()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ASTTableGen.cpp | 24 llvm::StringRef clang::tblgen::HasProperties::getName() const { in getName() function in clang::tblgen::HasProperties 26 return node.getName(); in getName() 35 StringRef nodeName = node->getName(); in removeExpectedNodeNameSuffix() 47 return (Twine(getName()) + "Decl").str(); in getClassName() 50 return getName(); in getId() 56 return getName(); in getClassName() 68 return getName(); in getClassName() 71 return (Twine(getName()) + "Class").str(); in getId()
|
H A D | ClangASTNodesEmitter.cpp | 55 MacroHierarchyName = macroName(std::string(Root.getName())); in macroHierarchyName() 66 return node.getName().str() + BaseSuffix; in baseName() 98 std::string BaseName = macroName(std::string(Base.getName())); in EmitNode() 115 return LHS.getName() > RHS.getName(); in EmitNode() 125 std::string NodeName = macroName(std::string(Child.getName())); in EmitNode() 133 OS << NodeName << "(" << Child.getName() << ", " << baseName(Base) << ")"; in EmitNode() 161 OS << Base.getName() << ", " << First.getName() << ", " in EmitNode() 162 << Last.getName() << ")\n\n"; in EmitNode() 229 OS << "DECL_CONTEXT(" << DeclContext->getName() << ")\n"; in printDeclContext()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | FileRemapper.cpp | 132 SmallString<200> origPath = StringRef(origFE.getName()); in flushToFile() 138 SmallString<200> newPath = StringRef(FE->getName()); in flushToFile() 146 path::filename(origFE.getName()), in flushToFile() 147 path::extension(origFE.getName()).drop_front(), fd, tempPath, in flushToFile() 159 infoOut << newE->getName() << '\n'; in flushToFile() 176 if (!fs::exists(origFE.getName())) in overwriteOriginal() 177 return report(StringRef("File does not exist: ") + origFE.getName(), in overwriteOriginal() 200 CaptureFile(Mapping.first.getName(), FE->getName()); in forEachMapping() 204 Mapping.first.getName(), in forEachMapping() 213 PPOpts.addRemappedFile(I->first.getName(), FE->getName()); in applyMappings() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
H A D | CSKYTargetParser.cpp | 76 return ARCHNames[static_cast<unsigned>(AK)].getName(); in getArchName() 93 if (A.getName() == Arch) in parseArch() 102 if (CPU == C.getName()) in parseCPUArch() 111 if (ArchExt == A.getName()) in parseArchExt() 120 Values.push_back(Arch.getName()); in fillValidCPUArchList() 127 return FPUNames[FPUKind].getName(); in getFPUName() 148 return AE.getName(); in getArchExtName() 163 if (AE.Feature && ArchExt == AE.getName()) in getArchExtFeature()
|