LLVM: lib/Analysis/KernelInfo.cpp File Reference (original) (raw)
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "kernel-info" |
| #define | REMARK_PROPERTY(PROP_NAME) |
| Functions | |
|---|---|
| static void | identifyCallee (OptimizationRemark &R, const Module *M, const Value *V, StringRef Kind="") |
| static void | identifyFunction (OptimizationRemark &R, const Function &F) |
| static void | remarkAlloca (OptimizationRemarkEmitter &ORE, const Function &Caller, const AllocaInst &Alloca, TypeSize::ScalarTy StaticSize) |
| static void | remarkCall (OptimizationRemarkEmitter &ORE, const Function &Caller, const CallBase &Call, StringRef CallKind, StringRef RemarkKind) |
| static void | remarkFlatAddrspaceAccess (OptimizationRemarkEmitter &ORE, const Function &Caller, const Instruction &Inst) |
| static void | remarkProperty (OptimizationRemarkEmitter &ORE, const Function &F, StringRef Name, int64_t Value) |
| static std::optional< int64_t > | parseFnAttrAsInteger (Function &F, StringRef Name) |
◆ DEBUG_TYPE
#define DEBUG_TYPE "kernel-info"
◆ REMARK_PROPERTY
| #define REMARK_PROPERTY | ( | PROP_NAME | ) |
|---|
Value:
remarkProperty(ORE, F, #PROP_NAME, KI.PROP_NAME)
static void remarkProperty(OptimizationRemarkEmitter &ORE, const Function &F, StringRef Name, int64_t Value)
◆ identifyCallee()
◆ identifyFunction()
◆ parseFnAttrAsInteger()
◆ remarkAlloca()
Definition at line 103 of file KernelInfo.cpp.
References DEBUG_TYPE, llvm::OptimizationRemarkEmitter::emit(), llvm::StringRef::empty(), llvm::findDVRDeclares(), llvm::DbgRecord::getDebugLoc(), llvm::DIVariable::getName(), llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >::getParent(), llvm::DbgVariableRecord::getVariable(), identifyFunction(), llvm::itostr(), llvm::Value::printAsOperand(), and llvm::DbgVariableRecord::Variable.