| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Location.cpp | 45 .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 D | Diagnostics.cpp | 401 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 D | AsmPrinter.cpp | 1554 .Case<CallSiteLoc>([&](CallSiteLoc loc) { in printLocationInternal()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ReplayInlineAdvisor.cpp | 109 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 D | InlineAdvisor.cpp | 431 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 D | SampleContextTracker.cpp | 52 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 D | SampleProf.cpp | 492 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 D | mlir-support.cpp | 31 auto CallSiteLoc = mlir::CallSiteLoc::get(FileLineColLoc, OpaqueLoc); variable
|
| H A D | mlir-support.gdb | 96 # 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 D | SampleContextTracker.h | 41 CallSiteLoc(CallLoc){}; in ParentContext() 79 LineLocation CallSiteLoc; variable
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | BuiltinLocationAttributes.td | 27 // CallSiteLoc 30 def CallSiteLoc : Builtin_LocationAttr<"CallSiteLoc"> {
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 550 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 D | LocationParser.cpp | 57 loc = CallSiteLoc::get(calleeLoc, callerLoc); in parseCallSiteLocation()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| H A D | ProfiledBinary.cpp | 95 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 D | DebugTranslation.cpp | 144 if (auto callLoc = loc.dyn_cast<CallSiteLoc>()) { in translateLoc()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | InliningUtils.cpp | 36 auto newLoc = CallSiteLoc::get(op->getLoc(), callerLoc); in remapInlinedLocations()
|
| /llvm-project-15.0.7/mlir/lib/CAPI/IR/ |
| H A D | IR.cpp | 155 return wrap(Location(CallSiteLoc::get(unwrap(callee), unwrap(caller)))); in mlirLocationCallSiteGet()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 1941 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 D | Sema.h | 13311 SourceLocation CallSiteLoc);
|