Searched refs:Def (Results 26 - 50 of 182) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp564 CVSymbol &CVR, DefRangeFramePointerRelFullScopeSym &Def) {
565 P.format(" offset = {0}", Def.Offset);
570 DefRangeFramePointerRelSym &Def) {
572 P.formatLine("offset = {0}, range = {1}", Def.Hdr.Offset,
573 formatRange(Def.Range));
574 P.formatLine("gaps = {2}", Def.Hdr.Offset,
575 formatGaps(P.getIndentLevel() + 9, Def.Gaps));
580 DefRangeRegisterRelSym &Def) {
584 formatRegisterId(Def.Hdr.Register, CompilationCPU),
585 int32_t(Def
563 visitKnownRecord( CVSymbol &CVR, DefRangeFramePointerRelFullScopeSym &Def) argument
569 visitKnownRecord(CVSymbol &CVR, DefRangeFramePointerRelSym &Def) argument
579 visitKnownRecord(CVSymbol &CVR, DefRangeRegisterRelSym &Def) argument
607 visitKnownRecord(CVSymbol &CVR, DefRangeSubfieldRegisterSym &Def) argument
619 visitKnownRecord(CVSymbol &CVR, DefRangeSubfieldSym &Def) argument
628 visitKnownRecord(CVSymbol &CVR, DefRangeSym &Def) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DModuloSchedule.cpp387 Register Def = BBI->getOperand(0).getReg(); local
402 unsigned NumStages = getStagesForReg(Def, CurStageNum);
407 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, 0, &*BBI, Def,
410 VRMap[CurStageNum][Def] = VRMap[CurStageNum][LoopVal];
496 VRMap[PrevStage - np + 1].count(Def))
497 PhiOp2 = VRMap[PrevStage - np + 1][Def];
504 else if (VRMap[PrevStage - np].count(Def) &&
507 PhiOp2 = VRMap[PrevStage - np][Def];
531 Def, NewReg);
533 VRMap[CurStageNum - np][Def]
633 Register Def = MO.getReg(); local
791 Register Def = PHI.getOperand(0).getReg(); local
1046 MachineInstr *Def = MRI.getVRegDef(reg); local
1067 MachineInstr *Def = MRI.getVRegDef(Reg); local
1660 MachineInstr *Def = MRI.getVRegDef(MI.getOperand(1).getReg()); local
[all...]
H A DLiveInterval.cpp77 /// value defined at @p Def.
78 /// If @p ForVNI is null, and there is no value defined at @p Def, a new
80 /// If @p ForVNI is null, the return value is the value defined at @p Def,
82 /// If @p ForVNI is not null, then @p Def should be the location where
84 /// @p Def, the value @p ForVNI will be used instead of allocating a new
85 /// one. If the range already has a value defined at @p Def, it must be
87 VNInfo *createDeadDef(SlotIndex Def, VNInfo::Allocator *VNInfoAllocator, argument
89 assert(!Def.isDead() && "Cannot define a value at the dead slot");
90 assert((!ForVNI || ForVNI->def == Def) &&
91 "If ForVNI is specified, it must match Def");
370 createDeadDef(SlotIndex Def, VNInfo::Allocator &VNIAlloc) argument
467 SlotIndex Def = std::max(I->start, J->start); local
[all...]
H A DLiveVariables.cpp199 MachineInstr *Def = PhysRegDef[SubReg]; local
200 if (!Def)
202 unsigned Dist = DistanceMap[Def];
205 LastDef = Def;
292 MachineInstr *Def = PhysRegDef[SubReg]; local
293 if (Def && Def != LastDef) {
296 unsigned Dist = DistanceMap[Def];
341 MachineInstr *Def = PhysRegDef[SubReg]; local
342 if (Def
730 const MachineInstr *Def = MRI.getVRegDef(Reg); local
[all...]
H A DMIRCanonicalizerPass.cpp218 MachineInstr *Def = II; local
225 const unsigned DefLoc = getInstrIdx(*Def);
229 if (UseInst->getParent() != Def->getParent())
250 if (&*BBI == Def) {
271 MultiUsers[UseToBringDefCloserTo].push_back(Def);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyExplicitLocals.cpp179 MachineInstr *Def = MRI.getVRegDef(Reg); local
182 for (auto DefReg : Def->defs()) {
184 return Def;
189 for (MachineOperand &DefMO : Def->explicit_uses()) {
196 return Def;
289 for (auto &Def : MI.defs()) {
290 Register OldReg = Def.getReg();
317 Def.setReg(NewReg);
318 Def.setIsDead(false);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp477 MachineInstr *Def = MRI.getUniqueVRegDef(UseReg); local
478 if (!Def || !Def->isRegSequence())
481 for (unsigned I = 1, E = Def->getNumExplicitOperands(); I < E; I += 2) {
482 MachineOperand *Sub = &Def->getOperand(I);
500 Defs.push_back(std::make_pair(Sub, Def->getOperand(I + 1).getImm()));
733 MachineOperand *Def = Defs[I].first; local
735 if (Def->isImm() &&
736 TII->isInlineConstant(*Def, AMDGPU::OPERAND_REG_INLINE_C_INT32)) {
737 int64_t Imm = Def
1364 LLVM_DEBUG(dbgs() << "Folding clamp " << *DefClamp << " into " << *Def local
1488 LLVM_DEBUG(dbgs() << "Folding omod " << MI << " into " << *Def << '\\n'); local
[all...]
H A DSIPostRABundler.cpp79 for (Register Def : Defs)
80 if (TRI->regsOverlap(Reg, Def))
H A DSILowerControlFlow.cpp396 if (MachineInstr *Def = MRI->getUniqueVRegDef(MI.getOperand(1).getReg())) {
397 SkipAnding = Def->getParent() == MI.getParent()
398 && SIInstrInfo::isVALU(*Def);
486 MachineInstr *Def = MRI.getUniqueVRegDef(CFMask); local
490 Def && Def->getParent() == &MBB ? std::next(MachineBasicBlock::iterator(Def))
527 MachineInstr *Def = MRI->getUniqueVRegDef(Op.getReg()); local
528 if (!Def || Def
590 const MachineInstr *Def = MRI->getUniqueVRegDef(SavedExec); local
[all...]
H A DR600EmitClauseMarkers.cpp196 MachineBasicBlock::iterator Def,
201 MOI = Def->operands_begin(),
202 MOE = Def->operands_end(); MOI != MOE; ++MOI) {
207 // Def defines a clause local register, so check that its use will fit
210 for (MachineBasicBlock::iterator UseI = Def; UseI != BBEnd; ++UseI) {
232 if (UseI != Def && UseI->killsRegister(MOI->getReg(), &TRI))
193 canClauseLocalKillFitInClause( unsigned AluInstCount, std::vector<std::pair<unsigned, unsigned>> KCacheBanks, MachineBasicBlock::iterator Def, MachineBasicBlock::iterator BBEnd) argument
H A DSIFixSGPRCopies.cpp727 const MachineOperand &Def = DefMI->getOperand(0);
728 if (Def.isReg() &&
729 MO->getReg() == Def.getReg() &&
730 MO->getSubReg() == Def.getSubReg()) {
824 MachineInstr *Def = MRI->getVRegDef(InputReg);
826 if (Def->isCopy()) {
827 unsigned SrcReg = Def->getOperand(1).getReg();
836 else if (Def->isCopy() &&
837 TRI->isVectorRegister(*MRI, Def->getOperand(1).getReg())) {
838 Register SrcReg = Def
[all...]
H A DGCNNSAReassign.cpp198 const MachineInstr *Def = MRI->getUniqueVRegDef(Reg); local
200 if (Def && Def->isCopy() && Def->getOperand(1).getReg() == PhysReg)
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.h76 Function *createFunction(const FunctionDecl *Def, Ts &&... Args) { argument
77 auto *Func = new Function(*this, Def, std::forward<Ts>(Args)...);
78 Funcs.insert({Def, std::unique_ptr<Function>(Func)});
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryDependenceAnalysis.h88 /// 3. Dependence queries on calls return Def only when they are readonly
92 Def, enumerator in enum:llvm::MemDepResult::DepType
120 PointerSumTypeMember<Def, Instruction *>,
132 assert(Inst && "Def requires inst");
133 return MemDepResult(ValueTy::create<Def>(Inst));
155 bool isDef() const { return Value.is<Def>(); }
183 case Def:
184 return Value.cast<Def>();
462 /// find anything, and Def if it can be assumed that 2 instructions load or
463 /// store the same value and NonLocal which indicate that non-local Def wa
[all...]
/freebsd-13-stable/contrib/googletest/googletest/test/
H A Dgoogletest-list-tests-unittest_.cc55 TEST(Abc, Def) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessingRecord.cpp345 MacroDefinitionRecord *Def) {
346 MacroDefinitions[Macro] = Def;
402 else if (MacroDefinitionRecord *Def = findMacroDefinition(MI))
403 addPreprocessedEntity(new (*this) MacroExpansion(Def, Range));
448 MacroDefinitionRecord *Def = local
450 addPreprocessedEntity(Def);
451 MacroDefinitions[MI] = Def;
344 RegisterMacroDefinition(MacroInfo *Macro, MacroDefinitionRecord *Def) argument
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp1301 for (auto &Def : Defs) {
1304 if (Def->getClassKind() != ClassG)
1305 OS << "BUILTIN(__builtin_sve_" << Def->getMangledName() << ", \""
1306 << Def->getBuiltinTypeStr() << "\", \"n\")\n";
1332 for (auto &Def : Defs) {
1335 if (Def->getClassKind() == ClassG)
1338 uint64_t Flags = Def->getFlags();
1341 std::string LLVMName = Def->getLLVMName();
1342 std::string Builtin = Def->getMangledName();
1370 for (auto &Def
[all...]
H A DNeonEmitter.cpp2000 for (auto *Def : Defs) {
2001 if (Def->hasBody())
2004 std::string S = "BUILTIN(__builtin_neon_" + Def->getMangledName() + ", \"";
2006 S += Def->getBuiltinTypeStr();
2034 for (auto *Def : Defs) {
2037 if (Def->hasBody())
2041 if (Def->protoHasScalar())
2045 Mask |= 1ULL << Def->getPolymorphicKeyType().getNeonEnum();
2050 for (unsigned I = 0; I < Def->getNumParams(); ++I) {
2051 const auto &Type = Def
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZElimCompare.cpp51 Def |= Other.Def;
56 explicit operator bool() const { return Def || Use; }
60 bool Def = false; member in struct:__anon4323::Reference
155 Ref.Def = true;
550 (!CCRefs.Def &&
558 if (SrcRefs.Def)
561 if (CCRefs.Use && CCRefs.Def)
585 if (getRegReferences(MI, SrcReg).Def)
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherGen.cpp679 Record *Def = DI->getDef(); local
680 if (Def->isSubClassOf("Register")) {
682 CGP.getTargetInfo().getRegBank().getReg(Def);
688 if (Def->getName() == "zero_reg") {
694 if (Def->getName() == "undef_tied_input") {
707 if (Def->isSubClassOf("RegisterOperand"))
708 Def = Def->getValueAsDef("RegClass");
709 if (Def->isSubClassOf("RegisterClass")) {
714 CGP.getTargetInfo().getRegisterClass(Def);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DSetTheory.cpp240 // Expand a Def into a set by evaluating one of its fields.
246 void expand(SetTheory &ST, Record *Def, RecSet &Elts) override {
247 ST.evaluate(Def->getValueInit(FieldName), Elts, Def->getLoc());
284 if (DefInit *Def = dyn_cast<DefInit>(Expr)) {
285 if (const RecVec *Result = expand(Def->getDef()))
287 Elts.insert(Def->getDef());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemDepPrinter.cpp30 Def, enumerator in enum:__anon3376::MemDepPrinter::DepType
68 return InstTypePair(dep.getInst(), Def);
92 = {"Clobber", "Def", "NonFuncLocal", "Unknown"};
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLocalizer.cpp50 bool Localizer::isLocalUse(MachineOperand &MOUse, const MachineInstr &Def, argument
56 return InsertMBB == Def.getParent();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp288 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition())
289 return Def;
316 if (const ObjCProtocolDecl *Def
318 return Def;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDominators.h161 /// Return true if Def dominates a use in User.
163 /// This performs the special checks necessary if Def and User are in the same
164 /// basic block. Note that Def doesn't dominate a use in Def itself!
165 bool dominates(const Instruction *Def, const Use &U) const;
166 bool dominates(const Instruction *Def, const Instruction *User) const;
167 bool dominates(const Instruction *Def, const BasicBlock *BB) const;

Completed in 147 milliseconds

12345678