Home
last modified time | relevance | path

Searched refs:CallSiteLoc (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/mlir/lib/IR/
H A DLocation.cpp45 .Case([&](CallSiteLoc callLoc) -> WalkResult { in walk()
67 return attr.isa<CallSiteLoc, FileLineColLoc, FusedLoc, NameLoc, OpaqueLoc, in classof()
75 CallSiteLoc CallSiteLoc::get(Location name, ArrayRef<Location> frames) { in get()
79 caller = CallSiteLoc::get(frame, caller); in get()
80 return CallSiteLoc::get(name, caller); in get()
H A DDiagnostics.cpp401 static Optional<CallSiteLoc> getCallSiteLoc(Location loc) { in getCallSiteLoc()
404 if (auto callLoc = loc.dyn_cast<CallSiteLoc>()) in getCallSiteLoc()
545 .Case([&](CallSiteLoc callLoc) -> Optional<Location> { in findLocToShow()
H A DAsmPrinter.cpp1554 .Case<CallSiteLoc>([&](CallSiteLoc loc) { in printLocationInternal()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DReplayInlineAdvisor.cpp109 std::string CallSiteLoc = in getAdviceImpl() local
112 std::string Combined = (Callee + CallSiteLoc).str(); in getAdviceImpl()
119 << CallSiteLoc << "\n"); in getAdviceImpl()
125 << CallSiteLoc << "\n"); in getAdviceImpl()
H A DInlineAdvisor.cpp431 raw_string_ostream CallSiteLoc(Buffer); in formatCallSiteLocation() local
435 CallSiteLoc << " @ "; in formatCallSiteLocation()
445 CallSiteLoc << Name.str() << ":" << llvm::utostr(Offset); in formatCallSiteLocation()
447 CallSiteLoc << ":" << llvm::utostr(DIL->getColumn()); in formatCallSiteLocation()
449 CallSiteLoc << "." << llvm::utostr(Discriminator); in formatCallSiteLocation()
453 return CallSiteLoc.str(); in formatCallSiteLocation()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp52 if (ChildNode.CallSiteLoc != CallSite) in getHottestChildContext()
136 LineLocation ContextTrieNode::getCallSiteLoc() const { return CallSiteLoc; } in getCallSiteLoc()
147 CallSiteLoc = Loc; in setCallSiteLoc()
152 << " Callsite: " << CallSiteLoc << "\n" in dumpNode()
535 LineLocation CallSiteLoc(0, 0); in getOrCreateContextPath() local
541 ContextNode->getOrCreateChildContext(CallSiteLoc, Callsite.FuncName); in getOrCreateContextPath()
544 ContextNode->getChildContext(CallSiteLoc, Callsite.FuncName); in getOrCreateContextPath()
546 CallSiteLoc = Callsite.Location; in getOrCreateContextPath()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DSampleProf.cpp492 LineLocation CallSiteLoc(0, 0); in getOrCreateContextPath() local
494 Node = Node->getOrCreateChildFrame(CallSiteLoc, Callsite.FuncName); in getOrCreateContextPath()
495 CallSiteLoc = Callsite.Location; in getOrCreateContextPath()
516 auto &SamplesMap = NodeProfile->functionSamplesAt(ChildNode.CallSiteLoc); in convertProfiles()
522 ChildNode.CallSiteLoc.LineOffset, ChildNode.CallSiteLoc.Discriminator, in convertProfiles()
537 auto &SamplesMap = NodeProfile->functionSamplesAt(ChildNode.CallSiteLoc); in convertProfiles()
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/
H A Dmlir-support.cpp31 auto CallSiteLoc = mlir::CallSiteLoc::get(FileLineColLoc, OpaqueLoc); variable
H A Dmlir-support.gdb96 # CHECK-LABEL: +print CallSiteLoc
97 print CallSiteLoc
98 # CHECK: typeID = mlir::TypeID::get<mlir::CallSiteLoc>()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h41 CallSiteLoc(CallLoc){}; in ParentContext()
79 LineLocation CallSiteLoc; variable
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinLocationAttributes.td27 // CallSiteLoc
30 def CallSiteLoc : Builtin_LocationAttr<"CallSiteLoc"> {
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProf.h550 LineLocation CallSiteLoc(0, 0);
551 decodeContextString(ChildContext, CalleeName, CallSiteLoc);
552 Context.emplace_back(CalleeName, CallSiteLoc);
1252 : FuncName(FName), FuncSamples(FSamples), CallSiteLoc(CallLoc){};
1261 LineLocation CallSiteLoc;
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DLocationParser.cpp57 loc = CallSiteLoc::get(calleeLoc, callerLoc); in parseCallSiteLocation()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp95 LineLocation CallSiteLoc(0, 0); in getFuncSizeForContext() local
98 CurrNode = CurrNode->getChildContext(CallSiteLoc, Node->getFuncName()); in getFuncSizeForContext()
101 CallSiteLoc = Node->getCallSiteLoc(); in getFuncSizeForContext()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DDebugTranslation.cpp144 if (auto callLoc = loc.dyn_cast<CallSiteLoc>()) { in translateLoc()
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DInliningUtils.cpp36 auto newLoc = CallSiteLoc::get(op->getLoc(), callerLoc); in remapInlinedLocations()
/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DIR.cpp155 return wrap(Location(CallSiteLoc::get(unwrap(callee), unwrap(caller)))); in mlirLocationCallSiteGet()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp1941 SourceLocation CallSiteLoc);
5465 SourceLocation CallSiteLoc) { in CheckNonNullArgument() argument
5467 S.DiagRuntimeBehavior(CallSiteLoc, ArgExpr, in CheckNonNullArgument()
5536 SourceLocation CallSiteLoc) { in CheckNonNullArguments() argument
5551 CheckNonNullArgument(S, Arg, CallSiteLoc); in CheckNonNullArguments()
5625 CheckNonNullArgument(S, Args[ArgIndex], CallSiteLoc); in CheckNonNullArguments()
17277 SourceLocation CallSiteLoc) { in CheckArgumentWithTypeTag() argument
17284 Diag(CallSiteLoc, diag::err_tag_index_out_of_range) in CheckArgumentWithTypeTag()
17304 Diag(CallSiteLoc, diag::err_tag_index_out_of_range) in CheckArgumentWithTypeTag()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h13311 SourceLocation CallSiteLoc);