Home
last modified time | relevance | path

Searched defs:Def (Results 1 – 25 of 197) sorted by relevance

12345678

/llvm-project-15.0.7/libc/utils/LibcTableGenUtil/
H A DAPIIndexer.cpp27 static bool isa(llvm::Record *Def, llvm::Record *TypeClass) { in isa()
38 bool APIIndexer::isaNamedType(llvm::Record *Def) { in isaNamedType()
42 bool APIIndexer::isaStructType(llvm::Record *Def) { in isaStructType()
46 bool APIIndexer::isaPtrType(llvm::Record *Def) { in isaPtrType()
50 bool APIIndexer::isaConstType(llvm::Record *Def) { in isaConstType()
54 bool APIIndexer::isaRestrictedPtrType(llvm::Record *Def) { in isaRestrictedPtrType()
58 bool APIIndexer::isaStandardSpec(llvm::Record *Def) { in isaStandardSpec()
62 bool APIIndexer::isaPublicAPI(llvm::Record *Def) { in isaPublicAPI()
162 llvm::Record *Def = Pair.second.get(); in index() local
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h72 explicit BaseRecord(const llvm::Record *Def) : Def(Def) {} in BaseRecord()
102 explicit Directive(const llvm::Record *Def) : BaseRecord(Def) {} in Directive()
125 explicit Clause(const llvm::Record *Def) : BaseRecord(Def) {} in Clause()
193 explicit VersionedClause(const llvm::Record *Def) : Def(Def) {} in VersionedClause()
208 explicit ClauseVal(const llvm::Record *Def) : BaseRecord(Def) {} in ClauseVal()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DExegesisEmitter.cpp103 void ExegesisEmitter::emitPfmCountersInfo(const Record &Def, in emitPfmCountersInfo()
154 llvm::any_of(PfmCounterDefs, [](const Record *Def) { in emitPfmCounters()
160 for (const Record *Def : PfmCounterDefs) { in emitPfmCounters() local
171 for (const Record *Def : PfmCounterDefs) in emitPfmCounters() local
H A DX86MnemonicTables.cpp46 const Record *Def = I->TheDef; in run() local
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DReachingDefAnalysis.cpp169 int Def = Incoming[Unit]; in reprocessBasicBlock() local
254 for (int Def : RegUnitDefs) { in traverse() local
273 for (int Def : MBBReachingDefs[MBBNumber][*Unit]) { in getReachingDef() local
331 void ReachingDefAnalysis::getReachingLocalUses(MachineInstr *Def, in getReachingLocalUses()
403 if (auto *Def = getUniqueReachingMIDef(MI, PhysReg)) { in getGlobalReachingDefs() local
430 if (auto *Def = getLocalLiveOutMIDef(MBB, PhysReg)) in getLiveOuts() local
499 if (auto *Def = getLocalLiveOutMIDef(MBB, PhysReg)) in isRegDefinedAfter() local
514 int Def = getReachingDef(MI, PhysReg); in isReachingDefLiveOut() local
538 int Def = getReachingDef(&*Last, PhysReg); in getLocalLiveOutMIDef() local
675 if (MachineInstr *Def = getMIOperand(MI, MO)) in collectKilledOperands() local
[all …]
H A DDetectDeadLanes.cpp246 const MachineOperand &Def = MI.getOperand(0); in transferUsedLanes() local
281 const MachineOperand &Def = *MI.defs().begin(); in transferDefinedLanesStep() local
304 LaneBitmask DetectDeadLanes::transferDefinedLanes(const MachineOperand &Def, in transferDefinedLanes()
352 const MachineOperand &Def = *MRI->def_begin(Reg); in determineInitialDefinedLanes() local
424 const MachineOperand &Def = *UseMI.defs().begin(); in determineInitialUsedLanes() local
466 const MachineOperand &Def = MI.getOperand(0); in isUndefInput() local
508 MachineOperand &Def = *MRI->def_begin(Reg); in runOnce() local
H A DMachineCopyPropagation.cpp187 MCRegister Def = CopyOperands->Destination->getReg().asMCReg(); in trackCopy() local
383 MCRegister Def, const TargetRegisterInfo *TRI, in isNopCopy()
402 MCRegister Src, MCRegister Def) { in eraseIfRedundant()
444 Register Def = CopyOperands->Destination->getReg(); in isBackwardPropagatableRegClassCopy() local
545 const MachineInstr &MI, const MachineOperand &MODef, Register Def) { in hasOverlappingMultipleDef()
667 MCRegister Def = RegDef.asMCReg(); in ForwardCopyPropagateBlock() local
851 Register Def = CopyOperands->Destination->getReg(); in isBackwardPropagatableCopy() local
892 Register Def = CopyOperands->Destination->getReg(); in propagateDefs() local
934 MCRegister Def = DefReg.asMCReg(); in BackwardCopyPropagateBlock() local
993 Register Def = CopyOperands->Destination->getReg(); in BackwardCopyPropagateBlock() local
H A DMachineStableHash.cpp69 for (auto &Def : MRI.def_instructions(MO.getReg())) in stableHashValue() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DConstReturnTypeCheck.cpp28 findConstToRemove(const FunctionDecl *Def, in findConstToRemove()
82 static CheckResult checkDef(const clang::FunctionDecl *Def, in checkDef()
123 const auto *Def = Result.Nodes.getNodeAs<FunctionDecl>("func"); in check() local
H A DStaticDefinitionInAnonymousNamespaceCheck.cpp36 const auto *Def = Result.Nodes.getNodeAs<NamedDecl>("static-def"); in check() local
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64AdvSIMDScalarPass.cpp209 MachineRegisterInfo::def_instr_iterator Def = in isProfitableToTransform() local
222 MachineRegisterInfo::def_instr_iterator Def = in isProfitableToTransform() local
302 MachineRegisterInfo::def_instr_iterator Def = in transformInstruction() local
321 MachineRegisterInfo::def_instr_iterator Def = in transformInstruction() local
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp257 static bool shouldRematerialize(const MachineInstr &Def, in shouldRematerialize()
269 if (MachineInstr *Def = MRI.getUniqueVRegDef(Reg)) in getVRegDef() local
283 static bool hasOneUse(unsigned Reg, MachineInstr *Def, MachineRegisterInfo &MRI, in hasOneUse()
312 static bool isSafeToMove(const MachineOperand *Def, const MachineOperand *Use, in isSafeToMove()
517 MachineInstr *Def, MachineBasicBlock &MBB, in moveForSingleUse()
562 unsigned Reg, MachineOperand &Op, MachineInstr &Def, MachineBasicBlock &MBB, in rematerializeCheapDef()
630 unsigned Reg, MachineOperand &Op, MachineInstr *Def, MachineBasicBlock &MBB, in moveAndTeeForMultiUse()
863 MachineOperand *Def = DefI->findRegisterDefOperand(Reg); in runOnMachineFunction() local
H A DWebAssemblyLowerBrUnless.cpp76 MachineInstr *Def = MRI.getVRegDef(Cond); in runOnMachineFunction() local
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTCommon.cpp301 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext() local
329 if (const ObjCProtocolDecl *Def in getDefinitiveDeclContext() local
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUGlobalISelUtils.cpp20 MachineInstr *Def = getDefIgnoringCopies(Reg, MRI); in getBaseWithConstantOffset() local
H A DSIFoldOperands.cpp488 MachineInstr *Def = MRI.getVRegDef(UseReg); in getRegSeqInit() local
553 MachineInstr *Def = MRI.getVRegDef(UseReg); in tryToFoldACImm() local
759 MachineOperand *Def = Defs[I].first; in foldOperand() local
1041 MachineInstr *Def = MRI.getVRegDef(Op.getReg()); in getImmOrMaterializedImm() local
1341 MachineInstr *Def = MRI->getVRegDef(ClampSrc->getReg()); in tryFoldClamp() local
1487 MachineInstr *Def = MRI->getVRegDef(RegOp->getReg()); in tryFoldOMod() local
1526 for (auto &Def : Defs) { in tryFoldRegSequence() local
1566 MachineOperand *Def = Defs[I].first; in tryFoldRegSequence() local
1649 MachineOperand &Def = MI.getOperand(0); in tryFoldLoad() local
/llvm-project-15.0.7/llvm/lib/WindowsManifest/
H A DWindowsManifestMerger.cpp125 for (xmlNsPtr Def = Node->nsDef; Def; Def = Def->next) { in search() local
153 if (xmlNsPtr Def = search(HRef, Node)) in searchOrDefine() local
155 if (xmlNsPtr Def = xmlNewNs(Node, HRef, getPrefixForHref(HRef))) in searchOrDefine() local
180 for (xmlNsPtr Def = Node->nsDef; Def; Def = Def->next) { in getNamespaceWithPrefix() local
343 for (xmlNsPtr Def = AdditionalNode->nsDef; Def; Def = Def->next) { in mergeNamespaces() local
599 for (xmlNsPtr Def = Node->nsDef; Def; Def = Def->next) { in checkAndStripPrefixes() local
/llvm-project-15.0.7/llvm/lib/MCA/
H A DInstruction.cpp201 if (!all_of(getDefs(), [](const WriteState &Def) { return Def.isReady(); })) in updatePending()
218 [](const WriteState &Def) { return !Def.getDependentWrite(); })) in updateDispatched()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp141 bool isReallyAClobber(const Value *Ptr, MemoryDef *Def, AAResults *AA) { in isReallyAClobber()
196 if (MemoryDef *Def = dyn_cast<MemoryDef>(MA)) { in isClobberedInFunction() local
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DJSONBackend.cpp76 if (auto *Def = dyn_cast<DefInit>(&I)) { in translateInit() local
139 auto &Def = *D.second; in run() local
/llvm-project-15.0.7/llvm/lib/IR/
H A DDominators.cpp137 const Instruction *Def = dyn_cast<Instruction>(DefV); in dominates() local
174 bool DominatorTree::dominates(const Instruction *Def, in dominates()
276 const Instruction *Def = dyn_cast<Instruction>(DefV); in dominates() local
/llvm-project-15.0.7/clang/lib/Format/
H A DMacroExpander.cpp117 Definition Def; member in clang::format::MacroExpander::DefinitionParser
160 const Definition &Def = Definitions.find(ID->TokenText)->second; in expand() local
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DA15SDOptimizer.cpp200 MachineInstr *Def = Op->getParent(); in eraseInstrWithNoUses() local
302 MachineInstr *Def = MRI->getVRegDef(OpReg); in optimizeSDPattern() local
345 MachineInstr *Def = MRI->getVRegDef(MI->getOperand(1).getReg()); in elideCopies() local
602 MachineInstr *Def = MRI->getVRegDef(I); in runOnInstruction() local
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp164 if (auto *Def = COFFSym.getSectionDefinition()) { in getCOFFObjectFileSymbolInfo() local
176 auto Def = ComdatDefs[COFFSym.getSectionNumber()]; in getCOFFObjectFileSymbolInfo() local
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp581 CVSymbol &CVR, DefRangeFramePointerRelFullScopeSym &Def) { in visitKnownRecord()
587 DefRangeFramePointerRelSym &Def) { in visitKnownRecord()
596 DefRangeRegisterRelSym &Def) { in visitKnownRecord()
624 DefRangeSubfieldRegisterSym &Def) { in visitKnownRecord()
636 DefRangeSubfieldSym &Def) { in visitKnownRecord()
644 Error MinimalSymbolDumper::visitKnownRecord(CVSymbol &CVR, DefRangeSym &Def) { in visitKnownRecord()

12345678