Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenTarget.cpp676 ArrayRef<SMLoc> DefLoc = R->getLoc(); in CodeGenIntrinsic() local
694 PrintFatalError(DefLoc, in CodeGenIntrinsic()
716 PrintFatalError(DefLoc, "Intrinsic '" + DefName + in CodeGenIntrinsic()
725 PrintFatalError(DefLoc, "Intrinsic '" + DefName + in CodeGenIntrinsic()
775 PrintFatalError(DefLoc, "Intrinsic '" + DefName + in CodeGenIntrinsic()
794 PrintFatalError(DefLoc, in CodeGenIntrinsic()
810 PrintFatalError(DefLoc, "Intrinsic '" + DefName + in CodeGenIntrinsic()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DMacroInfo.cpp50 MacroInfo::MacroInfo(SourceLocation DefLoc) in MacroInfo() argument
51 : Location(DefLoc), IsDefinitionLengthCached(false), IsFunctionLike(false), in MacroInfo()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp473 SourceLocation DefLoc = MI->getDefinitionLoc(); in MacroDefined() local
476 if (SM.isWrittenInBuiltinFile(DefLoc) || in MacroDefined()
477 SM.isWrittenInCommandLineFile(DefLoc)) in MacroDefined()
480 MoveToLine(DefLoc, /*RequireStartOfLine=*/true); in MacroDefined()
H A DFrontendActions.cpp516 const PresumedLoc DefLoc = in getTemplightEntry() local
518 if (!DefLoc.isInvalid()) in getTemplightEntry()
519 Entry.DefinitionLocation = std::string(DefLoc.getFilename()) + ":" + in getTemplightEntry()
520 std::to_string(DefLoc.getLine()) + ":" + in getTemplightEntry()
521 std::to_string(DefLoc.getColumn()); in getTemplightEntry()
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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1110 bool isCompleteOverwrite(const MemoryLocation &DefLoc, Instruction *DefInst, in isCompleteOverwrite()
1124 return isOverwrite(UseInst, DefInst, *CC, DefLoc, InstWriteOffset, in isCompleteOverwrite()
1236 bool isReadClobber(const MemoryLocation &DefLoc, Instruction *UseInst) { in isReadClobber()
1252 return isRefSet(BatchAA.getModRefInfo(UseInst, DefLoc)); in isReadClobber()
1777 auto DefLoc = getLocForWrite(DefI); in eliminateDeadWritesAtEndOfFunction() local
1778 if (!DefLoc || !isRemovable(DefI)) in eliminateDeadWritesAtEndOfFunction()
1786 const Value *UO = getUnderlyingObject(DefLoc->Ptr); in eliminateDeadWritesAtEndOfFunction()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DAliasAnalysis.cpp204 const MemoryLocation DefLoc = MemoryLocation::get(I); in getModRefInfo() local
205 ModRefInfo MR = getModRefInfo(Call2, DefLoc, AAQI); in getModRefInfo()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DMacroInfo.h121 MacroInfo(SourceLocation DefLoc);
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DTGParser.cpp3139 SMLoc DefLoc = Lex.getLoc(); in ParseDef() local
3146 SMLoc NameLoc = Lex.getCode() == tgtok::Id ? Lex.getLoc() : DefLoc; in ParseDef()
3156 std::make_unique<Record>(Records.getNewAnonymousName(), DefLoc, Records, in ParseDef()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp1525 Loc DefLoc(DomB, It); in calculatePlacement() local
1526 Defs.emplace_back(DefLoc, Refs); in calculatePlacement()