/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DAGISelEmitter.cpp | 29 CodeGenDAGPatterns CGP; member in __anonae03922e0111::DAGISelEmitter 32 explicit DAGISelEmitter(RecordKeeper &R) : Records(R), CGP(R) {} in DAGISelEmitter() 45 const CodeGenDAGPatterns &CGP) { in getResultPatternCost() argument 53 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost() 58 Cost += getResultPatternCost(P.getChild(i), CGP); in getResultPatternCost() 65 const CodeGenDAGPatterns &CGP) { in getResultPatternSize() argument 75 Cost += getResultPatternSize(P.getChild(i), CGP); in getResultPatternSize() 84 PatternSortingPredicate(CodeGenDAGPatterns &cgp) : CGP(cgp) {} in PatternSortingPredicate() 85 CodeGenDAGPatterns &CGP; member 102 int LHSSize = LHS->getPatternComplexity(CGP); in operator ()() [all …]
|
H A D | DAGISelMatcherGen.cpp | 57 const CodeGenDAGPatterns &CGP; member in __anon9c7aa4d20111::MatcherGen 150 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0), TheMatcher(nullptr), in MatcherGen() 179 TreePattern &TP = *CGP.pf_begin()->second; in InferPossibleTypes() 210 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed("imm")); in EmitLeafMatchCode() 287 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed(Name)); in EmitLeafMatchCode() 323 const SDNodeInfo &CInfo = CGP.getSDNodeInfo(N.getOperator()); in EmitOperatorMatchCode() 368 if (N.NodeHasProperty(SDNPMemOperand, CGP)) in EmitOperatorMatchCode() 374 if (N.NodeHasProperty(SDNPHasChain, CGP)) { in EmitOperatorMatchCode() 418 const SDNodeInfo &PInfo = CGP.getSDNodeInfo(Root.getOperator()); in EmitOperatorMatchCode() 420 Root.getOperator() == CGP.get_intrinsic_void_sdnode() || in EmitOperatorMatchCode() [all …]
|
H A D | DAGISelMatcherOpt.cpp | 26 const CodeGenDAGPatterns &CGP) { in ContractNodes() argument 36 ContractNodes(Child, CGP); in ContractNodes() 74 return ContractNodes(MatcherPtr, CGP); in ContractNodes() 82 return ContractNodes(MatcherPtr, CGP); in ContractNodes() 102 Pattern.getSrcPattern().NodeHasProperty(SDNPHasChain, CGP)) in ContractNodes() 112 Pattern.getSrcPattern().NodeHasProperty(SDNPOutGlue, CGP)) in ContractNodes() 138 ContractNodes(N->getNextPtr(), CGP); in ContractNodes() 156 return ContractNodes(MatcherPtr, CGP); in ContractNodes() 166 return ContractNodes(MatcherPtr, CGP); in ContractNodes() 177 return ContractNodes(MatcherPtr, CGP); in ContractNodes() [all …]
|
H A D | GlobalISelCombinerEmitter.cpp | 249 getMCOIOperandTypes(const CodeGenInstructionPattern &CGP); 396 const auto *CGP = dyn_cast<CodeGenInstructionPattern>(&IP); in inferImmediateType() local 397 if (!CGP || CGP->isIntrinsic()) in inferImmediateType() 412 const auto MCOITypes = getMCOIOperandTypes(*CGP); in inferImmediateType() 463 const CodeGenInstructionPattern &CGP) { in getMCOIOperandTypes() argument 469 auto &CGI = CGP.getInst(); in getMCOIOperandTypes() 482 if (CGP.hasVariadicDefs()) { in getMCOIOperandTypes() 483 for (unsigned K = CGI.Operands.NumDefs; K < CGP.getNumInstDefs(); ++K) in getMCOIOperandTypes() 489 int CGIOpOffset = int(CGI.Operands.NumDefs) - CGP.getNumInstDefs(); in getMCOIOperandTypes() 490 assert(CGP.hasVariadicDefs() ? (CGIOpOffset <= 0) : (CGIOpOffset == 0)); in getMCOIOperandTypes() [all …]
|
H A D | FastISelEmitter.cpp | 410 void collectPatterns(CodeGenDAGPatterns &CGP); 420 static std::string getOpcodeName(Record *Op, CodeGenDAGPatterns &CGP) { in getOpcodeName() argument 421 return std::string(CGP.getSDNodeInfo(Op).getEnumName()); in getOpcodeName() 451 void FastISelMap::collectPatterns(CodeGenDAGPatterns &CGP) { in collectPatterns() argument 452 const CodeGenTarget &Target = CGP.getTargetInfo(); in collectPatterns() 455 for (CodeGenDAGPatterns::ptm_iterator I = CGP.ptm_begin(), E = CGP.ptm_end(); in collectPatterns() 467 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in collectPatterns() 528 std::string OpcodeName = getOpcodeName(InstPatOp, CGP); in collectPatterns() 595 int complexity = Pattern.getPatternComplexity(CGP); in collectPatterns() 868 CodeGenDAGPatterns CGP(RK); in EmitFastISel() local [all …]
|
H A D | DAGISelMatcherEmitter.cpp | 51 const CodeGenDAGPatterns &CGP; member in __anon5c6645320211::MatcherTableEmitter 85 : CGP(cgp), OpcodeCounts(Matcher::HighestKind + 1, 0) { in MatcherTableEmitter() 987 << " - Complexity = " << SNT->getPattern().getPatternComplexity(CGP) in EmitMatcher() 1023 << " - Complexity = " << CM->getPattern().getPatternComplexity(CGP) in EmitMatcher() 1177 CGP.getSDNodeTransform(NodeXForms[i]); in EmitPredicateFunctions() 1188 std::string(CGP.getSDNodeInfo(SDNode).getSDClassName()); in EmitPredicateFunctions() 1298 void llvm::EmitMatcherTable(Matcher *TheMatcher, const CodeGenDAGPatterns &CGP, in EmitMatcherTable() argument 1330 MatcherTableEmitter MatcherEmitter(TheMatcher, CGP); in EmitMatcherTable()
|
H A D | GlobalISelEmitter.cpp | 339 const CodeGenDAGPatterns CGP; member in __anon868ebc530111::GlobalISelEmitter 521 N.getIntrinsicInfo(CGP)->isConvergent) in getEquivNode() 540 : GlobalISelMatchTableExecutorEmitter(), RK(RK), CGP(RK), in GlobalISelEmitter() 541 Target(CGP.getTargetInfo()), CGRegs(Target.getRegBank()) { in GlobalISelEmitter() 879 const CodeGenIntrinsic *II = Src.getIntrinsicInfo(CGP); in createAndImportSelDAGMatcher() 992 auto &ChildSDNI = CGP.getSDNodeInfo(SrcChild.getOperator()); in importChildMatcher() 1219 auto &ChildSDNI = CGP.getSDNodeInfo(DstChild.getOperator()); in importExplicitUseRenderer() 1699 CGP.operandHasDefault(DstI->Operands[NonOverridableOperands - 1].Rec)) in importExplicitUseRenderers() 1710 if (CGP.operandHasDefault(OperandNode) && in importExplicitUseRenderers() 1718 InsertPt, M, DstMIBuilder, CGP.getDefaultOperand(OperandNode))) in importExplicitUseRenderers() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CallGraphSCCPass.cpp | 620 CGPassManager *CGP; in assignPassManager() local 623 CGP = (CGPassManager*)PMS.top(); in assignPassManager() 630 CGP = new CGPassManager(); in assignPassManager() 634 TPM->addIndirectPassManager(CGP); in assignPassManager() 638 Pass *P = CGP; in assignPassManager() 642 PMS.push(CGP); in assignPassManager() 645 CGP->add(this); in assignPassManager()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenDAGPatterns.h | 780 getComplexPatternInfo(const CodeGenDAGPatterns &CGP) const; 786 unsigned getNumMIResults(const CodeGenDAGPatterns &CGP) const; 789 bool NodeHasProperty(SDNP Property, const CodeGenDAGPatterns &CGP) const; 793 bool TreeHasProperty(SDNP Property, const CodeGenDAGPatterns &CGP) const; 1093 int getPatternComplexity(const CodeGenDAGPatterns &CGP) const;
|
H A D | CodeGenDAGPatterns.cpp | 1434 const CodeGenDAGPatterns &CGP) { in getPatternSize() argument 1441 if (const ComplexPattern *AM = P.getComplexPatternInfo(CGP)) { in getPatternSize() 1460 Size += getPatternSize(Child, CGP); in getPatternSize() 1467 else if (Child.getComplexPatternInfo(CGP)) in getPatternSize() 1468 Size += getPatternSize(Child, CGP); in getPatternSize() 1481 int PatternToMatch::getPatternComplexity(const CodeGenDAGPatterns &CGP) const { in getPatternComplexity() 1482 return getPatternSize(getSrcPattern(), CGP) + getAddedComplexity(); in getPatternComplexity() 2344 TreePatternNode::getComplexPatternInfo(const CodeGenDAGPatterns &CGP) const { in getComplexPatternInfo() 2356 return &CGP.getComplexPattern(Rec); in getComplexPatternInfo() 2359 unsigned TreePatternNode::getNumMIResults(const CodeGenDAGPatterns &CGP) const { in getNumMIResults() [all …]
|
H A D | DAGISelMatcher.h | 38 const CodeGenDAGPatterns &CGP); 40 const CodeGenDAGPatterns &CGP); 41 void EmitMatcherTable(Matcher *Matcher, const CodeGenDAGPatterns &CGP,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 511 CodeGenPrepare CGP(TM); in runOnFunction() local 512 CGP.DL = &F.getDataLayout(); in runOnFunction() 513 CGP.SubtargetInfo = TM->getSubtargetImpl(F); in runOnFunction() 514 CGP.TLI = CGP.SubtargetInfo->getTargetLowering(); in runOnFunction() 515 CGP.TRI = CGP.SubtargetInfo->getRegisterInfo(); in runOnFunction() 516 CGP.TLInfo = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(F); in runOnFunction() 517 CGP.TTI = &getAnalysis<TargetTransformInfoWrapperPass>().getTTI(F); in runOnFunction() 518 CGP.LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo(); in runOnFunction() 519 CGP.BPI.reset(new BranchProbabilityInfo(F, *CGP.LI)); in runOnFunction() 520 CGP.BFI.reset(new BlockFrequencyInfo(F, *CGP.BPI, *CGP.LI)); in runOnFunction() [all …]
|
/freebsd/share/misc/ |
H A D | pci_vendors | 30235 15d9 0652 Dual Port i350 GbE MicroLP [AOC-CGP-i2]
|