Searched defs:CGP (Results 1 - 6 of 6) sorted by relevance

/external/llvm/utils/TableGen/
H A DDAGISelEmitter.cpp27 CodeGenDAGPatterns CGP; member in class:__anon13284::DAGISelEmitter
29 explicit DAGISelEmitter(RecordKeeper &R) : CGP(R) {}
42 CodeGenDAGPatterns &CGP) {
49 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
54 Cost += getResultPatternCost(P->getChild(i), CGP);
61 CodeGenDAGPatterns &CGP) {
70 Cost += getResultPatternSize(P->getChild(i), CGP);
79 PatternSortingPredicate(CodeGenDAGPatterns &cgp) : CGP(cgp) {}
80 CodeGenDAGPatterns &CGP; member in struct:__anon13285::PatternSortingPredicate
97 int LHSSize = LHS->getPatternComplexity(CGP);
41 getResultPatternCost(TreePatternNode *P, CodeGenDAGPatterns &CGP) argument
60 getResultPatternSize(TreePatternNode *P, CodeGenDAGPatterns &CGP) argument
[all...]
H A DDAGISelMatcherOpt.cpp27 const CodeGenDAGPatterns &CGP) {
36 ContractNodes(Child, CGP);
70 return ContractNodes(MatcherPtr, CGP);
79 return ContractNodes(MatcherPtr, CGP);
97 return ContractNodes(MatcherPtr, CGP);
117 Pattern.getSrcPattern()->NodeHasProperty(SDNPHasChain, CGP))
127 Pattern.getSrcPattern()->NodeHasProperty(SDNPOutGlue, CGP))
157 ContractNodes(N->getNextPtr(), CGP);
176 return ContractNodes(MatcherPtr, CGP);
516 const CodeGenDAGPatterns &CGP) {
26 ContractNodes(std::unique_ptr<Matcher> &MatcherPtr, const CodeGenDAGPatterns &CGP) argument
515 OptimizeMatcher(std::unique_ptr<Matcher> &MatcherPtr, const CodeGenDAGPatterns &CGP) argument
[all...]
H A DDAGISelMatcherEmitter.cpp36 const CodeGenDAGPatterns &CGP; member in class:__anon13287::MatcherTableEmitter
57 : CGP(cgp) {}
575 << SNT->getPattern().getPatternComplexity(CGP) << '\n';
603 << CM->getPattern().getPatternComplexity(CGP) << '\n';
718 CGP.getSDNodeTransform(NodeXForms[i]);
728 std::string ClassName = CGP.getSDNodeInfo(SDNode).getSDClassName();
821 const CodeGenDAGPatterns &CGP,
828 MatcherTableEmitter MatcherEmitter(CGP);
820 EmitMatcherTable(const Matcher *TheMatcher, const CodeGenDAGPatterns &CGP, raw_ostream &O) argument
H A DDAGISelMatcherGen.cpp51 const CodeGenDAGPatterns &CGP; member in class:__anon13288::MatcherGen
154 : Pattern(pattern), CGP(cgp), NextRecordedOperandNo(0),
182 TreePattern &TP = *CGP.pf_begin()->second;
215 const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed("imm"));
310 const SDNodeInfo &CInfo = CGP.getSDNodeInfo(N->getOperator());
354 if (N->NodeHasProperty(SDNPMemOperand, CGP))
360 if (N->NodeHasProperty(SDNPHasChain, CGP)) {
404 const SDNodeInfo &PInfo = CGP.getSDNodeInfo(Root->getOperator());
406 Root->getOperator() == CGP
685 mayInstNodeLoadOrStore(const TreePatternNode *N, const CodeGenDAGPatterns &CGP) argument
694 numNodesThatMayLoadOrStore(const TreePatternNode *N, const CodeGenDAGPatterns &CGP) argument
1003 ConvertPatternToMatcher(const PatternToMatch &Pattern, unsigned Variant, const CodeGenDAGPatterns &CGP) argument
[all...]
H A DCodeGenDAGPatterns.cpp816 const CodeGenDAGPatterns &CGP) {
828 const ComplexPattern *AM = P->getComplexPatternInfo(CGP);
846 Size += getPatternSize(Child, CGP);
850 else if (Child->getComplexPatternInfo(CGP))
851 Size += getPatternSize(Child, CGP);
863 getPatternComplexity(const CodeGenDAGPatterns &CGP) const {
864 return getPatternSize(getSrcPattern(), CGP) + getAddedComplexity();
1597 TreePatternNode::getComplexPatternInfo(const CodeGenDAGPatterns &CGP) const {
1609 return &CGP.getComplexPattern(Rec);
1612 unsigned TreePatternNode::getNumMIResults(const CodeGenDAGPatterns &CGP) cons
815 getPatternSize(const TreePatternNode *P, const CodeGenDAGPatterns &CGP) argument
[all...]
/external/llvm/lib/Analysis/
H A DCallGraphSCCPass.cpp555 CGPassManager *CGP; local
558 CGP = (CGPassManager*)PMS.top();
565 CGP = new CGPassManager();
569 TPM->addIndirectPassManager(CGP);
573 Pass *P = CGP;
577 PMS.push(CGP);
580 CGP->add(this);

Completed in 99 milliseconds