Home
last modified time | relevance | path

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

12

/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()
87 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList()
442 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch()
444 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch()
459 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch()
460 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch()
462 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch()
466 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch()
[all …]
DOptParserEmitter.cpp181 OS << getOptionName(*DI->getDef()); in EmitOptParser()
226 GroupFlags = DI->getDef()->getValueAsListInit("Flags"); in EmitOptParser()
227 OS << getOptionName(*DI->getDef()); in EmitOptParser()
234 OS << getOptionName(*DI->getDef()); in EmitOptParser()
259 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser()
263 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser()
DPseudoLoweringEmitter.cpp81 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping()
82 DI->getDef()->getName() == "zero_reg") { in addDagOperandMapping()
84 OperandMap[BaseIdx + i].Data.Reg = DI->getDef(); in addDagOperandMapping()
93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) in addDagOperandMapping()
95 "Pseudo operand type '" + DI->getDef()->getName() + in addDagOperandMapping()
135 Record *Operator = OpDef->getDef(); in evaluateExpansion()
DCodeGenDAGPatterns.cpp875 Record *Def = Pred->getDef(); in getPredicateCheck()
1024 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint()
1030 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint()
1237 Op = DI->getDef(); in GetNumNodeResults()
1326 return ((DI->getDef() == NDI->getDef()) in isIsomorphicTo()
1385 cast<DefInit>(Val)->getDef()->getName() == "node")) { in SubstituteFormalArguments()
1603 Rec = DI->getDef(); in getComplexPatternInfo()
1620 if (DI && DI->getDef()->isSubClassOf("Operand")) { in getNumMIResults()
1621 DagInit *MIOps = DI->getDef()->getValueAsDag("MIOperandInfo"); in getNumMIResults()
1675 if (DI && DI->getDef()->isSubClassOf(Class)) in isOperandClass()
[all …]
DFastISelEmitter.cpp254 Record *OpLeafRec = OpDI->getDef(); in initialize()
431 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode()
499 SubRegNo = getQualifiedName(SR->getDef()); in collectPatterns()
DDAGISelMatcherGen.cpp234 Record *LeafRec = DI->getDef(); in EmitLeafMatchCode()
623 Record *Def = DI->getDef(); in EmitResultLeafAsOperand()
DCodeGenRegisters.h317 Record *getDef() const { return TheDef; } in getDef() function
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_lowering_nv50.cpp88 i[5] = bld->mkOp3(OP_MAD, fTy, mul->getDef(0), a[1], b[1], r[2]); in expandIntegerMUL()
96 bld->mkMov(mul->getDef(0), t[3]); in expandIntegerMUL()
318 i->getDef(0)->reg.size = 2; // $aX are only 16 bit in handleAddrDef()
348 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef()
357 Value *def = mul->getDef(0); in handleMUL()
366 Value *res = cloneShallow(func, mul->getDef(0)); in handleMUL()
369 add->setSrc(0, mul->getDef(0)); in handleMUL()
505 if (insn->defExists(0) && insn->getDef(0)->reg.file == FILE_ADDRESS) in visit()
570 tid = bld.mkMov(bld.getScratch(), arg, TYPE_U32)->getDef(0); in visit()
662 bld.mkCvt(OP_CVT, TYPE_U8, flags, TYPE_U32, cond->getDef(0)); in handleTXB()
[all …]
Dnv50_ir_peephole.cpp51 if (!getDef(0)->equals(getSrc(0))) in isNop()
70 if (getDef(d)->refCount() || getDef(d)->reg.data.id >= 0) in isDead()
106 if (mov->getDef(0)->reg.data.id < 0 && si && si->op != OP_PHI) { in visit()
218 if (ld->getDef(0)->refCount() == 0) in visit()
577 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs()
583 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs()
591 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) { in tryCollapseChainedMULs()
595 insn = mul2->getDef(0)->uses.front()->getInsn(); in tryCollapseChainedMULs()
600 s2 = insn->getSrc(0) == mul1->getDef(0) ? 0 : 1; in tryCollapseChainedMULs()
712 tB = s ? bld.getSSA() : i->getDef(0); in opnd()
[all …]
Dnv50_ir_ra.cpp373 mov->setDef(0, new_LValue(func, phi->getDef(0)->asLValue())); in visit()
374 phi->setSrc(j, mov->getDef(0)); in visit()
412 LValue *tmp = new_LValue(func, cal->getDef(d)->asLValue()); in visit()
418 mov->setDef(0, cal->getDef(d)); in visit()
496 bb->liveSet.clr(i->getDef(d)->id); in buildLiveSets()
502 bb->liveSet.clr(i->getDef(0)->id); in buildLiveSets()
551 bb->liveSet.clr(i->getDef(0)->id); in visit()
572 bb->liveSet.clr(i->getDef(d)->id); in visit()
573 if (i->getDef(d)->reg.data.id >= 0) // add hazard for fixed regs in visit()
574 i->getDef(d)->livei.extend(i->serial, i->serial); in visit()
[all …]
Dnv50_ir.cpp743 i->setDef(d, pol.get(getDef(d))); in clone()
768 if (getDef(i)->reg.file != getDef(d)->reg.file) in defCount()
842 if (getDef(d)->inFile(FILE_PREDICATE) || getDef(d)->inFile(FILE_FLAGS)) in writesPredicate()
852 if (a->getDef(d)->interfers(b->getSrc(s))) in insnCheckCommutationDefSrc()
862 if (a->getDef(d)->interfers(b->getDef(c))) in insnCheckCommutationDefDef()
Dnv50_ir_build_util.cpp188 insn->getDef(0)->reg.data.id = id; in mkMovToReg()
289 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit()
Dnv50_ir_ssa.cpp249 assigned.set(i->getDef(d)->id); in buildLiveSetsPreSSA()
281 bb->defSet.set(i->getDef(d)->id); in buildDefSetsPreSSA()
Dnv50_ir_print.cpp526 pos += getDef(d)->print(&buf[pos], size - pos); in print()
Dnv50_ir_emit_nv50.cpp337 setDst(i->getDef(d)); in setDst()
724 DataFile df = i->getDef(0)->reg.file; in emitMOV()
1565 else if (insn->getDef(0)->reg.file == FILE_ADDRESS) in emitInstruction()
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/type/
Dtagmap.py30 if self.__defType is not None and tagMap.getDef() is not None:
32 if tagMap.getDef() is not None:
33 defType = tagMap.getDef()
52 def getDef(self): return self.__defType member in TagMap
/external/clang/utils/TableGen/
DClangSACheckersEmitter.cpp33 return isHidden(*DI->getDef()); in isHidden()
47 name = getPackageFullName(DI->getDef()); in getParentPackageFullName()
135 package = DI->getDef(); in EmitClangSACheckers()
156 Record *parentPackage = DI->getDef(); in EmitClangSACheckers()
162 recordGroupMap[DI->getDef()]->Checkers.insert(R); in EmitClangSACheckers()
169 addPackageToCheckerGroup(packages[i], DI->getDef(), recordGroupMap); in EmitClangSACheckers()
210 OS << groupToSortIndex[DI->getDef()] << ", "; in EmitClangSACheckers()
238 OS << groupToSortIndex[DI->getDef()] << ", "; in EmitClangSACheckers()
DClangDiagnosticsEmitter.cpp86 std::string CatName = getCategoryFromDiagGroup(Group->getDef(), in getDiagnosticCategory()
177 std::string GroupName = DI->getDef()->getValueAsString("GroupName"); in groupDiagnostics()
233 const Record *NextDiagGroup = GroupInit->getDef(); in groupDiagnostics()
264 const Record *NextDiagGroup = GroupInit->getDef(); in groupDiagnostics()
277 SrcMgr.PrintMessage(GroupInit->getDef()->getLoc().front(), in groupDiagnostics()
405 const Record *GroupRec = Group->getDef(); in compute()
424 if (groupInPedantic(Group->getDef())) in compute()
521 const Record *GroupRec = Group->getDef(); in EmitClangDiagsDefs()
553 DiagsInGroup.find(DI->getDef()->getValueAsString("GroupName")); in EmitClangDiagsDefs()
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_lowering_nvc0.cpp64 def[0] = bld.mkMovToReg(0, i->getSrc(0))->getDef(0); in handleDIV()
65 def[1] = bld.mkMovToReg(1, i->getSrc(1))->getDef(0); in handleDIV()
73 bld.mkMov(i->getDef(0), def[(i->op == OP_DIV) ? 0 : 1]); in handleDIV()
204 while (insn->op == OP_MOV && insn->getDef(0)->equals(insn->getSrc(0))) in findOverwritingDefs()
236 Value *v = insn->getDef(d); in findFirstUses()
256 if (usei->op == OP_MOV && usei->getDef(0)->equals(usei->getSrc(0)) && in findFirstUses()
360 prev->setSrc(prev->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers()
366 bar->setSrc(bar->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers()
556 if (!i->getDef(0)->refCount()) in visit()
789 mov = bld.mkMov(def[c][l], tex->getDef(c)); in handleManualTXD()
[all …]
Dnv50_ir_emit_nvc0.cpp986 if (i->getDef(0)->interfers(i->next->getSrc(0))) in isNextIndependentTex()
988 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1)); in isNextIndependentTex()
1224 code[0] |= ((i->getDef(0)->reg.size / 4) - 1) << 5; in emitVFETCH()
2162 recordWr(insn->getDef(d), ready); in commitInsn()
/external/llvm/lib/TableGen/
DSetTheory.cpp204 cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); in apply()
215 Record *Rec = Records.getDef(OS.str()); in apply()
275 if (const RecVec *Result = expand(Def->getDef())) in evaluate()
277 Elts.insert(Def->getDef()); in evaluate()
292 auto I = Operators.find(OpInit->getDef()->getName()); in evaluate()
DRecord.cpp536 return DI->getDef(); in getElementAsRecord()
670 if (Record *D = (CurRec->getRecords()).getDef(Name)) in Fold()
759 if (!LOp || !ROp || LOp->getDef() != ROp->getDef()) in Fold()
1001 Record *Val = RHSd->getDef(); in Fold()
1003 Val = MHSd->getDef(); in Fold()
1376 if (getDef()->isSubClassOf(RRT->getRecord())) in convertInitializerTo()
1747 Defs.push_back(DI->getDef()); in getValueAsListOfDefs()
1818 return DI->getDef(); in getValueAsDef()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp241 return MemDepResult::getDef(Inst); in getCallSiteDependencyFrom()
442 return MemDepResult::getDef(U); in getInvariantGroupPointerDependency()
526 return MemDepResult::getDef(II); in getSimplePointerDependencyFrom()
594 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
621 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
667 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
685 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
/external/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.cpp424 static MachineInstr *getDef(unsigned Reg, in getDef() function
452 MachineInstr *RLL = getDef(SrcReg, MRI); in removeIPMBasedCompare()
455 RLL = getDef(LGFR->getOperand(1).getReg(), MRI); in removeIPMBasedCompare()
460 MachineInstr *SRL = getDef(RLL->getOperand(1).getReg(), MRI); in removeIPMBasedCompare()
464 MachineInstr *IPM = getDef(SRL->getOperand(1).getReg(), MRI); in removeIPMBasedCompare()
/external/llvm/include/llvm/Analysis/
DMemoryDependenceAnalysis.h105 static MemDepResult getDef(Instruction *Inst) { in getDef() function

12