Home
last modified time | relevance | path

Searched refs:CGI (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DAsmWriterInst.cpp49 AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex, in AsmWriterInst() argument
51 : CGI(&CGI), CGIIndex(CGIIndex) { in AsmWriterInst()
56 std::string AsmString = CGI.FlattenAsmStringVariants(CGI.AsmString, Variant); in AsmWriterInst()
95 CGI.TheDef->getLoc(), in AsmWriterInst()
97 CGI.TheDef->getName() + "'!"); in AsmWriterInst()
136 CGI.TheDef->getLoc(), in AsmWriterInst()
138 CGI.TheDef->getName() + "'"); in AsmWriterInst()
145 CGI.TheDef->getLoc(), in AsmWriterInst()
147 CGI.TheDef->getName() + "'"); in AsmWriterInst()
154 PrintFatalError(CGI.TheDef->getLoc(), in AsmWriterInst()
[all …]
H A DVarLenCodeEmitterGen.cpp231 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run() local
232 const Record *R = CGI->TheDef; in run()
358 for (const CodeGenInstruction *CGI : NumberedInstructions) { in emitInstructionBaseValues() local
359 const Record *R = CGI->TheDef; in emitInstructionBaseValues()
452 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCaseForEncoding() local
479 auto OpIdx = CGI.Operands.ParseOperandName(OperandName); in getInstructionCaseForEncoding()
480 unsigned FlatOpIdx = CGI.Operands.getFlattenedOperandNumber(OpIdx); in getInstructionCaseForEncoding()
482 CGI.Operands[OpIdx.first].EncoderMethodNames[OpIdx.second]; in getInstructionCaseForEncoding()
H A DAsmWriterInst.h83 const CodeGenInstruction *CGI; variable
86 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
H A DCodeGenTarget.cpp256 const CodeGenInstruction *CGI = CGIUp.get(); in ComputeInstrsByEnum() local
257 if (CGI->Namespace != "TargetOpcode") { in ComputeInstrsByEnum()
258 InstrsByEnum.push_back(CGI); in ComputeInstrsByEnum()
259 NumPseudoInstructions += CGI->TheDef->getValueAsBit("isPseudo"); in ComputeInstrsByEnum()
H A DDAGISelMatcher.cpp287 << CGI.Namespace << "::" << CGI.TheDef->getName() << ": <todo flags> "; in printImpl()
312 return &M->CGI == &CGI && M->VTs == VTs && M->Operands == Operands && in isEqualImpl()
H A DCodeGenDAGPatterns.cpp3820 void CodeGenDAGPatterns::parseInstructionPattern(CodeGenInstruction &CGI, in parseInstructionPattern() argument
3824 assert(!DAGInsts.count(CGI.TheDef) && "Instruction already parsed!"); in parseInstructionPattern()
3827 TreePattern I(CGI.TheDef, Pat, true, *this); in parseInstructionPattern()
3876 if (i == CGI.Operands.size()) { in parseInstructionPattern()
3887 StringRef OpName = CGI.Operands[i].Name; in parseInstructionPattern()
3902 if (!checkOperandClass(CGI.Operands[i], R)) in parseInstructionPattern()
3906 Results.push_back(CGI.Operands[i].Rec); in parseInstructionPattern()
3918 for (unsigned i = NumResults, e = CGI.Operands.size(); i != e; ++i) { in parseInstructionPattern()
3919 CGIOperandList::OperandInfo &Op = CGI.Operands[i]; in parseInstructionPattern()
4044 CodeGenInstruction &CGI = Target.getInstruction(Instr); in ParseInstructions() local
[all …]
H A DDAGISelMatcher.h1029 const CodeGenInstruction &CGI; variable
1045 : Matcher(isMorphNodeTo ? MorphNodeTo : EmitNode), CGI(cgi), VTs(vts), in EmitNodeMatcherCommon()
1050 const CodeGenInstruction &getInstruction() const { return CGI; } in getInstruction()
H A DCodeGenDAGPatterns.h1225 void parseInstructionPattern(CodeGenInstruction &CGI, const ListInit *Pattern,
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DWebAssemblyDisassemblerEmitter.cpp33 for (const auto &[Idx, CGI] : in emitWebAssemblyDisassemblerTables()
35 const Record &Def = *CGI.TheDef; in emitWebAssemblyDisassemblerTables()
74 if (CGIP.second->AsmString.size() <= CGI.AsmString.size()) in emitWebAssemblyDisassemblerTables()
79 CGIP = {Idx, &CGI}; in emitWebAssemblyDisassemblerTables()
110 auto &CGI = *InstIt->second.second; in emitWebAssemblyDisassemblerTables() local
113 OS << ": " << CGI.AsmString << "\n"; in emitWebAssemblyDisassemblerTables()
115 OS << CGI.Operands.OperandList.size() << ", "; in emitWebAssemblyDisassemblerTables()
118 for (auto &Op : CGI.Operands.OperandList) { in emitWebAssemblyDisassemblerTables()
H A DX86MnemonicTables.cpp72 const CodeGenInstruction *CGI = *Mnemonics.begin(); in run() local
73 OS << "\treturn Opcode == " << CGI->TheDef->getName() << ";\n}\n\n"; in run()
76 for (const CodeGenInstruction *CGI : Mnemonics) { in run() local
77 OS << "\tcase " << CGI->TheDef->getName() << ":\n"; in run()
H A DCodeEmitterGen.cpp104 CodeGenInstruction &CGI = Target.getInstruction(R); in addCodeToMergeInOperand() local
126 if (auto SubOp = CGI.Operands.findSubOperandAlias(VarName)) { in addCodeToMergeInOperand()
127 OpIdx = CGI.Operands[SubOp->first].MIOperandNo + SubOp->second; in addCodeToMergeInOperand()
128 } else if (auto MayBeOpIdx = CGI.Operands.findOperandNamed(VarName)) { in addCodeToMergeInOperand()
130 OpIdx = CGI.Operands[*MayBeOpIdx].MIOperandNo; in addCodeToMergeInOperand()
137 if (CGI.Operands.isFlatOperandNotEmitted(OpIdx)) { in addCodeToMergeInOperand()
143 std::pair<unsigned, unsigned> SO = CGI.Operands.getSubOperandNumber(OpIdx); in addCodeToMergeInOperand()
145 CGI.Operands[SO.first].EncoderMethodNames[SO.second]; in addCodeToMergeInOperand()
408 for (const CodeGenInstruction *CGI : NumberedInstructions) { in emitInstructionBaseValues() local
409 const Record *R = CGI->TheDef; in emitInstructionBaseValues()
[all …]
H A DAsmWriterEmitter.cpp132 O << " case " << FirstInst.CGI->Namespace in EmitInstructions()
133 << "::" << FirstInst.CGI->TheDef->getName() << ":\n"; in EmitInstructions()
135 O << " case " << AWI.CGI->Namespace << "::" << AWI.CGI->TheDef->getName() in EmitInstructions()
147 OpsToPrint.emplace_back(FirstInst.CGI->Namespace.str() + in EmitInstructions()
148 "::" + FirstInst.CGI->TheDef->getName().str(), in EmitInstructions()
152 OpsToPrint.emplace_back(AWI.CGI->Namespace.str() + in EmitInstructions()
153 "::" + AWI.CGI->TheDef->getName().str(), in EmitInstructions()
191 InstrsForCase[idx] += Inst.CGI->TheDef->getName(); in FindUniqueOperandCommands()
195 InstrsForCase.push_back(Inst.CGI->TheDef->getName().str()); in FindUniqueOperandCommands()
H A DDecoderEmitter.cpp1890 const CodeGenInstruction &CGI) { in parseVarLenInstOperand() argument
1896 for (const auto &[Idx, Op] : enumerate(CGI.Operands)) { in parseVarLenInstOperand()
1925 const_cast<CodeGenInstruction &>(CGI).Operands.ParseOperandName( in parseVarLenInstOperand()
1927 unsigned OpIdx = CGI.Operands.getFlattenedOperandNumber(OpSubOpPair); in parseVarLenInstOperand()
1934 unsigned OpIdx = CGI.Operands.getFlattenedOperandNumber( in parseVarLenInstOperand()
1994 const CodeGenInstruction &CGI, unsigned Opc, in populateInstruction() argument
1997 const Record &Def = *CGI.TheDef; in populateInstruction()
2038 for (const auto &Op : CGI.Operands) { in populateInstruction()
2043 CGI.Operands.getSubOperandNumber(CI.getTiedOperand()); in populateInstruction()
2044 StringRef TiedName = CGI.Operands[SO.first].SubOpNames[SO.second]; in populateInstruction()
[all …]
H A DGlobalISelCombinerEmitter.cpp462 auto &CGI = CGP.getInst(); in getMCOIOperandTypes() local
464 CGI.TheDef->isSubClassOf("GenericInstruction") in getMCOIOperandTypes()
465 ? CGI.TheDef->getValueAsOptionalDef("variadicOpsType") in getMCOIOperandTypes()
472 for (unsigned K = 0; K < CGI.Operands.NumDefs; ++K) in getMCOIOperandTypes()
473 OpTypes.push_back(CGI.Operands[K].OperandType); in getMCOIOperandTypes()
477 for (unsigned K = CGI.Operands.NumDefs; K < CGP.getNumInstDefs(); ++K) in getMCOIOperandTypes()
483 int CGIOpOffset = int(CGI.Operands.NumDefs) - CGP.getNumInstDefs(); in getMCOIOperandTypes()
489 if (CGIOpIdx >= CGI.Operands.size()) { in getMCOIOperandTypes()
493 OpTypes.push_back(CGI.Operands[CGIOpIdx].OperandType); in getMCOIOperandTypes()
1664 for (const CodeGenInstruction *CGI : AOP.insts()) { in emitMatchPattern() local
[all …]
H A DAsmMatcherEmitter.cpp551 MatchableInfo(const CodeGenInstruction &CGI) in MatchableInfo()
552 : AsmVariantID(0), AsmString(CGI.AsmString), TheDef(CGI.TheDef), in MatchableInfo()
553 ResInstSize(TheDef->getValueAsInt("Size")), DefRec(&CGI), in MatchableInfo()
1544 for (const CodeGenInstruction *CGI : Target.getInstructions()) { in buildInfo() local
1548 if (!StringRef(CGI->TheDef->getName()).starts_with(MatchPrefix)) in buildInfo()
1552 if (CGI->TheDef->getValueAsBit("isCodeGenOnly")) in buildInfo()
1556 StringRef V = CGI->TheDef->getValueAsString("AsmVariantName"); in buildInfo()
1560 auto II = std::make_unique<MatchableInfo>(*CGI); in buildInfo()
1710 const CodeGenInstruction &CGI = *cast<const CodeGenInstruction *>(II->DefRec); in buildInstructionOperandReference() local
1711 const CGIOperandList &Operands = CGI.Operands; in buildInstructionOperandReference()
H A DGlobalISelCombinerMatchTableEmitter.cpp
H A DDAGISelMatcherEmitter.cpp987 const CodeGenInstruction &CGI = EN->getInstruction(); in EmitMatcher() local
988 OS << ", TARGET_VAL(" << CGI.Namespace << "::" << CGI.TheDef->getName() in EmitMatcher()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCallGraphSCCPass.cpp504 scc_iterator<CallGraph*> CGI = scc_begin(&CG); in runOnModule() local
506 CallGraphSCC CurSCC(CG, &CGI); in runOnModule()
507 while (!CGI.isAtEnd()) { in runOnModule()
510 const std::vector<CallGraphNode *> &NodeVec = *CGI; in runOnModule()
512 ++CGI; in runOnModule()
597 scc_iterator<CallGraph*> *CGI = (scc_iterator<CallGraph*>*)Context; in ReplaceNode() local
598 CGI->ReplaceNode(Old, New); in ReplaceNode()
H A DLoopAccessAnalysis.cpp370 const RuntimeCheckingPtrGroup &CGI, const RuntimeCheckingPtrGroup &CGJ) { in tryToCreateDiffCheck() argument
374 if (CGI.Members.size() != 1 || CGJ.Members.size() != 1) in tryToCreateDiffCheck()
377 const PointerInfo *Src = &Pointers[CGI.Members[0]]; in tryToCreateDiffCheck()
432 DL.getPointerSizeInBits(CGI.AddressSpace)); in tryToCreateDiffCheck()
479 const RuntimeCheckingPtrGroup &CGI = CheckingGroups[I]; in generateChecks() local
482 if (needsChecking(CGI, CGJ)) { in generateChecks()
483 CanUseDiffCheck = CanUseDiffCheck && tryToCreateDiffCheck(CGI, CGJ); in generateChecks()
484 Checks.emplace_back(&CGI, &CGJ); in generateChecks()
/freebsd/contrib/tcsh/
H A Dtcsh.man2html36 $index = 0; # Don't make a searchable index CGI script
44 $cgifile = 'tcsh.cgi'; # CGI script name **
45 $cgibindir = 'cgi-bin'; # CGI directory ***
229 # Index entry for CGI script
763 -i Makes a CGI searchable index script, tcsh.html/tcsh.cgi, intended
765 -c Like -i, but the CGI script is intended for a server which wants
768 -C dir Uses /dir instead of /cgi-bin as the CGI bin dir.
774 -G name Uses name instead of tcsh.cgi as the name of the CGI script.
826 # If the search engine is in the same directory, we can figure it out from CGI
H A DWishList163 be using the manual page CGI at http://www.tac.eu.org/cgi-bin/man-cgi
/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchTree.cpp
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1925 scc_iterator<ProfiledCallGraph *> CGI = scc_begin(ProfiledCG.get()); in buildFunctionOrder() local
1926 while (!CGI.isAtEnd()) { in buildFunctionOrder()
1927 auto Range = *CGI; in buildFunctionOrder()
1930 scc_member_iterator<ProfiledCallGraph *> SI(*CGI); in buildFunctionOrder()
1938 ++CGI; in buildFunctionOrder()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h626 bool tryToCreateDiffCheck(const RuntimeCheckingPtrGroup &CGI,
/freebsd/contrib/mandoc/
H A DINSTALL36 1. If you want to build the CGI program, man.cgi(8), too,

12