Home
last modified time | relevance | path

Searched refs:getDef (Results 1 – 21 of 21) sorted by relevance

/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp36 if (Init->getDef()->getName() != "outs") in CGIOperandList()
45 if (Init->getDef()->getName() != "ins") in CGIOperandList()
67 Record *Rec = Arg->getDef(); in CGIOperandList()
85 ->getDef()->getName() != "ops") in CGIOperandList()
414 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
420 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef()); in tryAliasOpMatch()
425 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch()
433 .contains(T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch()
434 throw TGError(Loc, "fixed register " +ADI->getDef()->getName() in tryAliasOpMatch()
442 ResOp = ResultOperand(ADI->getDef()); in tryAliasOpMatch()
[all …]
DPseudoLoweringEmitter.cpp34 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping()
35 DI->getDef()->getName() == "zero_reg") { in addDagOperandMapping()
37 OperandMap[BaseIdx + i].Data.Reg = DI->getDef(); in addDagOperandMapping()
46 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) in addDagOperandMapping()
48 "Pseudo operand type '" + DI->getDef()->getName() + in addDagOperandMapping()
88 Record *Operator = OpDef->getDef(); in evaluateExpansion()
DOptParserEmitter.cpp109 OS << getOptionName(*DI->getDef()); in run()
149 OS << getOptionName(*DI->getDef()); in run()
156 OS << getOptionName(*DI->getDef()); in run()
169 OS << dynamic_cast<DefInit*>(LI->getElement(i))->getDef()->getName(); in run()
DClangSACheckersEmitter.cpp32 return isHidden(*DI->getDef()); in isHidden()
46 name = getPackageFullName(DI->getDef()); in getParentPackageFullName()
134 package = DI->getDef(); in run()
154 Record *parentPackage = DI->getDef(); in run()
160 recordGroupMap[DI->getDef()]->Checkers.insert(R); in run()
167 addPackageToCheckerGroup(packages[i], DI->getDef(), recordGroupMap); in run()
208 OS << groupToSortIndex[DI->getDef()] << ", "; in run()
236 OS << groupToSortIndex[DI->getDef()] << ", "; in run()
DSetTheory.cpp170 dynamic_cast<DefInit&>(*Expr->getOperator()).getDef()->getRecords(); in apply()
177 Record *Rec = Records.getDef(OS.str()); in apply()
228 if (const RecVec *Result = expand(Def->getDef())) in evaluate()
230 Elts.insert(Def->getDef()); in evaluate()
245 Operator *Op = Operators.lookup(OpInit->getDef()->getName()); in evaluate()
DCodeGenDAGPatterns.cpp746 Record *Def = Pred->getDef(); in getPredicateCheck()
870 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
874 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint()
1027 Op = dynamic_cast<DefInit*>(Tree->getOperator())->getDef(); in GetNumNodeResults()
1103 return ((DI->getDef() == NDI->getDef()) in isIsomorphicTo()
1160 static_cast<DefInit*>(Val)->getDef()->getName() == "node") { in SubstituteFormalArguments()
1333 if (DI && DI->getDef()->isSubClassOf("ComplexPattern")) in getComplexPatternInfo()
1334 return &CGP.getComplexPattern(DI->getDef()); in getComplexPatternInfo()
1389 MadeChange |= UpdateNodeType(i, getImplicitType(DI->getDef(), i, in ApplyTypeConstraints()
1744 Record *R = DI->getDef(); in ParseTreePattern()
[all …]
DCodeGenRegisters.cpp102 if (!BaseIdxInit || !BaseIdxInit->getDef()->isSubClassOf("SubRegIndex")) in getSubRegs()
111 if (!IdxInit || !IdxInit->getDef()->isSubClassOf("SubRegIndex")) in getSubRegs()
115 SubRegMap::const_iterator ni = R2Subs.find(IdxInit->getDef()); in getSubRegs()
123 SubRegs[BaseIdxInit->getDef()] = R2; in getSubRegs()
304 if (!DAGOp || !(RCRec = DAGOp->getDef())->isSubClassOf("RegisterClass")) in CodeGenRegisterClass()
312 if (!Idx || !(IdxRec = Idx->getDef())->isSubClassOf("SubRegIndex")) in CodeGenRegisterClass()
DClangDiagnosticsEmitter.cpp79 std::string CatName = getCategoryFromDiagGroup(Group->getDef(), in getDiagnosticCategory()
164 OS.write_escaped(DI->getDef()->getValueAsString("GroupName")) << '"'; in run()
230 std::string GroupName = DI->getDef()->getValueAsString("GroupName"); in run()
DRecord.cpp312 if (!DI->getDef()->isSubClassOf(Rec)) in convertValue()
478 return DI->getDef(); in getElementAsRecord()
565 return new StringInit(LHSd->getDef()->getName()); in Fold()
605 if (Record *D = (CurRec->getRecords()).getDef(Name)) in Fold()
689 if (LOp == 0 || ROp == 0 || LOp->getDef() != ROp->getDef()) in Fold()
927 Record *Val = RHSd->getDef(); in Fold()
929 Val = MHSd->getDef(); in Fold()
1310 if (TrackedRecords.getDef(getName()) == this) { in setName()
1438 Defs.push_back(DI->getDef()); in getValueAsListOfDefs()
1512 return DI->getDef(); in getValueAsDef()
DDAGISelMatcherGen.cpp224 Record *LeafRec = DI->getDef(); in EmitLeafMatchCode()
499 CGP.getComplexPattern(((DefInit*)N->getLeafValue())->getDef()); in EmitMatcherCode()
583 Record *Def = DI->getDef(); in EmitResultLeafAsOperand()
DFastISelEmitter.cpp247 Record *OpLeafRec = OpDI->getDef(); in initialize()
405 Record *OpLeafRec = OpDI->getDef(); in PhyRegForNode()
473 SubRegNo = getQualifiedName(SR->getDef()); in collectPatterns()
DNeonEmitter.cpp1184 emitIntrinsic(OS, Records.getDef("VMOVL")); in run()
1185 emitIntrinsic(OS, Records.getDef("VMULL")); in run()
1186 emitIntrinsic(OS, Records.getDef("VABD")); in run()
DInstrInfoEmitter.cpp73 Record *OpR = dynamic_cast<DefInit*>(MIOI->getArg(j))->getDef(); in GetOperandInfo()
DCodeGenTarget.cpp231 const Record *Rec = Records.getDef(Name); in GetInstByName()
DTGParser.cpp669 if (Record *D = Records.getDef(Name)) in ParseIDValue()
1672 if (Records.getDef(CurRec->getName())) { in ParseDef()
2021 if (Records.getDef(CurRec->getName())) in ParseDefm()
DRecord.h1076 Record *getDef() const { return Def; } in getDef() function
1478 Record *getDef(const std::string &Name) const { in getDef() function
1487 assert(getDef(R->getName()) == 0 && "Def already exists!"); in addDef()
DAsmMatcherEmitter.cpp872 Rec = dynamic_cast<DefInit*>(OI.MIOperandInfo->getArg(SubOpIdx))->getDef(); in getOperandClass()
883 Record *MatchClass = DI->getDef(); in getOperandClass()
1057 ClassInfo *SC = AsmOperandClasses[DI->getDef()]; in BuildOperandClasses()
DRegisterInfoEmitter.cpp166 Record *Alias = DI->getDef(); in EmitRegMapping()
DAsmWriterEmitter.cpp825 AliasMap[getQualifiedName(Op->getDef())].push_back(Alias); in EmitPrintAliasInstruction()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp220 return MemDepResult::getDef(Inst); in getCallSiteDependencyFrom()
364 return MemDepResult::getDef(II); in getPointerDependencyFrom()
396 return MemDepResult::getDef(Inst); in getPointerDependencyFrom()
423 return MemDepResult::getDef(Inst); in getPointerDependencyFrom()
443 return MemDepResult::getDef(Inst); in getPointerDependencyFrom()
460 return MemDepResult::getDef(Inst); in getPointerDependencyFrom()
/external/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h92 static MemDepResult getDef(Instruction *Inst) { in getDef() function