Home
last modified time | relevance | path

Searched refs:DefLoc (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.cpp61 ArrayRef<SMLoc> DefLoc = R->getLoc(); in CodeGenIntrinsic() local
80 PrintFatalError(DefLoc, in CodeGenIntrinsic()
103 PrintFatalError(DefLoc, "Intrinsic '" + DefName + in CodeGenIntrinsic()
112 PrintFatalError(DefLoc, "Intrinsic '" + DefName + in CodeGenIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRCanonicalizerPass.cpp212 const unsigned DefLoc = getInstrIdx(*Def); in rescheduleCanonically() local
214 const unsigned Delta = (UseLoc - DefLoc); in rescheduleCanonically()
218 if (DefLoc >= UseLoc) in rescheduleCanonically()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DMacroInfo.cpp50 MacroInfo::MacroInfo(SourceLocation DefLoc) in MacroInfo() argument
51 : Location(DefLoc), IsDefinitionLengthCached(false), IsFunctionLike(false), in MacroInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1150 bool isCompleteOverwrite(const MemoryLocation &DefLoc, Instruction *DefInst, in isCompleteOverwrite()
1164 return isOverwrite(UseInst, DefInst, *CC, DefLoc, InstWriteOffset, in isCompleteOverwrite()
1170 bool isWriteAtEndOfFunction(MemoryDef *Def, const MemoryLocation &DefLoc) { in isWriteAtEndOfFunction()
1189 if (!isGuaranteedLoopInvariant(DefLoc.Ptr)) in isWriteAtEndOfFunction()
1198 if (isReadClobber(DefLoc, UseInst)) { in isWriteAtEndOfFunction()
1264 bool isReadClobber(const MemoryLocation &DefLoc, Instruction *UseInst) { in isReadClobber()
1280 return isRefSet(BatchAA.getModRefInfo(UseInst, DefLoc)); in isReadClobber()
1818 auto DefLoc = getLocForWrite(DefI); in eliminateDeadWritesAtEndOfFunction() local
1819 if (!DefLoc || !isRemovable(DefI)) { in eliminateDeadWritesAtEndOfFunction()
1830 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp560 const PresumedLoc DefLoc = in getTemplightEntry() local
562 if (!DefLoc.isInvalid()) in getTemplightEntry()
563 Entry.DefinitionLocation = std::string(DefLoc.getFilename()) + ":" + in getTemplightEntry()
564 std::to_string(DefLoc.getLine()) + ":" + in getTemplightEntry()
565 std::to_string(DefLoc.getColumn()); in getTemplightEntry()
H A DPrintPreprocessedOutput.cpp569 SourceLocation DefLoc = MI->getDefinitionLoc(); in MacroDefined() local
572 if (SM.isWrittenInBuiltinFile(DefLoc) || in MacroDefined()
573 SM.isWrittenInCommandLineFile(DefLoc)) in MacroDefined()
576 MoveToLine(DefLoc, /*RequireStartOfLine=*/true); in MacroDefined()
H A DVerifyDiagnosticConsumer.cpp330 SourceLocation DefLoc; member
373 return attachDirective(Diags, UD, M.DefLoc); in addDirective()
386 Diags.Report(M.DefLoc, diag::note_verify_ambiguous_marker) << Name; in finalize()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp206 const MemoryLocation DefLoc = MemoryLocation::get(I); in getModRefInfo() local
207 ModRefInfo MR = getModRefInfo(Call2, DefLoc, AAQI); in getModRefInfo()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h121 MacroInfo(SourceLocation DefLoc);
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp1528 Loc DefLoc(DomB, It); in calculatePlacement() local
1529 Defs.emplace_back(DefLoc, Refs); in calculatePlacement()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp3600 SMLoc DefLoc = Lex.getLoc(); in ParseDef() local
3607 SMLoc NameLoc = Lex.getCode() == tgtok::Id ? Lex.getLoc() : DefLoc; in ParseDef()
3616 CurRec = std::make_unique<Record>(Records.getNewAnonymousName(), DefLoc, in ParseDef()