Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/IR/
DLocation.cpp22 return attr.isa<CallSiteLoc, FileLineColLoc, FusedLoc, NameLoc, OpaqueLoc, in classof()
30 Location CallSiteLoc::get(Location callee, Location caller) { in get()
34 Location CallSiteLoc::get(Location name, ArrayRef<Location> frames) { in get()
38 caller = CallSiteLoc::get(frame, caller); in get()
39 return CallSiteLoc::get(name, caller); in get()
42 Location CallSiteLoc::getCallee() const { return getImpl()->callee; } in getCallee()
44 Location CallSiteLoc::getCaller() const { return getImpl()->caller; } in getCaller()
DDiagnostics.cpp373 if (auto callLoc = loc.dyn_cast<CallSiteLoc>()) in getFileLineColLoc()
374 return getFileLineColLoc(loc.cast<CallSiteLoc>().getCallee()); in getFileLineColLoc()
387 static Optional<CallSiteLoc> getCallSiteLoc(Location loc) { in getCallSiteLoc()
390 if (auto callLoc = loc.dyn_cast<CallSiteLoc>()) in getCallSiteLoc()
DBuiltinDialect.cpp61 addAttributes<CallSiteLoc, FileLineColLoc, FusedLoc, NameLoc, OpaqueLoc, in initialize()
DAsmPrinter.cpp1242 .Case<CallSiteLoc>([&](CallSiteLoc loc) { in printLocationInternal()
/external/llvm-project/llvm/lib/Transforms/IPO/
DSampleContextTracker.cpp50 if (ChildNode.CallSiteLoc == CallSite) { in getChildContext()
66 LineLocation OldCallSite = NodeToMove.CallSiteLoc; in moveToChildContext()
70 NewNode.CallSiteLoc = CallSite; in moveToChildContext()
126 LineLocation ContextTrieNode::getCallSiteLoc() const { return CallSiteLoc; } in getCallSiteLoc()
138 << " Callsite: " << CallSiteLoc << "\n" in dump()
422 LineLocation CallSiteLoc(0, 0); in getOrCreateContextPath() local
435 ContextNode->getOrCreateChildContext(CallSiteLoc, CalleeName); in getOrCreateContextPath()
437 ContextNode = ContextNode->getChildContext(CallSiteLoc, CalleeName); in getOrCreateContextPath()
439 CallSiteLoc = NextCallSiteLoc; in getOrCreateContextPath()
/external/llvm-project/llvm/lib/Analysis/
DReplayInlineAdvisor.cpp57 std::string CallSiteLoc = getCallSiteLocation(CB.getDebugLoc()); in getAdvice() local
58 bool InlineRecommended = InlineSitesFromRemarks.count(CallSiteLoc) > 0; in getAdvice()
DInlineAdvisor.cpp378 std::ostringstream CallSiteLoc; in getCallSiteLocation() local
382 CallSiteLoc << " @ "; in getCallSiteLocation()
392 CallSiteLoc << Name.str() << ":" << llvm::utostr(Offset); in getCallSiteLocation()
394 CallSiteLoc << "." << llvm::utostr(Discriminator); in getCallSiteLocation()
399 return CallSiteLoc.str(); in getCallSiteLocation()
/external/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/
Dmlir-support.cpp30 auto CallSiteLoc = mlir::CallSiteLoc::get(FileLineColLoc, OpaqueLoc); variable
Dmlir-support.gdb74 # CHECK: cast<mlir::CallSiteLoc>
79 p CallSiteLoc
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DSampleContextTracker.h42 CallSiteLoc(CallLoc){}; in ParentContext()
80 LineLocation CallSiteLoc; variable
/external/tensorflow/tensorflow/compiler/mlir/utils/
Dname_utils.cc72 } else if (auto call_loc = curr_loc.dyn_cast<CallSiteLoc>()) { in GetNameFromLoc()
/external/llvm-project/mlir/include/mlir/IR/
DLocation.h101 class CallSiteLoc
102 : public Attribute::AttrBase<CallSiteLoc, LocationAttr,
/external/llvm-project/mlir/lib/Parser/
DLocationParser.cpp57 loc = CallSiteLoc::get(calleeLoc, callerLoc); in parseCallSiteLocation()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DDebugTranslation.cpp141 if (auto callLoc = loc.dyn_cast<CallSiteLoc>()) { in translateLoc()
/external/llvm-project/mlir/lib/Transforms/Utils/
DInliningUtils.cpp36 auto newLoc = CallSiteLoc::get(op->getLoc(), callerLoc); in remapInlinedLocations()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dexport_utils.cc76 if (auto call_site = inst_loc.dyn_cast<mlir::CallSiteLoc>()) { in ConvertLocation()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp1391 SourceLocation CallSiteLoc);
4284 SourceLocation CallSiteLoc) { in CheckNonNullArgument() argument
4286 S.DiagRuntimeBehavior(CallSiteLoc, ArgExpr, in CheckNonNullArgument()
4355 SourceLocation CallSiteLoc) { in CheckNonNullArguments() argument
4370 CheckNonNullArgument(S, Arg, CallSiteLoc); in CheckNonNullArguments()
4444 CheckNonNullArgument(S, Args[ArgIndex], CallSiteLoc); in CheckNonNullArguments()
15553 SourceLocation CallSiteLoc) { in CheckArgumentWithTypeTag() argument
15560 Diag(CallSiteLoc, diag::err_tag_index_out_of_range) in CheckArgumentWithTypeTag()
15580 Diag(CallSiteLoc, diag::err_tag_index_out_of_range) in CheckArgumentWithTypeTag()
/external/clang/lib/Sema/
DSemaChecking.cpp1924 SourceLocation CallSiteLoc) { in CheckNonNullArgument() argument
1926 S.DiagRuntimeBehavior(CallSiteLoc, ArgExpr, in CheckNonNullArgument()
1993 SourceLocation CallSiteLoc) { in CheckNonNullArguments() argument
2005 CheckNonNullArgument(S, Arg, CallSiteLoc); in CheckNonNullArguments()
2078 CheckNonNullArgument(S, Args[ArgIndex], CallSiteLoc); in CheckNonNullArguments()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc1675 : mlir::CallSiteLoc::get(node_name_loc, callsite_locs); in GetLocation()
/external/llvm-project/clang/include/clang/Sema/
DSema.h12434 SourceLocation CallSiteLoc);