Index: include/llvm/Analysis/AssumptionCache.h =================================================================== --- include/llvm/Analysis/AssumptionCache.h +++ include/llvm/Analysis/AssumptionCache.h @@ -32,20 +32,20 @@ class raw_ostream; class Value; -/// \brief A cache of @llvm.assume calls within a function. +/// \brief A cache of \@llvm.assume calls within a function. /// /// This cache provides fast lookup of assumptions within a function by caching /// them and amortizing the cost of scanning for them across all queries. Passes /// that create new assumptions are required to call registerAssumption() to -/// register any new @llvm.assume calls that they create. Deletions of -/// @llvm.assume calls do not require special handling. +/// register any new \@llvm.assume calls that they create. Deletions of +/// \@llvm.assume calls do not require special handling. class AssumptionCache { /// \brief The function for which this cache is handling assumptions. /// /// We track this to lazily populate our assumptions. Function &F; - /// \brief Vector of weak value handles to calls of the @llvm.assume + /// \brief Vector of weak value handles to calls of the \@llvm.assume /// intrinsic. SmallVector AssumeHandles; @@ -98,7 +98,7 @@ return false; } - /// \brief Add an @llvm.assume intrinsic to this function's cache. + /// \brief Add an \@llvm.assume intrinsic to this function's cache. /// /// The call passed in must be an instruction within this function and must /// not already be in the cache. @@ -108,7 +108,7 @@ /// the values about which this assumption provides information). void updateAffectedValues(CallInst *CI); - /// \brief Clear the cache of @llvm.assume intrinsics for a function. + /// \brief Clear the cache of \@llvm.assume intrinsics for a function. /// /// It will be re-scanned the next time it is requested. void clear() { Index: include/llvm/Analysis/MemoryBuiltins.h =================================================================== --- include/llvm/Analysis/MemoryBuiltins.h +++ include/llvm/Analysis/MemoryBuiltins.h @@ -177,7 +177,7 @@ bool getObjectSize(const Value *Ptr, uint64_t &Size, const DataLayout &DL, const TargetLibraryInfo *TLI, ObjectSizeOpts Opts = {}); -/// Try to turn a call to @llvm.objectsize into an integer value of the given +/// Try to turn a call to \@llvm.objectsize into an integer value of the given /// Type. Returns null on failure. /// If MustSucceed is true, this function will not return null, and may return /// conservative values governed by the second argument of the call to Index: include/llvm/Analysis/PHITransAddr.h =================================================================== --- include/llvm/Analysis/PHITransAddr.h +++ include/llvm/Analysis/PHITransAddr.h @@ -43,7 +43,7 @@ /// TLI - The target library info if known, otherwise null. const TargetLibraryInfo *TLI; - /// A cache of @llvm.assume calls used by SimplifyInstruction. + /// A cache of \@llvm.assume calls used by SimplifyInstruction. AssumptionCache *AC; /// InstInputs - The inputs for our symbolic address. Index: include/llvm/Analysis/ScalarEvolution.h =================================================================== --- include/llvm/Analysis/ScalarEvolution.h +++ include/llvm/Analysis/ScalarEvolution.h @@ -1091,7 +1091,7 @@ /// The target library information for the target we are targeting. TargetLibraryInfo &TLI; - /// The tracker for @llvm.assume intrinsics in this function. + /// The tracker for \@llvm.assume intrinsics in this function. AssumptionCache &AC; /// The dominator tree. Index: include/llvm/Analysis/TypeMetadataUtils.h =================================================================== --- include/llvm/Analysis/TypeMetadataUtils.h +++ include/llvm/Analysis/TypeMetadataUtils.h @@ -35,13 +35,13 @@ CallSite CS; }; -/// Given a call to the intrinsic @llvm.type.test, find all devirtualizable +/// Given a call to the intrinsic \@llvm.type.test, find all devirtualizable /// call sites based on the call and return them in DevirtCalls. void findDevirtualizableCallsForTypeTest( SmallVectorImpl &DevirtCalls, SmallVectorImpl &Assumes, const CallInst *CI); -/// Given a call to the intrinsic @llvm.type.checked.load, find all +/// Given a call to the intrinsic \@llvm.type.checked.load, find all /// devirtualizable call sites based on the call and return them in DevirtCalls. void findDevirtualizableCallsForTypeCheckedLoad( SmallVectorImpl &DevirtCalls, Index: include/llvm/CodeGen/GCStrategy.h =================================================================== --- include/llvm/CodeGen/GCStrategy.h +++ include/llvm/CodeGen/GCStrategy.h @@ -105,12 +105,12 @@ /// By default, write barriers are replaced with simple store /// instructions. If true, you must provide a custom pass to lower - /// calls to @llvm.gcwrite. + /// calls to \@llvm.gcwrite. bool customWriteBarrier() const { return CustomWriteBarriers; } /// By default, read barriers are replaced with simple load /// instructions. If true, you must provide a custom pass to lower - /// calls to @llvm.gcread. + /// calls to \@llvm.gcread. bool customReadBarrier() const { return CustomReadBarriers; } /// Returns true if this strategy is expecting the use of gc.statepoints, @@ -147,7 +147,7 @@ /// By default, roots are left for the code generator so it can generate a /// stack map. If true, you must provide a custom pass to lower - /// calls to @llvm.gcroot. + /// calls to \@llvm.gcroot. bool customRoots() const { return CustomRoots; } /// If set, gcroot intrinsics should initialize their allocas to null Index: include/llvm/CodeGen/Passes.h =================================================================== --- include/llvm/CodeGen/Passes.h +++ include/llvm/CodeGen/Passes.h @@ -380,7 +380,7 @@ /// ModulePass *createLowerEmuTLSPass(); - /// This pass lowers the @llvm.load.relative intrinsic to instructions. + /// This pass lowers the \@llvm.load.relative intrinsic to instructions. /// This is unsafe to do earlier because a pass may combine the constant /// initializer into the load, which may result in an overflowing evaluation. ModulePass *createPreISelIntrinsicLoweringPass(); Index: include/llvm/CodeGen/TargetLowering.h =================================================================== --- include/llvm/CodeGen/TargetLowering.h +++ include/llvm/CodeGen/TargetLowering.h @@ -1369,7 +1369,7 @@ /// If the target has a standard location for the stack protector guard, /// returns the address of that location. Otherwise, returns nullptr. /// DEPRECATED: please override useLoadStackGuardNode and customize - /// LOAD_STACK_GUARD, or customize @llvm.stackguard(). + /// LOAD_STACK_GUARD, or customize \@llvm.stackguard(). virtual Value *getIRStackGuard(IRBuilder<> &IRB) const; /// Inserts necessary declarations for SSP (stack protection) purpose. Index: include/llvm/IR/BasicBlock.h =================================================================== --- include/llvm/IR/BasicBlock.h +++ include/llvm/IR/BasicBlock.h @@ -126,7 +126,7 @@ static_cast(this)->getTerminator()); } - /// Returns the call instruction calling @llvm.experimental.deoptimize + /// Returns the call instruction calling \@llvm.experimental.deoptimize /// prior to the terminating return instruction of this basic block, if such /// a call is present. Otherwise, returns null. const CallInst *getTerminatingDeoptimizeCall() const; Index: include/llvm/MC/MCContext.h =================================================================== --- include/llvm/MC/MCContext.h +++ include/llvm/MC/MCContext.h @@ -338,7 +338,7 @@ /// Gets a symbol that will be defined to the final stack offset of a local /// variable after codegen. /// - /// \param Idx - The index of a local variable passed to @llvm.localescape. + /// \param Idx - The index of a local variable passed to \@llvm.localescape. MCSymbol *getOrCreateFrameAllocSymbol(StringRef FuncName, unsigned Idx); MCSymbol *getOrCreateParentFrameOffsetSymbol(StringRef FuncName); Index: include/llvm/Transforms/Utils/PredicateInfo.h =================================================================== --- include/llvm/Transforms/Utils/PredicateInfo.h +++ include/llvm/Transforms/Utils/PredicateInfo.h @@ -31,7 +31,7 @@ /// %cmp = icmp eq i32, %x, 50 /// br i1 %cmp, label %true, label %false /// true: -/// %x.0 = call @llvm.ssa_copy.i32(i32 %x) +/// %x.0 = call \@llvm.ssa_copy.i32(i32 %x) /// ret i32 %x.0 /// false: /// ret i32 1