reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

include/llvm/LTO/Config.h
  223 struct LTOLLVMContext : LLVMContext {

Declarations

include/llvm/Analysis/MemoryBuiltins.h
   46 class LLVMContext;
include/llvm/Analysis/MemorySSA.h
  114 class LLVMContext;
include/llvm/Analysis/MemorySSAUpdater.h
   61 class LLVMContext;
include/llvm/Analysis/ScalarEvolution.h
   63 class LLVMContext;
include/llvm/AsmParser/Parser.h
   21 class LLVMContext;
include/llvm/Bitcode/BitcodeReader.h
   31 class LLVMContext;
include/llvm/CodeGen/BasicTTIImpl.h
   60 class LLVMContext;
include/llvm/CodeGen/SelectionDAG.h
   69 class LLVMContext;
include/llvm/CodeGen/TargetLowering.h
   79 class LLVMContext;
include/llvm/CodeGen/ValueTypes.h
   27   class LLVMContext;
include/llvm/IR/Attributes.h
   42 class LLVMContext;
include/llvm/IR/BasicBlock.h
   37 class LLVMContext;
include/llvm/IR/DIBuilder.h
   37   class LLVMContext;
include/llvm/IR/DataLayout.h
   44 class LLVMContext;
include/llvm/IR/DebugLoc.h
   22   class LLVMContext;
include/llvm/IR/DerivedTypes.h
   34 class LLVMContext;
include/llvm/IR/DiagnosticInfo.h
   37 class LLVMContext;
include/llvm/IR/Function.h
   52 class LLVMContext;
include/llvm/IR/Instructions.h
   52 class LLVMContext;
include/llvm/IR/Intrinsics.h
   28 class LLVMContext;
include/llvm/IR/MDBuilder.h
   28 class LLVMContext;
include/llvm/IR/Module.h
   47 class LLVMContext;
include/llvm/IR/ProfileSummary.h
   22 class LLVMContext;
include/llvm/IR/Type.h
   33 class LLVMContext;
include/llvm/IR/Value.h
   45 class LLVMContext;
include/llvm/IRReader/IRReader.h
   27 class LLVMContext;
include/llvm/LTO/LTO.h
   37 class LLVMContext;
include/llvm/LTO/legacy/LTOCodeGenerator.h
   55   class LLVMContext;
include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
   32 class LLVMContext;
include/llvm/Object/Binary.h
   27 class LLVMContext;
include/llvm/Support/CodeGenCoverage.h
   17 class LLVMContext;
include/llvm/Transforms/Scalar/SROA.h
   30 class LLVMContext;
include/llvm/Transforms/Utils/PredicateInfo.h
   92 class LLVMContext;
lib/AsmParser/LLLexer.h
   26   class LLVMContext;
lib/Bitcode/Reader/ValueList.h
   24 class LLVMContext;
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
   73 class LLVMContext;
lib/IR/AttributeImpl.h
   31 class LLVMContext;
lib/Target/AArch64/AArch64LegalizerInfo.h
   22 class LLVMContext;
lib/Target/AMDGPU/AMDGPULegalizerInfo.h
   24 class LLVMContext;
lib/Target/ARM/ARMConstantPoolValue.h
   30 class LLVMContext;
lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h
   37 class LLVMContext;
tools/bugpoint/BugDriver.h
   36 class LLVMContext;
tools/clang/include/clang/CodeGen/CodeGenAction.h
   16   class LLVMContext;
tools/clang/include/clang/CodeGen/ModuleBuilder.h
   20   class LLVMContext;
tools/clang/lib/CodeGen/ABIInfo.h
   19   class LLVMContext;
tools/clang/lib/CodeGen/CGBlocks.h
   36 class LLVMContext;
tools/clang/lib/CodeGen/CodeGenFunction.h
   45 class LLVMContext;
tools/clang/lib/CodeGen/CodeGenModule.h
   47 class LLVMContext;
tools/clang/lib/CodeGen/CodeGenTypes.h
   26 class LLVMContext;
tools/lldb/include/lldb/Core/ClangForward.h
  129 class LLVMContext;
tools/llvm-diff/DifferenceEngine.h
   26   class LLVMContext;
tools/opt/NewPMDriver.h
   25 class LLVMContext;
unittests/IR/CFGBuilder.h
   30 class LLVMContext;

References

examples/BrainF/BrainF.cpp
   53                       LLVMContext& Context) {
   64 void BrainF::header(LLVMContext& C) {
  191                       LLVMContext &C) {
examples/BrainF/BrainF.h
   43                   LLVMContext& C);
   69     void header(LLVMContext& C);
   74                   BasicBlock *testbb, LLVMContext &Context);
examples/BrainF/BrainFDriver.cpp
  109   LLVMContext Context;
examples/Fibonacci/fibonacci.cpp
   51 static Function *CreateFibFunction(Module *M, LLVMContext &Context) {
  107   LLVMContext Context;
examples/HowToUseJIT/HowToUseJIT.cpp
   63   LLVMContext Context;
examples/HowToUseLLJIT/HowToUseLLJIT.cpp
   23   auto Context = std::make_unique<LLVMContext>();
examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h
   48         Ctx(std::make_unique<LLVMContext>()) {
   69   LLVMContext &getContext() { return *Ctx.getContext(); }
examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
  700 static LLVMContext *TheContext;
examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
   55         Ctx(std::make_unique<LLVMContext>()) {
   63   LLVMContext &getContext() { return *Ctx.getContext(); }
examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
  700 static LLVMContext *TheContext;
examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp
  699 static LLVMContext TheContext;
examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp
  684 static LLVMContext TheContext;
examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp
  708 static LLVMContext TheContext;
examples/Kaleidoscope/Chapter3/toy.cpp
  402 static LLVMContext TheContext;
examples/Kaleidoscope/Chapter4/toy.cpp
  412 static LLVMContext TheContext;
examples/Kaleidoscope/Chapter5/toy.cpp
  539 static LLVMContext TheContext;
examples/Kaleidoscope/Chapter6/toy.cpp
  631 static LLVMContext TheContext;
examples/Kaleidoscope/Chapter7/toy.cpp
  704 static LLVMContext TheContext;
examples/Kaleidoscope/Chapter8/toy.cpp
  705 static LLVMContext TheContext;
examples/Kaleidoscope/Chapter9/toy.cpp
   90 static LLVMContext TheContext;
examples/LLJITExamples/ExampleModules.h
   38   auto Ctx = std::make_unique<LLVMContext>();
examples/ModuleMaker/ModuleMaker.cpp
   31   LLVMContext Context;
examples/ParallelJIT/ParallelJIT.cpp
   50   LLVMContext &Context = M->getContext();
   81   LLVMContext &Context = M->getContext();
  259   LLVMContext Context;
examples/SpeculativeJIT/SpeculativeJIT.cpp
  168     auto Ctx = std::make_unique<LLVMContext>();
gen/include/llvm/IR/IntrinsicImpl.inc
 9583 AttributeList Intrinsic::getAttributes(LLVMContext &C, ID id) {
include/llvm/Analysis/CFGPrinter.h
  156     MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
include/llvm/Analysis/LoopInfo.h
 1272 makePostTransformationMetadata(llvm::LLVMContext &Context, MDNode *OrigLoopID,
include/llvm/Analysis/MemoryBuiltins.h
  242                           LLVMContext &Context, ObjectSizeOpts Options = {});
  293   LLVMContext &Context;
  310                             LLVMContext &Context, ObjectSizeOpts EvalOpts = {});
include/llvm/Analysis/MemorySSA.h
  218   MemoryAccess(LLVMContext &C, unsigned Vty, DeleteValueTy DeleteValue,
  284   MemoryUseOrDef(LLVMContext &C, MemoryAccess *DMA, unsigned Vty,
  323   MemoryUse(LLVMContext &C, MemoryAccess *DMA, Instruction *MI, BasicBlock *BB)
  381   MemoryDef(LLVMContext &C, MemoryAccess *DMA, Instruction *MI, BasicBlock *BB,
  489   MemoryPhi(LLVMContext &C, BasicBlock *BB, unsigned Ver, unsigned NumPreds = 0)
include/llvm/Analysis/ScalarEvolution.h
  479   LLVMContext &getContext() const { return F.getContext(); }
include/llvm/Analysis/ScalarEvolutionExpander.h
  322     LLVMContext &getContext() const { return SE.getContext(); }
include/llvm/Analysis/TargetTransformInfo.h
  717   bool allowsMisalignedMemoryAccesses(LLVMContext &Context,
 1041   Type *getMemcpyLoopLoweringType(LLVMContext &Context, Value *Length,
 1051                                          LLVMContext &Context,
 1246   virtual bool allowsMisalignedMemoryAccesses(LLVMContext &Context,
 1344   virtual Type *getMemcpyLoopLoweringType(LLVMContext &Context, Value *Length,
 1348       SmallVectorImpl<Type *> &OpsOut, LLVMContext &Context,
 1589   bool allowsMisalignedMemoryAccesses(LLVMContext &Context,
 1779   Type *getMemcpyLoopLoweringType(LLVMContext &Context, Value *Length,
 1785                                          LLVMContext &Context,
include/llvm/Analysis/TargetTransformInfoImpl.h
  324   bool allowsMisalignedMemoryAccesses(LLVMContext &Context,
  520   Type *getMemcpyLoopLoweringType(LLVMContext &Context, Value *Length,
  526                                          LLVMContext &Context,
include/llvm/AsmParser/Parser.h
   44 parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
   65                                             LLVMContext &Context,
   95                            LLVMContext &Context, SlotMapping *Slots = nullptr,
  121                                       LLVMContext &Context,
  140                                             LLVMContext &Context,
include/llvm/Bitcode/BitcodeReader.h
   38   std::error_code errorToErrorCodeAndEmitErrors(LLVMContext &Ctx, Error Err);
   41   ErrorOr<T> expectedToErrorOrAndEmitErrors(LLVMContext &Ctx, Expected<T> Val) {
   80     Expected<std::unique_ptr<Module>> getModuleImpl(LLVMContext &Context,
   98     Expected<std::unique_ptr<Module>> getLazyModule(LLVMContext &Context,
  103     Expected<std::unique_ptr<Module>> parseModule(LLVMContext &Context);
  139   getLazyBitcodeModule(MemoryBufferRef Buffer, LLVMContext &Context,
  148       std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context,
  167                                                      LLVMContext &Context);
include/llvm/CodeGen/AsmPrinter.h
  168     LLVMContext::InlineAsmDiagHandlerTy DiagHandler;
include/llvm/CodeGen/BasicTTIImpl.h
  200   bool allowsMisalignedMemoryAccesses(LLVMContext &Context, unsigned BitWidth,
include/llvm/CodeGen/CallingConvLower.h
  199   LLVMContext &Context;
  259           SmallVectorImpl<CCValAssign> &locs, LLVMContext &C);
  265   LLVMContext &getContext() const { return Context; }
  535                                 LLVMContext &C,
include/llvm/CodeGen/CommandFlags.inc
  374     auto &Ctx = F.getContext();
include/llvm/CodeGen/MIRParser/MIRParser.h
   65                                                    LLVMContext &Context);
   76 createMIRParser(std::unique_ptr<MemoryBuffer> Contents, LLVMContext &Context);
include/llvm/CodeGen/MachineMemOperand.h
   89   bool isDereferenceable(unsigned Size, LLVMContext &C,
  297              SmallVectorImpl<StringRef> &SSNs, const LLVMContext &Context,
include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
   76     LLVMContext &Ctx = Fn.getContext();
  102     LLVMContext &Ctx = Fn.getContext();
  128     LLVMContext &Ctx = Fn.getContext();
include/llvm/CodeGen/SelectionDAG.h
  228   LLVMContext *Context;
  424   LLVMContext *getContext() const {return Context; }
include/llvm/CodeGen/TargetLowering.h
  651   virtual EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
  774   LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT VT) const {
  787   EVT getTypeToTransformTo(LLVMContext &Context, EVT VT) const {
  795   EVT getTypeToExpandTo(LLVMContext &Context, EVT VT) const {
  818   unsigned getVectorTypeBreakdown(LLVMContext &Context, EVT VT,
  827       LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
 1294   MVT getRegisterType(LLVMContext &Context, EVT VT) const {
 1322   unsigned getNumRegisters(LLVMContext &Context, EVT VT) const {
 1345   virtual MVT getRegisterTypeForCallingConv(LLVMContext &Context,
 1353   virtual unsigned getNumRegistersForCallingConv(LLVMContext &Context,
 1484       LLVMContext &Context, const DataLayout &DL, EVT VT,
 1493   bool allowsMemoryAccessForAlignment(LLVMContext &Context,
 1503   allowsMemoryAccess(LLVMContext &Context, const DataLayout &DL, EVT VT,
 1512   bool allowsMemoryAccess(LLVMContext &Context, const DataLayout &DL, EVT VT,
 1892   virtual bool shouldNormalizeToSelectSequence(LLVMContext &Context,
 1919   virtual bool decomposeMulByConstant(LLVMContext &Context,
 2804   LegalizeKind getTypeConversion(LLVMContext &Context, EVT VT) const;
 3656                LLVMContext &/*Context*/) const
 3710   virtual EVT getTypeForExtReturn(LLVMContext &Context, EVT VT,
include/llvm/CodeGen/ValueTypes.h
   63     static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) {
   72     static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements,
   84     static EVT getVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) {
  316     EVT getRoundIntegerType(LLVMContext &Context) const {
  327     EVT getHalfSizedIntegerVT(LLVMContext &Context) const {
  341     EVT widenIntegerVectorElementType(LLVMContext &Context) const {
  350     EVT getHalfNumVectorElementsVT(LLVMContext &Context) const {
  365     EVT getPow2VectorType(LLVMContext &Context) const {
  383     Type *getTypeForEVT(LLVMContext &Context) const;
  414     static EVT getExtendedIntegerVT(LLVMContext &C, unsigned BitWidth);
  415     static EVT getExtendedVectorVT(LLVMContext &C, EVT VT,
include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
   32     State(std::unique_ptr<LLVMContext> Ctx) : Ctx(std::move(Ctx)) {}
   34     std::unique_ptr<LLVMContext> Ctx;
   53   ThreadSafeContext(std::unique_ptr<LLVMContext> NewCtx)
   61   LLVMContext *getContext() { return S ? S->Ctx.get() : nullptr; }
   65   const LLVMContext *getContext() const { return S ? S->Ctx.get() : nullptr; }
  104   ThreadSafeModule(std::unique_ptr<Module> M, std::unique_ptr<LLVMContext> Ctx)
include/llvm/FuzzMutate/FuzzerCLI.h
   59                                     LLVMContext &Context);
   74                                        LLVMContext &Context);
include/llvm/FuzzMutate/IRMutator.h
   57 using TypeGetter = std::function<Type *(LLVMContext &)>;
include/llvm/FuzzMutate/RandomIRBuilder.h
   55   Type *chooseType(LLVMContext &Context, ArrayRef<Value *> Srcs,
include/llvm/IR/Attributes.h
   91   static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
   92   static Attribute get(LLVMContext &Context, StringRef Kind,
   94   static Attribute get(LLVMContext &Context, AttrKind Kind, Type *Ty);
   98   static Attribute getWithAlignment(LLVMContext &Context, Align Alignment);
   99   static Attribute getWithStackAlignment(LLVMContext &Context, Align Alignment);
  100   static Attribute getWithDereferenceableBytes(LLVMContext &Context,
  102   static Attribute getWithDereferenceableOrNullBytes(LLVMContext &Context,
  104   static Attribute getWithAllocSizeArgs(LLVMContext &Context,
  107   static Attribute getWithByValType(LLVMContext &Context, Type *Ty);
  234   static AttributeSet get(LLVMContext &C, const AttrBuilder &B);
  235   static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs);
  242   LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C,
  247   LLVM_NODISCARD AttributeSet addAttribute(LLVMContext &C, StringRef Kind,
  252   LLVM_NODISCARD AttributeSet addAttributes(LLVMContext &C,
  257   LLVM_NODISCARD AttributeSet removeAttribute(LLVMContext &C,
  262   LLVM_NODISCARD AttributeSet removeAttribute(LLVMContext &C,
  268   removeAttributes(LLVMContext &C, const AttrBuilder &AttrsToRemove) const;
  358   static AttributeList get(LLVMContext &C,
  360   static AttributeList get(LLVMContext &C,
  365   static AttributeList get(LLVMContext &C, AttributeSet FnAttrs,
  372   static AttributeList getImpl(LLVMContext &C, ArrayRef<AttributeSet> AttrSets);
  382   static AttributeList get(LLVMContext &C, ArrayRef<AttributeList> Attrs);
  383   static AttributeList get(LLVMContext &C, unsigned Index,
  385   static AttributeList get(LLVMContext &C, unsigned Index,
  387   static AttributeList get(LLVMContext &C, unsigned Index,
  392   LLVM_NODISCARD AttributeList addAttribute(LLVMContext &C, unsigned Index,
  398   addAttribute(LLVMContext &C, unsigned Index, StringRef Kind,
  403   LLVM_NODISCARD AttributeList addAttribute(LLVMContext &C, unsigned Index,
  408   LLVM_NODISCARD AttributeList addAttributes(LLVMContext &C, unsigned Index,
  414       LLVMContext &C, unsigned ArgNo, Attribute::AttrKind Kind) const {
  421   addParamAttribute(LLVMContext &C, unsigned ArgNo, StringRef Kind,
  428   LLVM_NODISCARD AttributeList addParamAttribute(LLVMContext &C,
  434   LLVM_NODISCARD AttributeList addParamAttributes(LLVMContext &C,
  442   LLVM_NODISCARD AttributeList removeAttribute(LLVMContext &C, unsigned Index,
  447   LLVM_NODISCARD AttributeList removeAttribute(LLVMContext &C, unsigned Index,
  453       LLVMContext &C, unsigned Index, const AttrBuilder &AttrsToRemove) const;
  457   LLVM_NODISCARD AttributeList removeAttributes(LLVMContext &C,
  463       LLVMContext &C, unsigned ArgNo, Attribute::AttrKind Kind) const {
  469   LLVM_NODISCARD AttributeList removeParamAttribute(LLVMContext &C,
  478       LLVMContext &C, unsigned ArgNo, const AttrBuilder &AttrsToRemove) const {
  484   LLVM_NODISCARD AttributeList removeParamAttributes(LLVMContext &C,
  491   LLVM_NODISCARD AttributeList addDereferenceableAttr(LLVMContext &C,
  498       LLVMContext &C, unsigned ArgNo, uint64_t Bytes) const {
  505       LLVMContext &C, unsigned Index, uint64_t Bytes) const;
  511       LLVMContext &C, unsigned ArgNo, uint64_t Bytes) const {
  518   addAllocSizeAttr(LLVMContext &C, unsigned Index, unsigned ElemSizeArg,
  524   addAllocSizeParamAttr(LLVMContext &C, unsigned ArgNo, unsigned ElemSizeArg,
  534   LLVMContext &getContext() const;
include/llvm/IR/BasicBlock.h
   76   explicit BasicBlock(LLVMContext &C, const Twine &Name = "",
   86   LLVMContext &getContext() const;
   99   static BasicBlock *Create(LLVMContext &Context, const Twine &Name = "",
include/llvm/IR/Constants.h
   95   static ConstantInt *getTrue(LLVMContext &Context);
   96   static ConstantInt *getFalse(LLVMContext &Context);
  123   static ConstantInt *get(LLVMContext &Context, const APInt &V);
  291   static ConstantFP *get(LLVMContext &Context, const APFloat &V);
  471   static Constant *getAnon(LLVMContext &Ctx,
  481   static StructType *getTypeForElements(LLVMContext &Ctx,
  702   static Constant *get(LLVMContext &Context, ArrayRef<ElementTy> Elts) {
  711   static Constant *get(LLVMContext &Context, ArrayTy &Elts) {
  731   static Constant *getFP(LLVMContext &Context, ArrayRef<uint16_t> Elts);
  732   static Constant *getFP(LLVMContext &Context, ArrayRef<uint32_t> Elts);
  733   static Constant *getFP(LLVMContext &Context, ArrayRef<uint64_t> Elts);
  740   static Constant *getString(LLVMContext &Context, StringRef Initializer,
  773   static Constant *get(LLVMContext &Context, ArrayRef<uint8_t> Elts);
  774   static Constant *get(LLVMContext &Context, ArrayRef<uint16_t> Elts);
  775   static Constant *get(LLVMContext &Context, ArrayRef<uint32_t> Elts);
  776   static Constant *get(LLVMContext &Context, ArrayRef<uint64_t> Elts);
  777   static Constant *get(LLVMContext &Context, ArrayRef<float> Elts);
  778   static Constant *get(LLVMContext &Context, ArrayRef<double> Elts);
  785   static Constant *getFP(LLVMContext &Context, ArrayRef<uint16_t> Elts);
  786   static Constant *getFP(LLVMContext &Context, ArrayRef<uint32_t> Elts);
  787   static Constant *getFP(LLVMContext &Context, ArrayRef<uint64_t> Elts);
  820   explicit ConstantTokenNone(LLVMContext &Context)
  829   static ConstantTokenNone *get(LLVMContext &Context);
include/llvm/IR/DIBuilder.h
   43     LLVMContext &VMContext;
include/llvm/IR/DataLayout.h
  525   IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
  533   Type *getSmallestLegalIntType(LLVMContext &C, unsigned Width = 0) const;
  536   Type *getLargestLegalIntType(LLVMContext &C) const {
include/llvm/IR/DebugInfoMetadata.h
  123   DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
  141   static MDString *getCanonicalMDString(LLVMContext &Context, StringRef S) {
  218   GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash,
  229   static GenericDINode *getImpl(LLVMContext &Context, unsigned Tag,
  236   static GenericDINode *getImpl(LLVMContext &Context, unsigned Tag,
  292   DISubrange(LLVMContext &C, StorageType Storage, Metadata *Node,
  299   static DISubrange *getImpl(LLVMContext &Context, int64_t Count,
  303   static DISubrange *getImpl(LLVMContext &Context, Metadata *CountNode,
  352   DIEnumerator(LLVMContext &C, StorageType Storage, int64_t Value,
  360   static DIEnumerator *getImpl(LLVMContext &Context, int64_t Value,
  366   static DIEnumerator *getImpl(LLVMContext &Context, int64_t Value,
  401   DIScope(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
  492   DIFile(LLVMContext &C, StorageType Storage,
  499   static DIFile *getImpl(LLVMContext &Context, StringRef Filename,
  512   static DIFile *getImpl(LLVMContext &Context, MDString *Filename,
  591   DIType(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
  695   DIBasicType(LLVMContext &C, StorageType Storage, unsigned Tag,
  703   static DIBasicType *getImpl(LLVMContext &Context, unsigned Tag,
  712   static DIBasicType *getImpl(LLVMContext &Context, unsigned Tag,
  764   DIDerivedType(LLVMContext &C, StorageType Storage, unsigned Tag,
  774   getImpl(LLVMContext &Context, unsigned Tag, StringRef Name, DIFile *File,
  783   static DIDerivedType *getImpl(LLVMContext &Context, unsigned Tag,
  896   DICompositeType(LLVMContext &C, StorageType Storage, unsigned Tag,
  916   getImpl(LLVMContext &Context, unsigned Tag, StringRef Name, Metadata *File,
  930   getImpl(LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File,
  982   getODRType(LLVMContext &Context, MDString &Identifier, unsigned Tag,
  988   static DICompositeType *getODRTypeIfExists(LLVMContext &Context,
 1001   buildODRType(LLVMContext &Context, MDString &Identifier, unsigned Tag,
 1069   DISubroutineType(LLVMContext &C, StorageType Storage, DIFlags Flags,
 1076   static DISubroutineType *getImpl(LLVMContext &Context, DIFlags Flags,
 1082   static DISubroutineType *getImpl(LLVMContext &Context, DIFlags Flags,
 1151   DICompileUnit(LLVMContext &C, StorageType Storage, unsigned SourceLanguage,
 1167   getImpl(LLVMContext &Context, unsigned SourceLanguage, DIFile *File,
 1187   getImpl(LLVMContext &Context, unsigned SourceLanguage, Metadata *File,
 1327   DILocalScope(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
 1359   DILocation(LLVMContext &C, StorageType Storage, unsigned Line,
 1363   static DILocation *getImpl(LLVMContext &Context, unsigned Line,
 1367   static DILocation *getImpl(LLVMContext &Context, unsigned Line,
 1649   DISubprogram(LLVMContext &C, StorageType Storage, unsigned Line,
 1661   getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name,
 1676   static DISubprogram *getImpl(LLVMContext &Context, Metadata *Scope,
 1842   DILexicalBlockBase(LLVMContext &C, unsigned ID, StorageType Storage,
 1865   DILexicalBlock(LLVMContext &C, StorageType Storage, unsigned Line,
 1873   static DILexicalBlock *getImpl(LLVMContext &Context, DILocalScope *Scope,
 1882   static DILexicalBlock *getImpl(LLVMContext &Context, Metadata *Scope,
 1915   DILexicalBlockFile(LLVMContext &C, StorageType Storage,
 1921   static DILexicalBlockFile *getImpl(LLVMContext &Context, DILocalScope *Scope,
 1930   static DILexicalBlockFile *getImpl(LLVMContext &Context, Metadata *Scope,
 2024   DINamespace(LLVMContext &Context, StorageType Storage, bool ExportSymbols,
 2031   static DINamespace *getImpl(LLVMContext &Context, DIScope *Scope,
 2037   static DINamespace *getImpl(LLVMContext &Context, Metadata *Scope,
 2074   DIModule(LLVMContext &Context, StorageType Storage, ArrayRef<Metadata *> Ops)
 2078   static DIModule *getImpl(LLVMContext &Context, DIScope *Scope,
 2088   static DIModule *getImpl(LLVMContext &Context, Metadata *Scope,
 2131   DITemplateParameter(LLVMContext &Context, unsigned ID, StorageType Storage,
 2153   DITemplateTypeParameter(LLVMContext &Context, StorageType Storage,
 2159   static DITemplateTypeParameter *getImpl(LLVMContext &Context, StringRef Name,
 2165   static DITemplateTypeParameter *getImpl(LLVMContext &Context, MDString *Name,
 2190   DITemplateValueParameter(LLVMContext &Context, StorageType Storage,
 2196   static DITemplateValueParameter *getImpl(LLVMContext &Context, unsigned Tag,
 2203   static DITemplateValueParameter *getImpl(LLVMContext &Context, unsigned Tag,
 2237   DIVariable(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Line,
 2306   DIExpression(LLVMContext &C, StorageType Storage, ArrayRef<uint64_t> Elements)
 2311   static DIExpression *getImpl(LLVMContext &Context,
 2613   DIGlobalVariable(LLVMContext &C, StorageType Storage, unsigned Line,
 2621   getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name,
 2633   getImpl(LLVMContext &Context, Metadata *Scope, MDString *Name,
 2692   DICommonBlock(LLVMContext &Context, StorageType Storage, unsigned LineNo,
 2697   static DICommonBlock *getImpl(LLVMContext &Context, DIScope *Scope,
 2705   static DICommonBlock *getImpl(LLVMContext &Context, Metadata *Scope,
 2755   DILocalVariable(LLVMContext &C, StorageType Storage, unsigned Line,
 2764   static DILocalVariable *getImpl(LLVMContext &Context, DIScope *Scope,
 2772   static DILocalVariable *getImpl(LLVMContext &Context, Metadata *Scope,
 2839   DILabel(LLVMContext &C, StorageType Storage, unsigned Line,
 2844   static DILabel *getImpl(LLVMContext &Context, DIScope *Scope,
 2851   static DILabel *getImpl(LLVMContext &Context, Metadata *Scope,
 2908   DIObjCProperty(LLVMContext &C, StorageType Storage, unsigned Line,
 2916   getImpl(LLVMContext &Context, StringRef Name, DIFile *File, unsigned Line,
 2924   static DIObjCProperty *getImpl(LLVMContext &Context, MDString *Name,
 2996   DIImportedEntity(LLVMContext &C, StorageType Storage, unsigned Tag,
 3001   static DIImportedEntity *getImpl(LLVMContext &Context, unsigned Tag,
 3009   static DIImportedEntity *getImpl(LLVMContext &Context, unsigned Tag,
 3053   DIGlobalVariableExpression(LLVMContext &C, StorageType Storage,
 3059   getImpl(LLVMContext &Context, Metadata *Variable, Metadata *Expression,
 3101   DIMacroNode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned MIType,
 3119   static MDString *getCanonicalMDString(LLVMContext &Context, StringRef S) {
 3145   DIMacro(LLVMContext &C, StorageType Storage, unsigned MIType, unsigned Line,
 3150   static DIMacro *getImpl(LLVMContext &Context, unsigned MIType, unsigned Line,
 3156   static DIMacro *getImpl(LLVMContext &Context, unsigned MIType, unsigned Line,
 3194   DIMacroFile(LLVMContext &C, StorageType Storage, unsigned MIType,
 3199   static DIMacroFile *getImpl(LLVMContext &Context, unsigned MIType,
 3207   static DIMacroFile *getImpl(LLVMContext &Context, unsigned MIType,
include/llvm/IR/DebugLoc.h
   89                                     LLVMContext &Ctx,
include/llvm/IR/DerivedTypes.h
   44   explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){
   63   static IntegerType *get(LLVMContext &C, unsigned NumBits);
  201   explicit CompositeType(LLVMContext &C, TypeID tid) : Type(C, tid) {}
  239   StructType(LLVMContext &C) : CompositeType(C, StructTyID) {}
  260   static StructType *create(LLVMContext &Context, StringRef Name);
  261   static StructType *create(LLVMContext &Context);
  266   static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements,
  268   static StructType *create(LLVMContext &Context, ArrayRef<Type *> Elements);
  279   static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements,
  283   static StructType *get(LLVMContext &Context, bool isPacked = false);
  293     LLVMContext &Ctx = elt1->getContext();
include/llvm/IR/Function.h
  172   LLVMContext &getContext() const;
include/llvm/IR/IRBuilder.h
   94   LLVMContext &Context;
  106   IRBuilderBase(LLVMContext &context, MDNode *FPMathTag = nullptr,
  128   LLVMContext &getContext() const { return Context; }
  798   IRBuilder(LLVMContext &C, const T &F, Inserter I = Inserter(),
  804   explicit IRBuilder(LLVMContext &C, MDNode *FPMathTag = nullptr,
  867       I->setMetadata(LLVMContext::MD_prof, Weights);
  869       I->setMetadata(LLVMContext::MD_unpredictable, Unpredictable);
  918       unsigned WL[4] = {LLVMContext::MD_prof, LLVMContext::MD_unpredictable,
  918       unsigned WL[4] = {LLVMContext::MD_prof, LLVMContext::MD_unpredictable,
  919                         LLVMContext::MD_make_implicit, LLVMContext::MD_dbg};
  919                         LLVMContext::MD_make_implicit, LLVMContext::MD_dbg};
 1088       I->setMetadata(LLVMContext::MD_fpmath, FPMD);
 2318       MDNode *Prof = MDFrom->getMetadata(LLVMContext::MD_prof);
 2319       MDNode *Unpred = MDFrom->getMetadata(LLVMContext::MD_unpredictable);
 2548       Fn->setMetadata(LLVMContext::MD_preserve_access_index, DbgInfo);
 2567       Fn->setMetadata(LLVMContext::MD_preserve_access_index, DbgInfo);
 2591       Fn->setMetadata(LLVMContext::MD_preserve_access_index, DbgInfo);
include/llvm/IR/InstrTypes.h
 1034     return getTagID() == LLVMContext::OB_deopt;
 1039     return getTagID() == LLVMContext::OB_funclet;
 1044     return getTagID() == LLVMContext::OB_cfguardtarget;
 1880       if (BOI.Tag->second == LLVMContext::OB_deopt ||
 1881           BOI.Tag->second == LLVMContext::OB_funclet)
include/llvm/IR/Instructions.h
  472   FenceInst(LLVMContext &C, AtomicOrdering Ordering,
  475   FenceInst(LLVMContext &C, AtomicOrdering Ordering, SyncScope::ID SSID,
 2908   explicit ReturnInst(LLVMContext &C, Value *retVal = nullptr,
 2910   ReturnInst(LLVMContext &C, Value *retVal, BasicBlock *InsertAtEnd);
 2911   explicit ReturnInst(LLVMContext &C, BasicBlock *InsertAtEnd);
 2920   static ReturnInst* Create(LLVMContext &C, Value *retVal = nullptr,
 2925   static ReturnInst* Create(LLVMContext &C, Value *retVal,
 2930   static ReturnInst* Create(LLVMContext &C, BasicBlock *InsertAtEnd) {
 3487       SI.setMetadata(LLVMContext::MD_prof, buildProfBranchWeightsMD());
 4679   explicit UnreachableInst(LLVMContext &C, Instruction *InsertBefore = nullptr);
 4680   explicit UnreachableInst(LLVMContext &C, BasicBlock *InsertAtEnd);
include/llvm/IR/Intrinsics.h
   59   FunctionType *getType(LLVMContext &Context, ID id,
   71   AttributeList getAttributes(LLVMContext &C, ID id);
include/llvm/IR/LLVMContext.h
   68   LLVMContext(LLVMContext &) = delete;
   69   LLVMContext &operator=(const LLVMContext &) = delete;
   69   LLVMContext &operator=(const LLVMContext &) = delete;
  149   using YieldCallbackTy = void (*)(LLVMContext *Context, void *OpaqueHandle);
  327 inline LLVMContext **unwrap(LLVMContextRef* Tys) {
  331 inline LLVMContextRef *wrap(const LLVMContext **Tys) {
include/llvm/IR/MDBuilder.h
   36   LLVMContext &Context;
   39   MDBuilder(LLVMContext &context) : Context(context) {}
include/llvm/IR/Metadata.h
  187   static MetadataAsValue *get(LLVMContext &Context, Metadata *MD);
  188   static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
  285   LLVMContext &Context;
  290   ReplaceableMetadataImpl(LLVMContext &Context) : Context(Context) {}
  296   LLVMContext &getContext() const { return Context; }
  380   LLVMContext &getContext() const { return V->getContext(); }
  615   static MDString *get(LLVMContext &Context, StringRef Str);
  616   static MDString *get(LLVMContext &Context, const char *Str) {
  770   PointerUnion<LLVMContext *, ReplaceableMetadataImpl *> Ptr;
  773   ContextAndReplaceableUses(LLVMContext &Context) : Ptr(&Context) {}
  787   operator LLVMContext &() { return getContext(); }
  794   LLVMContext &getContext() const {
  797     return *Ptr.get<LLVMContext *>();
  873   MDNode(LLVMContext &Context, unsigned ID, StorageType Storage,
  906   static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs);
  907   static inline MDTuple *getIfExists(LLVMContext &Context,
  909   static inline MDTuple *getDistinct(LLVMContext &Context,
  911   static inline TempMDTuple getTemporary(LLVMContext &Context,
  923   LLVMContext &getContext() const { return Context.getContext(); }
 1109   MDTuple(LLVMContext &C, StorageType Storage, unsigned Hash,
 1120   static MDTuple *getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs,
 1132   static MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
 1136   static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
 1143   static MDTuple *getDistinct(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
 1152   static TempMDTuple getTemporary(LLVMContext &Context,
 1165 MDTuple *MDNode::get(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
 1169 MDTuple *MDNode::getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
 1173 MDTuple *MDNode::getDistinct(LLVMContext &Context, ArrayRef<Metadata *> MDs) {
 1177 TempMDTuple MDNode::getTemporary(LLVMContext &Context,
include/llvm/IR/Module.h
  170   LLVMContext &Context;           ///< The LLVMContext from which types and
  201   explicit Module(StringRef ModuleID, LLVMContext& C);
  245   LLVMContext &getContext() const { return Context; }
include/llvm/IR/ProfileSummary.h
   53   Metadata *getDetailedSummaryMD(LLVMContext &Context);
   69   Metadata *getMD(LLVMContext &Context);
include/llvm/IR/RemarkStreamer.h
   93 setupOptimizationRemarks(LLVMContext &Context, StringRef RemarksFilename,
  101 Error setupOptimizationRemarks(LLVMContext &Context, raw_ostream &OS,
include/llvm/IR/Type.h
   81   LLVMContext &Context;
   91   explicit Type(LLVMContext &C, TypeID tid)
  130   LLVMContext &getContext() const { return Context; }
  403   static Type *getPrimitiveType(LLVMContext &C, TypeID IDNumber);
  408   static Type *getVoidTy(LLVMContext &C);
  409   static Type *getLabelTy(LLVMContext &C);
  410   static Type *getHalfTy(LLVMContext &C);
  411   static Type *getFloatTy(LLVMContext &C);
  412   static Type *getDoubleTy(LLVMContext &C);
  413   static Type *getMetadataTy(LLVMContext &C);
  414   static Type *getX86_FP80Ty(LLVMContext &C);
  415   static Type *getFP128Ty(LLVMContext &C);
  416   static Type *getPPC_FP128Ty(LLVMContext &C);
  417   static Type *getX86_MMXTy(LLVMContext &C);
  418   static Type *getTokenTy(LLVMContext &C);
  419   static IntegerType *getIntNTy(LLVMContext &C, unsigned N);
  420   static IntegerType *getInt1Ty(LLVMContext &C);
  421   static IntegerType *getInt8Ty(LLVMContext &C);
  422   static IntegerType *getInt16Ty(LLVMContext &C);
  423   static IntegerType *getInt32Ty(LLVMContext &C);
  424   static IntegerType *getInt64Ty(LLVMContext &C);
  425   static IntegerType *getInt128Ty(LLVMContext &C);
  426   template <typename ScalarTy> static Type *getScalarTy(LLVMContext &C) {
  445   static PointerType *getHalfPtrTy(LLVMContext &C, unsigned AS = 0);
  446   static PointerType *getFloatPtrTy(LLVMContext &C, unsigned AS = 0);
  447   static PointerType *getDoublePtrTy(LLVMContext &C, unsigned AS = 0);
  448   static PointerType *getX86_FP80PtrTy(LLVMContext &C, unsigned AS = 0);
  449   static PointerType *getFP128PtrTy(LLVMContext &C, unsigned AS = 0);
  450   static PointerType *getPPC_FP128PtrTy(LLVMContext &C, unsigned AS = 0);
  451   static PointerType *getX86_MMXPtrTy(LLVMContext &C, unsigned AS = 0);
  452   static PointerType *getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS = 0);
  453   static PointerType *getInt1PtrTy(LLVMContext &C, unsigned AS = 0);
  454   static PointerType *getInt8PtrTy(LLVMContext &C, unsigned AS = 0);
  455   static PointerType *getInt16PtrTy(LLVMContext &C, unsigned AS = 0);
  456   static PointerType *getInt32PtrTy(LLVMContext &C, unsigned AS = 0);
  457   static PointerType *getInt64PtrTy(LLVMContext &C, unsigned AS = 0);
include/llvm/IR/Value.h
  249   LLVMContext &getContext() const;
include/llvm/IRReader/IRReader.h
   36                                         SMDiagnostic &Err, LLVMContext &Context,
   45 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
   56                                 LLVMContext &Context,
   68                                     LLVMContext &Context,
include/llvm/LTO/Config.h
  223 struct LTOLLVMContext : LLVMContext {
include/llvm/LTO/LTO.h
   90 setupOptimizationRemarks(LLVMContext &Context, StringRef RemarksFilename,
include/llvm/LTO/legacy/LTOCodeGenerator.h
   71   LTOCodeGenerator(LLVMContext &Context);
  186   LLVMContext &getContext() { return Context; }
  215   LLVMContext &Context;
include/llvm/LTO/legacy/LTOModule.h
   47   std::unique_ptr<LLVMContext> OwnedContext;
  100   createFromFile(LLVMContext &Context, StringRef path,
  103   createFromOpenFile(LLVMContext &Context, int fd, StringRef path, size_t size,
  106   createFromOpenFileSlice(LLVMContext &Context, int fd, StringRef path,
  110   createFromBuffer(LLVMContext &Context, const void *mem, size_t length,
  113   createInLocalContext(std::unique_ptr<LLVMContext> Context, const void *mem,
  215                 LLVMContext &Context, bool ShouldBeLazy);
include/llvm/LinkAllIR.h
   43       llvm::LLVMContext Context;
include/llvm/Object/Archive.h
  143     getAsBinary(LLVMContext *Context = nullptr) const;
include/llvm/Object/Binary.h
  181                                                LLVMContext *Context = nullptr);
include/llvm/Object/IRObjectFile.h
   73                                                         LLVMContext &Context);
include/llvm/Object/SymbolicFile.h
  165                      LLVMContext *Context);
include/llvm/ProfileData/SampleProfReader.h
  256          LLVMContext &C);
  262          LLVMContext &C);
  265   void applyRemapping(LLVMContext &Ctx);
  323   SampleProfileReader(std::unique_ptr<MemoryBuffer> B, LLVMContext &C,
  387   create(const std::string Filename, LLVMContext &C,
  393   create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C,
  422   LLVMContext &Ctx;
  447   SampleProfileReaderText(std::unique_ptr<MemoryBuffer> B, LLVMContext &C)
  462   SampleProfileReaderBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C,
  540   SampleProfileReaderRawBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C,
  588                                    LLVMContext &C, SampleProfileFormat Format)
  619   SampleProfileReaderExtBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C,
  654                                    LLVMContext &C)
  684   SampleProfileReaderGCC(std::unique_ptr<MemoryBuffer> B, LLVMContext &C)
include/llvm/Support/ManagedStatic.h
   23   static void *call() { return new C(); }
   86   C &operator*() {
   94   C *operator->() { return &**this; }
   96   const C &operator*() const {
  104   const C *operator->() const { return &**this; }
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
include/llvm/Transforms/IPO/Attributor.h
  463     LLVMContext &Ctx = getAnchorValue().getContext();
 1378   virtual void getDeducedAttributes(LLVMContext &Ctx,
include/llvm/Transforms/Scalar/ConstantHoisting.h
  152   LLVMContext *Ctx;
include/llvm/Transforms/Scalar/Float2Int.h
   49   LLVMContext *Ctx;
include/llvm/Transforms/Scalar/SROA.h
   65   LLVMContext *C = nullptr;
include/llvm/Transforms/Utils/MisExpect.h
   32                      llvm::LLVMContext &Ctx);
lib/Analysis/BranchProbabilityInfo.cpp
  260   MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
lib/Analysis/InstructionSimplify.cpp
 3225     if (Q.IIQ.getMetadata(RHS_Instr, LLVMContext::MD_range) &&
 3226         Q.IIQ.getMetadata(LHS_Instr, LLVMContext::MD_range)) {
 3228           *RHS_Instr->getMetadata(LLVMContext::MD_range));
 3230           *LHS_Instr->getMetadata(LLVMContext::MD_range));
lib/Analysis/LazyValueInfo.cpp
  583     if (MDNode *Ranges = BBI->getMetadata(LLVMContext::MD_range))
 1235       if (auto *Ranges = I->getMetadata(LLVMContext::MD_range))
lib/Analysis/LoopAccessAnalysis.cpp
 2152   LLVMContext &Ctx = Loc->getContext();
 2213   LLVMContext &Ctx = Loc->getContext();
lib/Analysis/LoopInfo.cpp
  497     MDNode *MD = TI->getMetadata(LLVMContext::MD_loop);
  522     BB->getTerminator()->setMetadata(LLVMContext::MD_loop, LoopID);
  526   LLVMContext &Context = getHeader()->getContext();
  565       if (MDNode *AccessGroup = I.getMetadata(LLVMContext::MD_access_group)) {
  591           I.getMetadata(LLVMContext::MD_mem_parallel_loop_access);
 1010 MDNode *llvm::makePostTransformationMetadata(LLVMContext &Context,
lib/Analysis/MemoryBuiltins.cpp
  532     LLVMContext &Ctx = ObjectSize->getFunction()->getContext();
  571                                                  LLVMContext &Context,
  824     const DataLayout &DL, const TargetLibraryInfo *TLI, LLVMContext &Context,
lib/Analysis/MemoryDependenceAnalysis.cpp
  359   if (!LI->hasMetadata(LLVMContext::MD_invariant_group))
  420           U->hasMetadata(LLVMContext::MD_invariant_group))
  484     if (LI && LI->hasMetadata(LLVMContext::MD_invariant_load))
lib/Analysis/MemorySSA.cpp
  378   return isa<LoadInst>(I) && (I->hasMetadata(LLVMContext::MD_invariant_load) ||
lib/Analysis/ModuleSummaryAnalysis.cpp
  375         if (auto *MD = I.getMetadata(LLVMContext::MD_callees)) {
  586     V.getMetadata(LLVMContext::MD_type, Types);
lib/Analysis/ScalarEvolution.cpp
 5527     if (MDNode *MD = I->getMetadata(LLVMContext::MD_range))
lib/Analysis/ScopedNoAliasAA.cpp
  105                         Call->getMetadata(LLVMContext::MD_noalias)))
  108   if (!mayAliasInScopes(Call->getMetadata(LLVMContext::MD_alias_scope),
  121   if (!mayAliasInScopes(Call1->getMetadata(LLVMContext::MD_alias_scope),
  122                         Call2->getMetadata(LLVMContext::MD_noalias)))
  125   if (!mayAliasInScopes(Call2->getMetadata(LLVMContext::MD_alias_scope),
  126                         Call1->getMetadata(LLVMContext::MD_noalias)))
lib/Analysis/TargetLibraryInfo.cpp
  636   LLVMContext &Ctx = FTy.getContext();
lib/Analysis/TargetTransformInfo.cpp
  415 bool TargetTransformInfo::allowsMisalignedMemoryAccesses(LLVMContext &Context,
  758 Type *TargetTransformInfo::getMemcpyLoopLoweringType(LLVMContext &Context,
  767     SmallVectorImpl<Type *> &OpsOut, LLVMContext &Context,
lib/Analysis/TypeBasedAliasAnalysis.cpp
  411   if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa))
  431     if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa))
  444   if (const MDNode *M1 = Call1->getMetadata(LLVMContext::MD_tbaa))
  445     if (const MDNode *M2 = Call2->getMetadata(LLVMContext::MD_tbaa))
  525         MDNode::getMostGenericTBAA(N.TBAA, getMetadata(LLVMContext::MD_tbaa));
  527     N.TBAA = getMetadata(LLVMContext::MD_tbaa);
  531         N.Scope, getMetadata(LLVMContext::MD_alias_scope));
  533     N.Scope = getMetadata(LLVMContext::MD_alias_scope);
  537         MDNode::intersect(N.NoAlias, getMetadata(LLVMContext::MD_noalias));
  539     N.NoAlias = getMetadata(LLVMContext::MD_noalias);
lib/Analysis/ValueTracking.cpp
  987             Q.IIQ.getMetadata(cast<LoadInst>(I), LLVMContext::MD_range))
 1463             Q.IIQ.getMetadata(cast<Instruction>(I), LLVMContext::MD_range))
 2042     if (MDNode *Ranges = Q.IIQ.getMetadata(I, LLVMContext::MD_range)) {
 2070       if (Q.IIQ.getMetadata(LI, LLVMContext::MD_nonnull))
 3192   LLVMContext &Ctx = V->getContext();
 5708     if (auto *Range = IIQ.getMetadata(I, LLVMContext::MD_range))
lib/Analysis/VectorUtils.cpp
  543   LLVMContext &Ctx = AccGroups1->getContext();
  555     return Inst2->getMetadata(LLVMContext::MD_access_group);
  557     return Inst1->getMetadata(LLVMContext::MD_access_group);
  559   MDNode *MD1 = Inst1->getMetadata(LLVMContext::MD_access_group);
  560   MDNode *MD2 = Inst2->getMetadata(LLVMContext::MD_access_group);
  589   LLVMContext &Ctx = Inst1->getContext();
  599   for (auto Kind : {LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope,
  599   for (auto Kind : {LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope,
  600                     LLVMContext::MD_noalias, LLVMContext::MD_fpmath,
  600                     LLVMContext::MD_noalias, LLVMContext::MD_fpmath,
  601                     LLVMContext::MD_nontemporal, LLVMContext::MD_invariant_load,
  601                     LLVMContext::MD_nontemporal, LLVMContext::MD_invariant_load,
  602                     LLVMContext::MD_access_group}) {
  609       case LLVMContext::MD_tbaa:
  612       case LLVMContext::MD_alias_scope:
  615       case LLVMContext::MD_fpmath:
  618       case LLVMContext::MD_noalias:
  619       case LLVMContext::MD_nontemporal:
  620       case LLVMContext::MD_invariant_load:
  623       case LLVMContext::MD_access_group:
lib/AsmParser/LLLexer.cpp
  160                  LLVMContext &C)
lib/AsmParser/LLLexer.h
   33     LLVMContext &Context;
   50                      LLVMContext &C);
lib/AsmParser/LLParser.cpp
  227     MDNode *MD = Inst->getMetadata(LLVMContext::MD_tbaa);
  231       Inst->setMetadata(LLVMContext::MD_tbaa, UpgradedMD);
 2043     if (MDK == LLVMContext::MD_tbaa)
lib/AsmParser/LLParser.h
   91     LLVMContext &Context;
  170              ModuleSummaryIndex *Index, LLVMContext &Context,
  186     LLVMContext &getContext() { return Context; }
lib/AsmParser/Parser.cpp
   33   LLVMContext Context;
   41 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context,
   56                         LLVMContext &Context, SlotMapping *Slots,
   71     MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context,
   86     StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
  103                           LLVMContext &Context, SlotMapping *Slots,
  119   LLVMContext unusedContext;
lib/Bitcode/Reader/BitReader.cpp
   40   LLVMContext &Ctx = *unwrap(ContextRef);
   62   LLVMContext &Ctx = *unwrap(ContextRef);
   81   LLVMContext &Ctx = *unwrap(ContextRef);
  108   LLVMContext &Ctx = *unwrap(ContextRef);
lib/Bitcode/Reader/BitcodeReader.cpp
  167       I.setMetadata(LLVMContext::MD_tbaa, nullptr);
  484   LLVMContext &Context;
  571                 StringRef ProducerIdentification, LLVMContext &Context);
  593   StructType *createIdentifiedStructType(LLVMContext &Context, StringRef Name);
  594   StructType *createIdentifiedStructType(LLVMContext &Context);
  844 std::error_code llvm::errorToErrorCodeAndEmitErrors(LLVMContext &Ctx,
  859                              LLVMContext &Context)
 1198 StructType *BitcodeReader::createIdentifiedStructType(LLVMContext &Context,
 1205 StructType *BitcodeReader::createIdentifiedStructType(LLVMContext &Context) {
 5274       MDNode *TBAA = I.getMetadata(LLVMContext::MD_tbaa);
 6443 BitcodeModule::getModuleImpl(LLVMContext &Context, bool MaterializeAll,
 6486 BitcodeModule::getLazyModule(LLVMContext &Context, bool ShouldLazyLoadMetadata,
 6634 llvm::getLazyBitcodeModule(MemoryBufferRef Buffer, LLVMContext &Context,
 6644     std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context,
 6654 BitcodeModule::parseModule(LLVMContext &Context) {
 6661                                                          LLVMContext &Context) {
lib/Bitcode/Reader/MetadataLoader.cpp
  131   LLVMContext &Context;
  138   BitcodeReaderMetadataList(LLVMContext &C, size_t RefsUpperBound)
  425   LLVMContext &Context;
  515       GV.getMetadata(LLVMContext::MD_dbg, MDs);
  516       GV.eraseMetadata(LLVMContext::MD_dbg);
  521           GV.addMetadata(LLVMContext::MD_dbg, *DGVE);
  523           GV.addMetadata(LLVMContext::MD_dbg, *MD);
 2030         if (I->second == LLVMContext::MD_tbaa && StripTBAA)
 2051         if (HasSeenOldLoopTags && I->second == LLVMContext::MD_loop)
 2054         if (I->second == LLVMContext::MD_tbaa) {
lib/Bitcode/Reader/ValueList.cpp
   38   explicit ConstantPlaceHolder(Type *Ty, LLVMContext &Context)
lib/Bitcode/Reader/ValueList.h
   47   LLVMContext &Context;
   54   BitcodeReaderValueList(LLVMContext &C, size_t RefsUpperBound)
lib/Bitcode/Writer/BitcodeWriter.cpp
 2570   LLVMContext &C = CS.getInstruction()->getContext();
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
   80     LLVMContext &LLVMCtx = MMI->getModule()->getContext();
lib/CodeGen/AtomicExpandPass.cpp
  647   LLVMContext &Ctx = F->getContext();
  852   LLVMContext &Ctx = Builder.getContext();
 1006   LLVMContext &Ctx = Builder.getContext();
 1097   LLVMContext &Ctx = F->getContext();
 1349   LLVMContext &Ctx = Builder.getContext();
 1615   LLVMContext &Ctx = I->getContext();
lib/CodeGen/CallingConvLower.cpp
   30                  SmallVectorImpl<CCValAssign> &locs, LLVMContext &C)
  261                                 LLVMContext &C,
lib/CodeGen/CodeGenPrepare.cpp
 2557         LLVMContext &Ctx = Inst->getType()->getContext();
 5330       LLVMContext &Ctx = GEP->getContext();
 5790   LLVMContext &Ctx = Load->getType()->getContext();
 5959   if (VectorCond || SI->getMetadata(LLVMContext::MD_unpredictable))
 6230   LLVMContext &Context = Cond->getContext();
 6976     LI->setMetadata(LLVMContext::MD_invariant_group, nullptr);
 6989     SI->setMetadata(LLVMContext::MD_invariant_group, nullptr);
 7201     if (Br1->getMetadata(LLVMContext::MD_unpredictable))
 7293         Br1->setMetadata(LLVMContext::MD_prof, MDBuilder(Br1->getContext())
 7299         Br2->setMetadata(LLVMContext::MD_prof, MDBuilder(Br2->getContext())
 7326         Br1->setMetadata(LLVMContext::MD_prof, MDBuilder(Br1->getContext())
 7332         Br2->setMetadata(LLVMContext::MD_prof, MDBuilder(Br2->getContext())
lib/CodeGen/DwarfEHPrepare.cpp
  162   LLVMContext &Ctx = Fn.getContext();
  202   LLVMContext &Ctx = Fn.getContext();
lib/CodeGen/GlobalISel/CallLowering.cpp
   63       CS.getInstruction()->getMetadata(LLVMContext::MD_callees);
lib/CodeGen/GlobalISel/CombinerHelper.cpp
  883 static Type *getTypeForLLT(LLT Ty, LLVMContext &C) {
  925   LLVMContext &C = MF.getFunction().getContext();
 1039   LLVMContext &C = MF.getFunction().getContext();
 1147   LLVMContext &C = MF.getFunction().getContext();
lib/CodeGen/GlobalISel/IRTranslator.cpp
  885       Regs.size() == 1 ? LI.getMetadata(LLVMContext::MD_range) : nullptr;
 1594   if (CI.countOperandBundlesOfType(LLVMContext::OB_cfguardtarget))
 1687   if (I.countOperandBundlesOfType(LLVMContext::OB_deopt))
 1691   if (I.countOperandBundlesOfType(LLVMContext::OB_cfguardtarget))
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  395   auto &Ctx = MIRBuilder.getMF().getFunction().getContext();
  493   auto &Ctx = MIRBuilder.getMF().getFunction().getContext();
 1677     LLVMContext &Ctx = MIRBuilder.getMF().getFunction().getContext();
 1688     LLVMContext &Ctx = MIRBuilder.getMF().getFunction().getContext();
 1982     LLVMContext &Ctx = MIRBuilder.getMF().getFunction().getContext();
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  348   auto &Ctx = getMF().getFunction().getContext();
  356   auto &Ctx = getMF().getFunction().getContext();
lib/CodeGen/ImplicitNullChecks.cpp
  466     BranchMD = BB->getTerminator()->getMetadata(LLVMContext::MD_make_implicit);
lib/CodeGen/IntrinsicLowering.cpp
   62 static Value *LowerBSWAP(LLVMContext &Context, Value *V, Instruction *IP) {
  157 static Value *LowerCTPOP(LLVMContext &Context, Value *V, Instruction *IP) {
  196 static Value *LowerCTLZ(LLVMContext &Context, Value *V, Instruction *IP) {
  236   LLVMContext &Context = CI->getContext();
lib/CodeGen/LiveDebugVariables.cpp
  482                           const LLVMContext &Ctx) {
  504   const LLVMContext &Ctx = Node->getContext();
lib/CodeGen/LowerEmuTLS.cpp
   85   LLVMContext &C = M.getContext();
lib/CodeGen/MIRParser/MIParser.cpp
  470   bool parseOptionalScope(LLVMContext &Context, SyncScope::ID &SSID);
 2299   LLVMContext &Ctx = MF.getFunction().getContext();
 2790 bool MIParser::parseOptionalScope(LLVMContext &Context,
lib/CodeGen/MIRParser/MIRParser.cpp
   56   LLVMContext &Context;
   69                 StringRef Filename, LLVMContext &Context);
  166                              StringRef Filename, LLVMContext &Context)
  261   auto &Context = M.getContext();
  930                                                          LLVMContext &Context) {
  942                       LLVMContext &Context) {
lib/CodeGen/MIRPrinter.cpp
  797     const LLVMContext &Context = MF->getFunction().getContext();
lib/CodeGen/MachineInstr.cpp
 1723     const LLVMContext *Context = nullptr;
 1724     std::unique_ptr<LLVMContext> CtxPtr;
 1730       CtxPtr = std::make_unique<LLVMContext>();
lib/CodeGen/MachineOperand.cpp
  483 static void printSyncScope(raw_ostream &OS, const LLVMContext &Context,
  972 bool MachinePointerInfo::isDereferenceable(unsigned Size, LLVMContext &C,
 1071                               const LLVMContext &Context,
lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
   53   LLVMContext &Ctx = MF.getFunction().getContext();
lib/CodeGen/MachineOutliner.cpp
 1099   LLVMContext &C = M.getContext();
lib/CodeGen/MachinePipeliner.cpp
  275   MDNode *LoopID = TI->getMetadata(LLVMContext::MD_loop);
lib/CodeGen/MachineSink.cpp
  737       !PredBB->getTerminator()->getMetadata(LLVMContext::MD_make_implicit))
lib/CodeGen/ParallelCG.cpp
   79                 LLVMContext Ctx;
lib/CodeGen/RegAllocBase.cpp
  129         LLVMContext &Context =
lib/CodeGen/RegAllocGreedy.cpp
 2776   LLVMContext &Ctx = MF->getFunction().getContext();
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 7613       LLVMContext &Ctx = *DAG.getContext();
 7654       LLVMContext &Ctx = *DAG.getContext();
14297     LLVMContext &Ctxt = *DAG->getContext();
15579     LLVMContext &Context = *DAG.getContext();
19327       LLVMContext &Ctx = *DAG.getContext();
lib/CodeGen/SelectionDAG/FastISel.cpp
 1608       if (CS.getOperandBundleAt(i).getTagID() != LLVMContext::OB_funclet)
 2411   bool IsNonTemporal = I->hasMetadata(LLVMContext::MD_nontemporal);
 2412   bool IsInvariant = I->hasMetadata(LLVMContext::MD_invariant_load);
 2413   bool IsDereferenceable = I->hasMetadata(LLVMContext::MD_dereferenceable);
 2414   const MDNode *Ranges = I->getMetadata(LLVMContext::MD_range);
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 1798     LLVMContext &Ctx = *DAG.getContext();
 3856   LLVMContext &Ctx = *DAG.getContext();
 3899   LLVMContext &Ctx = *DAG.getContext();
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 5786   LLVMContext &C = *DAG.getContext();
 5969   LLVMContext &C = *DAG.getContext();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  338 static void diagnosePossiblyInvalidConstraint(LLVMContext &Ctx, const Value *V,
  775 RegsForValue::RegsForValue(LLVMContext &Context, const TargetLowering &TLI,
 1843       LLVMContext &Context = F->getContext();
 2265         !I.hasMetadata(LLVMContext::MD_unpredictable) &&
 2787   } else if (I.countOperandBundlesOfType(LLVMContext::OB_deopt)) {
 3270     LLVMContext &Ctx = *DAG.getContext();
 3851     LLVMContext &Context = *DAG.getContext();
 3889         LLVMContext &Context = *DAG.getContext();
 4024   bool isNonTemporal = I.hasMetadata(LLVMContext::MD_nontemporal);
 4025   bool isInvariant = I.hasMetadata(LLVMContext::MD_invariant_load);
 4032   const MDNode *Ranges = I.getMetadata(LLVMContext::MD_range);
 4231   if (I.hasMetadata(LLVMContext::MD_nontemporal))
 4335   LLVMContext &Context = *DAG.getContext();
 4463   const MDNode *Ranges = I.getMetadata(LLVMContext::MD_range);
 4506   const MDNode *Ranges = I.getMetadata(LLVMContext::MD_range);
 4666   if (I.hasMetadata(LLVMContext::MD_invariant_load))
 7151   if (auto Bundle = CS.getOperandBundle(LLVMContext::OB_cfguardtarget)) {
 7710   if (I.countOperandBundlesOfType(LLVMContext::OB_deopt))
 7754   EVT getCallOperandValEVT(LLVMContext &Context, const TargetLowering &TLI,
 7884   LLVMContext &Context = *DAG.getContext();
 8520   LLVMContext &Ctx = *DAG.getContext();
 8579   const MDNode *Range = I.getMetadata(LLVMContext::MD_range);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  424   LLVMContext *Context;
  841   RegsForValue(LLVMContext &Context, const TargetLowering &TLI,
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  469                             const TargetInstrInfo *TII, LLVMContext &Ctx) {
  485     LLVMContext Ctx;
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  937   auto DeoptBundle = *Call->getOperandBundle(LLVMContext::OB_deopt);
lib/CodeGen/ShadowStackGCLowering.cpp
   77   static GetElementPtrInst *CreateGEP(LLVMContext &Context, IRBuilder<> &B,
   80   static GetElementPtrInst *CreateGEP(LLVMContext &Context, IRBuilder<> &B,
  255 GetElementPtrInst *ShadowStackGCLowering::CreateGEP(LLVMContext &Context,
  270 GetElementPtrInst *ShadowStackGCLowering::CreateGEP(LLVMContext &Context,
  289   LLVMContext &Context = F.getContext();
lib/CodeGen/StackProtector.cpp
  524   LLVMContext &Context = F->getContext();
lib/CodeGen/TargetLoweringBase.cpp
  826 TargetLoweringBase::getTypeConversion(LLVMContext &Context, EVT VT) const {
 1376 EVT TargetLoweringBase::getSetCCResultType(const DataLayout &DL, LLVMContext &,
 1394 unsigned TargetLoweringBase::getVectorTypeBreakdown(LLVMContext &Context, EVT VT,
 1521     LLVMContext &Context, const DataLayout &DL, EVT VT, unsigned AddrSpace,
 1541     LLVMContext &Context, const DataLayout &DL, EVT VT,
 1549     LLVMContext &Context, const DataLayout &DL, EVT VT, unsigned AddrSpace,
 1555 bool TargetLoweringBase::allowsMemoryAccess(LLVMContext &Context,
 1652   LLVMContext &C = Ty->getContext();
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  517   MDNode *MD = GO->getMetadata(LLVMContext::MD_associated);
lib/CodeGen/WinEHPrepare.cpp
  948         if (auto BU = CS.getOperandBundle(LLVMContext::OB_funclet))
lib/ExecutionEngine/ExecutionEngine.cpp
  334   void *reset(LLVMContext &C, ExecutionEngine *EE,
  338 void *ArgvArray::reset(LLVMContext &C, ExecutionEngine *EE,
lib/ExecutionEngine/Orc/Speculation.cpp
   70     auto &MContext = M.getContext();
lib/ExecutionEngine/Orc/ThreadSafeModule.cpp
   54     ThreadSafeContext NewTSCtx(std::make_unique<LLVMContext>());
lib/FuzzMutate/FuzzerCLI.cpp
  170     const uint8_t *Data, size_t Size, LLVMContext &Context) {
  202                                              LLVMContext &Context) {
lib/FuzzMutate/IRMutator.cpp
   27   LLVMContext &Context = M.getContext();
lib/FuzzMutate/OpDescriptor.cpp
   24     auto &Ctx = T->getContext();
lib/IR/AbstractCallSite.cpp
   74   MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback);
lib/IR/AsmWriter.cpp
 2387   void writeSyncScope(const LLVMContext &Context,
 2389   void writeAtomic(const LLVMContext &Context,
 2392   void writeAtomicCmpXchg(const LLVMContext &Context,
 2481 void AssemblyWriter::writeSyncScope(const LLVMContext &Context,
 2499 void AssemblyWriter::writeAtomic(const LLVMContext &Context,
 2509 void AssemblyWriter::writeAtomicCmpXchg(const LLVMContext &Context,
lib/IR/AttributeImpl.h
  195   static AttributeSetNode *get(LLVMContext &C, const AttrBuilder &B);
  197   static AttributeSetNode *get(LLVMContext &C, ArrayRef<Attribute> Attrs);
  247   LLVMContext &Context;
  256   AttributeListImpl(LLVMContext &C, ArrayRef<AttributeSet> Sets);
  265   LLVMContext &getContext() { return Context; }
lib/IR/Attributes.cpp
   80 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind,
  104 Attribute Attribute::get(LLVMContext &Context, StringRef Kind, StringRef Val) {
  124 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind,
  145 Attribute Attribute::getWithAlignment(LLVMContext &Context, Align A) {
  150 Attribute Attribute::getWithStackAlignment(LLVMContext &Context, Align A) {
  155 Attribute Attribute::getWithDereferenceableBytes(LLVMContext &Context,
  161 Attribute Attribute::getWithDereferenceableOrNullBytes(LLVMContext &Context,
  167 Attribute Attribute::getWithByValType(LLVMContext &Context, Type *Ty) {
  172 Attribute::getWithAllocSizeArgs(LLVMContext &Context, unsigned ElemSizeArg,
  589 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) {
  593 AttributeSet AttributeSet::get(LLVMContext &C, ArrayRef<Attribute> Attrs) {
  597 AttributeSet AttributeSet::addAttribute(LLVMContext &C,
  605 AttributeSet AttributeSet::addAttribute(LLVMContext &C, StringRef Kind,
  612 AttributeSet AttributeSet::addAttributes(LLVMContext &C,
  627 AttributeSet AttributeSet::removeAttribute(LLVMContext &C,
  635 AttributeSet AttributeSet::removeAttribute(LLVMContext &C,
  643 AttributeSet AttributeSet::removeAttributes(LLVMContext &C,
  736 AttributeSetNode *AttributeSetNode::get(LLVMContext &C,
  768 AttributeSetNode *AttributeSetNode::get(LLVMContext &C, const AttrBuilder &B) {
  903 AttributeListImpl::AttributeListImpl(LLVMContext &C,
  945 AttributeList AttributeList::getImpl(LLVMContext &C,
  972 AttributeList::get(LLVMContext &C,
 1008 AttributeList::get(LLVMContext &C,
 1039 AttributeList AttributeList::get(LLVMContext &C, AttributeSet FnAttrs,
 1080 AttributeList AttributeList::get(LLVMContext &C, unsigned Index,
 1090 AttributeList AttributeList::get(LLVMContext &C, unsigned Index,
 1098 AttributeList AttributeList::get(LLVMContext &C, unsigned Index,
 1106 AttributeList AttributeList::get(LLVMContext &C,
 1132 AttributeList AttributeList::addAttribute(LLVMContext &C, unsigned Index,
 1140 AttributeList AttributeList::addAttribute(LLVMContext &C, unsigned Index,
 1148 AttributeList AttributeList::addAttribute(LLVMContext &C, unsigned Index,
 1155 AttributeList AttributeList::addAttributes(LLVMContext &C, unsigned Index,
 1184 AttributeList AttributeList::addParamAttribute(LLVMContext &C,
 1204 AttributeList AttributeList::removeAttribute(LLVMContext &C, unsigned Index,
 1217 AttributeList AttributeList::removeAttribute(LLVMContext &C, unsigned Index,
 1231 AttributeList::removeAttributes(LLVMContext &C, unsigned Index,
 1246 AttributeList AttributeList::removeAttributes(LLVMContext &C,
 1258 AttributeList AttributeList::addDereferenceableAttr(LLVMContext &C,
 1267 AttributeList::addDereferenceableOrNullAttr(LLVMContext &C, unsigned Index,
 1275 AttributeList::addAllocSizeAttr(LLVMContext &C, unsigned Index,
 1287 LLVMContext &AttributeList::getContext() const { return pImpl->getContext(); }
lib/IR/AutoUpgrade.cpp
  849   LLVMContext &C = GV->getContext();
 1648   LLVMContext &C = CI->getContext();
 3748   auto &Context = MD.getContext();
 3774     LLVMContext &Context = V->getContext();
 3794     LLVMContext &Context = C->getContext();
 4088 static MDString *upgradeLoopTag(LLVMContext &C, StringRef OldTag) {
lib/IR/BasicBlock.cpp
   32 LLVMContext &BasicBlock::getContext() const {
   40 BasicBlock::BasicBlock(LLVMContext &C, const Twine &Name, Function *NewParent,
  482       TI->getMetadata(LLVMContext::MD_irr_loop)) {
lib/IR/Constants.cpp
  609 ConstantInt *ConstantInt::getTrue(LLVMContext &Context) {
  616 ConstantInt *ConstantInt::getFalse(LLVMContext &Context) {
  640 ConstantInt *ConstantInt::get(LLVMContext &Context, const APInt &V) {
  717   LLVMContext &Context = Ty->getContext();
  745   LLVMContext &Context = Ty->getContext();
  811 ConstantFP* ConstantFP::get(LLVMContext &Context, const APFloat& V) {
 1049 StructType *ConstantStruct::getTypeForElements(LLVMContext &Context,
 1161 ConstantTokenNone *ConstantTokenNone::get(LLVMContext &Context) {
 2560 Constant *ConstantDataArray::getFP(LLVMContext &Context,
 2566 Constant *ConstantDataArray::getFP(LLVMContext &Context,
 2572 Constant *ConstantDataArray::getFP(LLVMContext &Context,
 2579 Constant *ConstantDataArray::getString(LLVMContext &Context,
 2595 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint8_t> Elts){
 2600 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint16_t> Elts){
 2605 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint32_t> Elts){
 2610 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<uint64_t> Elts){
 2615 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<float> Elts) {
 2620 Constant *ConstantDataVector::get(LLVMContext &Context, ArrayRef<double> Elts) {
 2631 Constant *ConstantDataVector::getFP(LLVMContext &Context,
 2637 Constant *ConstantDataVector::getFP(LLVMContext &Context,
 2643 Constant *ConstantDataVector::getFP(LLVMContext &Context,
lib/IR/Core.cpp
   76 static ManagedStatic<LLVMContext> GlobalContext;
   79   return wrap(new LLVMContext());
  143   auto &Ctx = *unwrap(C);
  973 static LLVMValueRef getMDNodeOperandImpl(LLVMContext &Context, const MDNode *N,
 1060   LLVMContext &Context = *unwrap(C);
 1071   LLVMContext &Context = *unwrap(C);
 1186   LLVMContext &Context = unwrap(V)->getContext();
 1203   LLVMContext &Context = unwrap(M)->getContext();
 3053   LLVMContext &Context = unwrap(Builder)->getContext();
lib/IR/DIBuilder.cpp
  163 createImportedModule(LLVMContext &C, dwarf::Tag Tag, DIScope *Context,
  412 createTemplateValueParameterHelper(LLVMContext &VMContext, unsigned Tag,
  670     LLVMContext &VMContext,
  745 static DISubprogram *getSubprogram(bool IsDistinct, Ts &&... Args) {
  909 static Value *getDbgIntrinsicValueImpl(LLVMContext &VMContext, Value *V) {
lib/IR/DataLayout.cpp
  769 IntegerType *DataLayout::getIntPtrType(LLVMContext &C,
  784 Type *DataLayout::getSmallestLegalIntType(LLVMContext &C, unsigned Width) const {
lib/IR/DebugInfo.cpp
  315   if (F.hasMetadata(LLVMContext::MD_dbg)) {
  339     if (auto *LoopID = TermInst->getMetadata(LLVMContext::MD_loop)) {
  344         TermInst->setMetadata(LLVMContext::MD_loop, NewLoopID);
  371     Changed |= GV.eraseMetadata(LLVMContext::MD_dbg);
  405   DebugTypeInfoRemoval(LLVMContext &C)
  616     GV.eraseMetadata(LLVMContext::MD_dbg);
lib/IR/DebugInfoMetadata.cpp
   26 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line,
   48 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line,
  259 GenericDINode *GenericDINode::getImpl(LLVMContext &Context, unsigned Tag,
  317 DISubrange *DISubrange::getImpl(LLVMContext &Context, int64_t Count, int64_t Lo,
  324 DISubrange *DISubrange::getImpl(LLVMContext &Context, Metadata *CountNode,
  332 DIEnumerator *DIEnumerator::getImpl(LLVMContext &Context, int64_t Value,
  341 DIBasicType *DIBasicType::getImpl(LLVMContext &Context, unsigned Tag,
  368     LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File,
  385     LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File,
  407     LLVMContext &Context, MDString &Identifier, unsigned Tag, MDString *Name,
  442     LLVMContext &Context, MDString &Identifier, unsigned Tag, MDString *Name,
  459 DICompositeType *DICompositeType::getODRTypeIfExists(LLVMContext &Context,
  467 DISubroutineType *DISubroutineType::getImpl(LLVMContext &Context, DIFlags Flags,
  498 DIFile *DIFile::getImpl(LLVMContext &Context, MDString *Filename,
  514     LLVMContext &Context, unsigned SourceLanguage, Metadata *File,
  628     LLVMContext &Context, Metadata *Scope, MDString *Name,
  668 DILexicalBlock *DILexicalBlock::getImpl(LLVMContext &Context, Metadata *Scope,
  681 DILexicalBlockFile *DILexicalBlockFile::getImpl(LLVMContext &Context,
  692 DINamespace *DINamespace::getImpl(LLVMContext &Context, Metadata *Scope,
  702 DICommonBlock *DICommonBlock::getImpl(LLVMContext &Context, Metadata *Scope,
  713 DIModule *DIModule::getImpl(LLVMContext &Context, Metadata *Scope,
  724 DITemplateTypeParameter *DITemplateTypeParameter::getImpl(LLVMContext &Context,
  736     LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *Type,
  745 DIGlobalVariable::getImpl(LLVMContext &Context, Metadata *Scope, MDString *Name,
  769 DILocalVariable *DILocalVariable::getImpl(LLVMContext &Context, Metadata *Scope,
  811 DILabel *DILabel::getImpl(LLVMContext &Context, Metadata *Scope,
  823 DIExpression *DIExpression::getImpl(LLVMContext &Context,
 1186 DIGlobalVariableExpression::getImpl(LLVMContext &Context, Metadata *Variable,
 1195     LLVMContext &Context, MDString *Name, Metadata *File, unsigned Line,
 1207 DIImportedEntity *DIImportedEntity::getImpl(LLVMContext &Context, unsigned Tag,
 1219 DIMacro *DIMacro::getImpl(LLVMContext &Context, unsigned MIType,
 1228 DIMacroFile *DIMacroFile::getImpl(LLVMContext &Context, unsigned MIType,
lib/IR/DebugLoc.cpp
   83                                    LLVMContext &Ctx,
lib/IR/DiagnosticInfo.cpp
  262   LLVMContext &Ctx = Fn.getContext();
  283   LLVMContext &Ctx = Fn.getContext();
  311   LLVMContext &Ctx = Fn.getContext();
lib/IR/Function.cpp
  205 LLVMContext &Function::getContext() const {
  947                              ArrayRef<Type*> Tys, LLVMContext &Context) {
 1049 FunctionType *Intrinsic::getType(LLVMContext &Context,
 1538       LLVMContext::MD_prof,
 1548   MDNode *MD = getMetadata(LLVMContext::MD_prof);
 1571   if (MDNode *MD = getMetadata(LLVMContext::MD_prof))
 1583   setMetadata(LLVMContext::MD_section_prefix,
 1588   if (MDNode *MD = getMetadata(LLVMContext::MD_section_prefix)) {
lib/IR/Globals.cpp
  299   return GO->getMetadata(LLVMContext::MD_absolute_symbol);
  307   MDNode *MD = GO->getMetadata(LLVMContext::MD_absolute_symbol);
lib/IR/IRBuilder.cpp
  116     CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
  119     CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag);
  122     CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag);
  146     CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
  149     CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag);
  152     CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag);
  181     CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
  185     CI->setMetadata(LLVMContext::MD_tbaa_struct, TBAAStructTag);
  188     CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag);
  191     CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag);
  222     CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
  226     CI->setMetadata(LLVMContext::MD_tbaa_struct, TBAAStructTag);
  229     CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag);
  232     CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag);
  261     CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
  264     CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag);
  267     CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag);
  299     CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
  303     CI->setMetadata(LLVMContext::MD_tbaa_struct, TBAAStructTag);
  306     CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag);
  309     CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag);
lib/IR/Instruction.cpp
  692   MDNode *ProfileData = getMetadata(LLVMContext::MD_prof);
  704   setMetadata(LLVMContext::MD_prof,
  725   if (WL.empty() || WLS.count(LLVMContext::MD_dbg))
  753   setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
lib/IR/Instructions.cpp
  467   auto *ProfileData = getMetadata(LLVMContext::MD_prof);
  512   setMetadata(LLVMContext::MD_prof, MDNode::get(getContext(), Vals));
  873 ReturnInst::ReturnInst(LLVMContext &C, Value *retVal, Instruction *InsertBefore)
  881 ReturnInst::ReturnInst(LLVMContext &C, Value *retVal, BasicBlock *InsertAtEnd)
  889 ReturnInst::ReturnInst(LLVMContext &Context, BasicBlock *InsertAtEnd)
 1113 UnreachableInst::UnreachableInst(LLVMContext &Context,
 1117 UnreachableInst::UnreachableInst(LLVMContext &Context, BasicBlock *InsertAtEnd)
 1198 static Value *getAISize(LLVMContext &Context, Value *Amt) {
 1577 FenceInst::FenceInst(LLVMContext &C, AtomicOrdering Ordering,
 1585 FenceInst::FenceInst(LLVMContext &C, AtomicOrdering Ordering,
 2439       cast<Instruction>(this)->getMetadata(LLVMContext::MD_fpmath);
 3893   if (MDNode *ProfileData = SI.getMetadata(LLVMContext::MD_prof))
 4307   LLVMContext &Context = getContext();
lib/IR/IntrinsicInst.cpp
  101   LLVMContext &Context = M->getContext();
lib/IR/LLVMContext.cpp
  106 LLVMContext::InlineAsmDiagHandlerTy
lib/IR/LLVMContextImpl.cpp
   23 LLVMContextImpl::LLVMContextImpl(LLVMContext &C)
lib/IR/LLVMContextImpl.h
 1248   LLVMContext::InlineAsmDiagHandlerTy InlineAsmDiagHandler = nullptr;
 1257   LLVMContext::YieldCallbackTy YieldCallback = nullptr;
 1405   LLVMContextImpl(LLVMContext &C);
lib/IR/Metadata.cpp
   83 static Metadata *canonicalizeMetadataForValue(LLVMContext &Context,
  105 MetadataAsValue *MetadataAsValue::get(LLVMContext &Context, Metadata *MD) {
  113 MetadataAsValue *MetadataAsValue::getIfExists(LLVMContext &Context,
  121   LLVMContext &Context = getContext();
  351   auto &Context = V->getContext();
  397   LLVMContext &Context = From->getType()->getContext();
  453 MDString *MDString::get(LLVMContext &Context, StringRef Str) {
  503 MDNode::MDNode(LLVMContext &Context, unsigned ID, StorageType Storage,
  812 MDTuple *MDTuple::getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs,
  881 static MDNode *getOrSelfReference(LLVMContext &Context,
 1227   if (KindID == LLVMContext::MD_dbg) {
 1262   setMetadata(LLVMContext::MD_tbaa, N.TBAA);
 1263   setMetadata(LLVMContext::MD_alias_scope, N.Scope);
 1264   setMetadata(LLVMContext::MD_noalias, N.NoAlias);
 1269   if (KindID == LLVMContext::MD_dbg)
 1287         std::make_pair((unsigned)LLVMContext::MD_dbg, DbgLoc.getAsMDNode()));
 1317   auto *ProfileData = getMetadata(LLVMContext::MD_prof);
 1345   auto *ProfileData = getMetadata(LLVMContext::MD_prof);
 1455     if (Offset != 0 && MD.first == LLVMContext::MD_type) {
 1461       addMetadata(LLVMContext::MD_type,
 1469     if (Offset != 0 && MD.first == LLVMContext::MD_dbg) {
 1493       LLVMContext::MD_type,
 1501   addMetadata(LLVMContext::MD_vcall_visibility,
 1508   if (MDNode *MD = getMetadata(LLVMContext::MD_vcall_visibility)) {
 1519   setMetadata(LLVMContext::MD_dbg, SP);
 1523   return cast_or_null<DISubprogram>(getMetadata(LLVMContext::MD_dbg));
 1536   addMetadata(LLVMContext::MD_dbg, *GV);
 1542   getMetadata(LLVMContext::MD_dbg, MDs);
lib/IR/Module.cpp
   73 Module::Module(StringRef MID, LLVMContext &C)
lib/IR/ProfileSummary.cpp
   26 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key,
   36 static Metadata *getKeyValMD(LLVMContext &Context, const char *Key,
   47 Metadata *ProfileSummary::getDetailedSummaryMD(LLVMContext &Context) {
   68 Metadata *ProfileSummary::getMD(LLVMContext &Context) {
lib/IR/RemarkStreamer.cpp
  144 llvm::setupOptimizationRemarks(LLVMContext &Context, StringRef RemarksFilename,
  187 Error llvm::setupOptimizationRemarks(LLVMContext &Context, raw_ostream &OS,
lib/IR/Type.cpp
   39 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) {
  165 Type *Type::getVoidTy(LLVMContext &C) { return &C.pImpl->VoidTy; }
  166 Type *Type::getLabelTy(LLVMContext &C) { return &C.pImpl->LabelTy; }
  167 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; }
  168 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; }
  169 Type *Type::getDoubleTy(LLVMContext &C) { return &C.pImpl->DoubleTy; }
  170 Type *Type::getMetadataTy(LLVMContext &C) { return &C.pImpl->MetadataTy; }
  171 Type *Type::getTokenTy(LLVMContext &C) { return &C.pImpl->TokenTy; }
  172 Type *Type::getX86_FP80Ty(LLVMContext &C) { return &C.pImpl->X86_FP80Ty; }
  173 Type *Type::getFP128Ty(LLVMContext &C) { return &C.pImpl->FP128Ty; }
  174 Type *Type::getPPC_FP128Ty(LLVMContext &C) { return &C.pImpl->PPC_FP128Ty; }
  175 Type *Type::getX86_MMXTy(LLVMContext &C) { return &C.pImpl->X86_MMXTy; }
  177 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; }
  178 IntegerType *Type::getInt8Ty(LLVMContext &C) { return &C.pImpl->Int8Ty; }
  179 IntegerType *Type::getInt16Ty(LLVMContext &C) { return &C.pImpl->Int16Ty; }
  180 IntegerType *Type::getInt32Ty(LLVMContext &C) { return &C.pImpl->Int32Ty; }
  181 IntegerType *Type::getInt64Ty(LLVMContext &C) { return &C.pImpl->Int64Ty; }
  182 IntegerType *Type::getInt128Ty(LLVMContext &C) { return &C.pImpl->Int128Ty; }
  184 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) {
  188 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) {
  192 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) {
  196 PointerType *Type::getDoublePtrTy(LLVMContext &C, unsigned AS) {
  200 PointerType *Type::getX86_FP80PtrTy(LLVMContext &C, unsigned AS) {
  204 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) {
  208 PointerType *Type::getPPC_FP128PtrTy(LLVMContext &C, unsigned AS) {
  212 PointerType *Type::getX86_MMXPtrTy(LLVMContext &C, unsigned AS) {
  216 PointerType *Type::getIntNPtrTy(LLVMContext &C, unsigned N, unsigned AS) {
  220 PointerType *Type::getInt1PtrTy(LLVMContext &C, unsigned AS) {
  224 PointerType *Type::getInt8PtrTy(LLVMContext &C, unsigned AS) {
  228 PointerType *Type::getInt16PtrTy(LLVMContext &C, unsigned AS) {
  232 PointerType *Type::getInt32PtrTy(LLVMContext &C, unsigned AS) {
  236 PointerType *Type::getInt64PtrTy(LLVMContext &C, unsigned AS) {
  244 IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) {
  346 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes,
  441 StructType *StructType::create(LLVMContext &Context, StringRef Name) {
  448 StructType *StructType::get(LLVMContext &Context, bool isPacked) {
  452 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements,
  459 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements) {
  463 StructType *StructType::create(LLVMContext &Context) {
lib/IR/Value.cpp
  189   LLVMContext &Ctx = getContext();
  198   LLVMContext &Ctx = getContext();
  633     if (MDNode *MD = LI->getMetadata(LLVMContext::MD_dereferenceable)) {
  639               LI->getMetadata(LLVMContext::MD_dereferenceable_or_null)) {
  646     if (MDNode *MD = IP->getMetadata(LLVMContext::MD_dereferenceable)) {
  652               IP->getMetadata(LLVMContext::MD_dereferenceable_or_null)) {
  727     if (MDNode *MD = LI->getMetadata(LLVMContext::MD_align)) {
  743 LLVMContext &Value::getContext() const { return VTy->getContext(); }
lib/IR/Verifier.cpp
  124   LLVMContext &Context;
  689   GV.getMetadata(LLVMContext::MD_dbg, MDs);
 1850     if (Pair.first == LLVMContext::MD_prof) {
 2286       case LLVMContext::MD_dbg: {
 2299       case LLVMContext::MD_prof:
 2365       if (auto MD = I.getMetadata(LLVMContext::MD_loop))
 2985     if (Tag == LLVMContext::OB_deopt) {
 2988     } else if (Tag == LLVMContext::OB_gc_transition) {
 2992     } else if (Tag == LLVMContext::OB_funclet) {
 3000     } else if (Tag == LLVMContext::OB_cfguardtarget) {
 3629       if (auto Bundle = II->getOperandBundle(LLVMContext::OB_funclet))
 4159   if (MDNode *MD = I.getMetadata(LLVMContext::MD_fpmath)) {
 4175   if (MDNode *Range = I.getMetadata(LLVMContext::MD_range)) {
 4181   if (I.getMetadata(LLVMContext::MD_nonnull)) {
 4190   if (MDNode *MD = I.getMetadata(LLVMContext::MD_dereferenceable))
 4193   if (MDNode *MD = I.getMetadata(LLVMContext::MD_dereferenceable_or_null))
 4196   if (MDNode *TBAA = I.getMetadata(LLVMContext::MD_tbaa))
 4199   if (MDNode *AlignMD = I.getMetadata(LLVMContext::MD_align)) {
 4215   if (MDNode *MD = I.getMetadata(LLVMContext::MD_prof))
lib/IRReader/IRReader.cpp
   34                       LLVMContext &Context, bool ShouldLazyLoadMetadata) {
   54                                                   LLVMContext &Context,
   69                                       LLVMContext &Context,
   96                                           LLVMContext &Context,
lib/LTO/LTO.cpp
 1379 lto::setupOptimizationRemarks(LLVMContext &Context, StringRef RemarksFilename,
lib/LTO/LTOCodeGenerator.cpp
  111 LTOCodeGenerator::LTOCodeGenerator(LLVMContext &Context)
lib/LTO/LTOModule.cpp
   87   LLVMContext Context;
  100   LLVMContext Context;
  109 LTOModule::createFromFile(LLVMContext &Context, StringRef path,
  123 LTOModule::createFromOpenFile(LLVMContext &Context, int fd, StringRef path,
  129 LTOModule::createFromOpenFileSlice(LLVMContext &Context, int fd, StringRef path,
  145 LTOModule::createFromBuffer(LLVMContext &Context, const void *mem,
  154 LTOModule::createInLocalContext(std::unique_ptr<LLVMContext> Context,
  169 parseBitcodeFileImpl(MemoryBufferRef Buffer, LLVMContext &Context,
  194                          LLVMContext &Context, bool ShouldBeLazy) {
lib/LTO/ThinLTOCodeGenerator.cpp
  182                                                    LLVMContext &Context,
  915         LLVMContext Context;
 1074         LLVMContext Context;
lib/Linker/IRMover.cpp
  496   AttributeList mapAttributeTypes(LLVMContext &C, AttributeList Attrs);
  637 AttributeList IRLinker::mapAttributeTypes(LLVMContext &C, AttributeList Attrs) {
lib/Object/ArchiveWriter.cpp
  355   LLVMContext Context;
lib/Object/IRObjectFile.cpp
  110 IRObjectFile::create(MemoryBufferRef Object, LLVMContext &Context) {
lib/Object/IRSymtab.cpp
  349   LLVMContext Ctx;
lib/ProfileData/InstrProf.cpp
  951   LLVMContext &Ctx = M.getContext();
  973   Inst.setMetadata(LLVMContext::MD_prof, MDNode::get(Ctx, Vals));
  981   MDNode *MD = Inst.getMetadata(LLVMContext::MD_prof);
 1039   LLVMContext &C = F.getContext();
lib/ProfileData/SampleProfReader.cpp
 1212 void SampleProfileReaderItaniumRemapper::applyRemapping(LLVMContext &Ctx) {
 1266 SampleProfileReader::create(const std::string Filename, LLVMContext &C,
 1287                                            LLVMContext &C) {
 1307                                            LLVMContext &C) {
 1333 SampleProfileReader::create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C,
lib/Target/AArch64/AArch64CallLowering.cpp
  223   LLVMContext &Ctx = OrigArg.Ty->getContext();
  273     LLVMContext &Ctx = Val->getType()->getContext();
lib/Target/AArch64/AArch64FastISel.cpp
  149   LLVMContext *Context;
lib/Target/AArch64/AArch64ISelLowering.cpp
  906 EVT AArch64TargetLowering::getSetCCResultType(const DataLayout &, LLVMContext &,
 3617   LLVMContext &C = *DAG.getContext();
 4150     const SmallVectorImpl<ISD::OutputArg> &Outs, LLVMContext &Context) const {
12255 bool AArch64TargetLowering::shouldNormalizeToSelectSequence(LLVMContext &,
lib/Target/AArch64/AArch64ISelLowering.h
  321   EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
  623                       LLVMContext &Context) const override;
  760   bool shouldNormalizeToSelectSequence(LLVMContext &, EVT) const override;
lib/Target/AArch64/AArch64InstructionSelector.cpp
 3660   LLVMContext &Ctx = MF.getFunction().getContext();
lib/Target/AArch64/AArch64StackTagging.cpp
  254       LLVMContext &Ctx = IRB.getContext();
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  951       LLVMContext &Ctx = MF.getFunction().getContext();
  991       LLVMContext &Ctx = MF.getFunction().getContext();
 1011     LLVMContext &Ctx = MF.getFunction().getContext();
 1018     LLVMContext &Ctx = MF.getFunction().getContext();
lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  158   LLVMContext &Ctx = OrigArg.Ty->getContext();
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  549   MDNode *FPMath = FDiv.getMetadata(LLVMContext::MD_fpmath);
  948     if (auto *Range = WidenLoad->getMetadata(LLVMContext::MD_range)) {
  953         WidenLoad->setMetadata(LLVMContext::MD_range, nullptr);
  961         WidenLoad->setMetadata(LLVMContext::MD_range,
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
   42 EVT AMDGPUTargetLowering::getEquivalentMemType(LLVMContext &Ctx, EVT VT) {
  913   LLVMContext &Ctx = Fn.getParent()->getContext();
lib/Target/AMDGPU/AMDGPUISelLowering.h
  104   static EVT getEquivalentMemType(LLVMContext &Context, EVT VT);
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  586   auto &Ctx = M->getContext();
  647   LLVMContext &Context = CI->getParent()->getContext();
  765       LLVMContext &context = CI->getParent()->getParent()->getContext();
 1672   LLVMContext &context = CI->getParent()->getParent()->getContext();
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  873   LLVMContext& C,
  915   LLVMContext& C = M.getContext();
  989     LLVMContext &Ctx = M->getContext();
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
   70   LLVMContext &Ctx = F.getParent()->getContext();
  164     Load->setMetadata(LLVMContext::MD_invariant_load, MDNode::get(Ctx, {}));
  170         Load->setMetadata(LLVMContext::MD_nonnull, MDNode::get(Ctx, {}));
  175           LLVMContext::MD_dereferenceable,
  184           LLVMContext::MD_dereferenceable_or_null,
  193           LLVMContext::MD_align,
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  202     LLVMContext &C = MI->getParent()->getParent()->getFunction().getContext();
  266     LLVMContext &C = MI->getParent()->getParent()->getFunction().getContext();
  390     LLVMContext &C = MI->getParent()->getParent()->getFunction().getContext();
lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp
   22   LLVMContext &CTX = MMI.getModule()->getContext();
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
  107   auto &C = M.getContext();
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  150   LLVMContext &Ctx = M.getContext();
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  258   LoadXY->setMetadata(LLVMContext::MD_invariant_load, MD);
  259   LoadZU->setMetadata(LLVMContext::MD_invariant_load, MD);
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  354   LLVMContext &Ctx = F.getParent()->getContext();
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  490   I->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange);
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  636     LLVMContext &Ctx = NewV->getType()->getContext();
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
 1591   LLVMContext &Ctx = LoopHeader->getParent()->getFunction().getContext();
lib/Target/AMDGPU/R600ISelLowering.cpp
 1652 EVT R600TargetLowering::getSetCCResultType(const DataLayout &DL, LLVMContext &,
lib/Target/AMDGPU/R600ISelLowering.h
   46   EVT getSetCCResultType(const DataLayout &DL, LLVMContext &,
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  158   LLVMContext *Context;
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  138   LLVMContext &Context = M.getContext();
lib/Target/AMDGPU/SIISelLowering.cpp
  778 MVT SITargetLowering::getRegisterTypeForCallingConv(LLVMContext &Context,
  801 unsigned SITargetLowering::getNumRegistersForCallingConv(LLVMContext &Context,
  827   LLVMContext &Context, CallingConv::ID CC,
 2246   LLVMContext &Context) const {
 2620   LLVMContext &Ctx = *DAG.getContext();
 3887 EVT SITargetLowering::getSetCCResultType(const DataLayout &DL, LLVMContext &Ctx,
 4639     LLVMContext &Ctx = MF.getFunction().getContext();
 5222                                  const SDLoc &DL, LLVMContext &Context) {
lib/Target/AMDGPU/SIISelLowering.h
   28   MVT getRegisterTypeForCallingConv(LLVMContext &Context,
   31   unsigned getNumRegistersForCallingConv(LLVMContext &Context,
   36     LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
  299                       LLVMContext &Context) const override;
  348   EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
lib/Target/AMDGPU/SIInstrInfo.cpp
  517   LLVMContext &C = MF->getFunction().getContext();
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  568       LLVMContext &Ctx = F.getContext();
  584   LLVMContext &Ctx = F.getContext();
lib/Target/ARC/ARCISelLowering.cpp
  594     const SmallVectorImpl<ISD::OutputArg> &Outs, LLVMContext &Context) const {
lib/Target/ARC/ARCISelLowering.h
  112                       LLVMContext &Context) const override;
lib/Target/ARM/ARMCallLowering.cpp
  194   LLVMContext &Ctx = OrigArg.Ty->getContext();
lib/Target/ARM/ARMCodeGenPrepare.cpp
  115   LLVMContext &Ctx;
lib/Target/ARM/ARMConstantPoolValue.cpp
   42 ARMConstantPoolValue::ARMConstantPoolValue(LLVMContext &C, unsigned id,
  225 ARMConstantPoolSymbol::ARMConstantPoolSymbol(LLVMContext &C, StringRef s,
  233 ARMConstantPoolSymbol *ARMConstantPoolSymbol::Create(LLVMContext &C,
  263 ARMConstantPoolMBB::ARMConstantPoolMBB(LLVMContext &C,
  272 ARMConstantPoolMBB *ARMConstantPoolMBB::Create(LLVMContext &C,
lib/Target/ARM/ARMConstantPoolValue.h
   74   ARMConstantPoolValue(LLVMContext &C, unsigned id, ARMCP::ARMCPKind Kind,
  215   ARMConstantPoolSymbol(LLVMContext &C, StringRef s, unsigned id,
  220   static ARMConstantPoolSymbol *Create(LLVMContext &C, StringRef s, unsigned ID,
  250   ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id,
  255   static ARMConstantPoolMBB *Create(LLVMContext &C,
lib/Target/ARM/ARMFastISel.cpp
  120   LLVMContext *Context;
 2952   LLVMContext *Context = &MF->getFunction().getContext();
lib/Target/ARM/ARMISelLowering.cpp
 1677 EVT ARMTargetLowering::getSetCCResultType(const DataLayout &DL, LLVMContext &,
 2601   LLVMContext &C = *DAG.getContext();
 2680                                   LLVMContext &Context) const {
15935     const SDNode *N, LLVMContext *Context, const ARMSubtarget *Subtarget) {
lib/Target/ARM/ARMISelLowering.h
  321     EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
  807                         LLVMContext &Context) const override;
lib/Target/ARM/ARMLegalizerInfo.cpp
  367   LLVMContext &Ctx = MIRBuilder.getMF().getFunction().getContext();
lib/Target/ARM/ARMTargetTransformInfo.cpp
  994   LLVMContext &C = L->getHeader()->getContext();
lib/Target/AVR/AVRISelLowering.cpp
  272 EVT AVRTargetLowering::getSetCCResultType(const DataLayout &DL, LLVMContext &,
 1360                                   LLVMContext &Context) const
lib/Target/AVR/AVRISelLowering.h
  105   EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
  154                       LLVMContext &Context) const override;
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  241     CInfo.Metadata = Call->getMetadata(LLVMContext::MD_preserve_access_index);
  250     CInfo.Metadata = Call->getMetadata(LLVMContext::MD_preserve_access_index);
  259     CInfo.Metadata = Call->getMetadata(LLVMContext::MD_preserve_access_index);
  862     GV->setMetadata(LLVMContext::MD_preserve_access_index, TypeMeta);
lib/Target/BPF/BPFISelLowering.cpp
  754 EVT BPFTargetLowering::getSetCCResultType(const DataLayout &, LLVMContext &,
lib/Target/BPF/BPFISelLowering.h
   61   EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
lib/Target/BPF/BTFDebug.cpp
  996       MDNode *MDN = GVar->getMetadata(LLVMContext::MD_preserve_access_index);
lib/Target/Hexagon/HexagonCommonGEP.cpp
  154     LLVMContext *Ctx;
lib/Target/Hexagon/HexagonConstPropagation.cpp
  317     LLVMContext     &CX;
lib/Target/Hexagon/HexagonGenExtract.cpp
  100   LLVMContext &Ctx = BB->getContext();
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
 1389   LLVMContext &Ctx = *DAG.getContext();
lib/Target/Hexagon/HexagonISelLowering.cpp
  119                    SmallVectorImpl<CCValAssign> &locs, LLVMContext &C,
  179     LLVMContext &Context) const {
  898   LLVMContext &Ctx = ConstVal->getContext();
 1789     auto &Cont = I.getCalledFunction()->getParent()->getContext();
 2666   LLVMContext &Ctx = *DAG.getContext();
lib/Target/Hexagon/HexagonISelLowering.h
  221                         LLVMContext &Context) const override;
  253     EVT getSetCCResultType(const DataLayout &, LLVMContext &C,
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  164       using FuncType = std::function<Value* (Instruction*, LLVMContext&)>;
  206       LLVMContext &Ctx;
  569       LLVMContext &Ctx = CurLoop->getHeader()->getParent()->getContext();
 2143   LLVMContext &Ctx = SI->getContext();
lib/Target/MSP430/MSP430ISelLowering.cpp
  712                                      LLVMContext &Context) const {
lib/Target/MSP430/MSP430ISelLowering.h
  170                         LLVMContext &Context) const override;
lib/Target/Mips/Mips16HardFloat.cpp
   46 static void EmitInlineAsm(LLVMContext &C, BasicBlock *BB, StringRef AsmText) {
  261   LLVMContext &Context = M->getContext();
  380   LLVMContext &C = M->getContext();
  450   LLVMContext &Context = M->getContext();
lib/Target/Mips/MipsCCState.h
   84               SmallVectorImpl<CCValAssign> &locs, LLVMContext &C,
lib/Target/Mips/MipsCallLowering.cpp
  710   LLVMContext &Ctx = OrigArg.Ty->getContext();
lib/Target/Mips/MipsFastISel.cpp
  144   LLVMContext *Context;
lib/Target/Mips/MipsISelLowering.cpp
  111 MVT MipsTargetLowering::getRegisterTypeForCallingConv(LLVMContext &Context,
  124 unsigned MipsTargetLowering::getNumRegistersForCallingConv(LLVMContext &Context,
  134     LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
  560 EVT MipsTargetLowering::getSetCCResultType(const DataLayout &, LLVMContext &,
 3622                                    LLVMContext &Context) const {
 3868 EVT MipsTargetLowering::getTypeForExtReturn(LLVMContext &Context, EVT VT,
lib/Target/Mips/MipsISelLowering.h
  282     EVT getTypeForExtReturn(LLVMContext &Context, EVT VT,
  292     MVT getRegisterTypeForCallingConv(LLVMContext &Context, CallingConv::ID CC,
  297     unsigned getNumRegistersForCallingConv(LLVMContext &Context,
  303         LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
  337     EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
  617                         LLVMContext &Context) const override;
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  428               PBB->getTerminator()->getMetadata(LLVMContext::MD_loop)) {
lib/Target/NVPTX/NVPTXISelLowering.h
  471   EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Ctx,
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
   64   LLVMContext &Context = F.getParent()->getContext();
lib/Target/NVPTX/NVVMIntrRange.cpp
   68   if (C->getMetadata(LLVMContext::MD_range))
   71   LLVMContext &Context = C->getParent()->getContext();
   76   C->setMetadata(LLVMContext::MD_range, MDNode::get(Context, LowAndHigh));
lib/Target/PowerPC/PPCCCState.h
   33              SmallVectorImpl<CCValAssign> &locs, LLVMContext &C)
lib/Target/PowerPC/PPCFastISel.cpp
   93   LLVMContext *Context;
lib/Target/PowerPC/PPCISelLowering.cpp
 1423 EVT PPCTargetLowering::getSetCCResultType(const DataLayout &DL, LLVMContext &C,
 6877                                   LLVMContext &Context) const {
lib/Target/PowerPC/PPCISelLowering.h
  676     EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
 1108                         LLVMContext &Context) const override;
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  548   LLVMContext &C = L->getHeader()->getContext();
lib/Target/RISCV/RISCVISelLowering.cpp
  217 EVT RISCVTargetLowering::getSetCCResultType(const DataLayout &DL, LLVMContext &,
 2363     const SmallVectorImpl<ISD::OutputArg> &Outs, LLVMContext &Context) const {
lib/Target/RISCV/RISCVISelLowering.h
  111   EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
  166                       LLVMContext &Context) const override;
lib/Target/Sparc/SparcISelLowering.cpp
 1845 EVT SparcTargetLowering::getSetCCResultType(const DataLayout &, LLVMContext &,
lib/Target/Sparc/SparcISelLowering.h
  123     EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
lib/Target/SystemZ/SystemZCallingConv.h
   41                  SmallVectorImpl<CCValAssign> &locs, LLVMContext &C)
lib/Target/SystemZ/SystemZISelLowering.cpp
  640                                               LLVMContext &, EVT VT) const {
 1641                LLVMContext &Context) const {
lib/Target/SystemZ/SystemZISelLowering.h
  405   EVT getSetCCResultType(const DataLayout &DL, LLVMContext &,
  498                       LLVMContext &Context) const override;
lib/Target/SystemZ/SystemZTDC.cpp
   98     auto &Ctx = M.getContext();
  344   auto &Ctx = M.getContext();
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  113   LLVMContext *Context;
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  255       LLVMContext &C = M.getContext();
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  351   auto &Context = BB->getParent()->getFunction().getContext();
  562                                                   LLVMContext &C,
  854     LLVMContext & /*Context*/) const {
lib/Target/WebAssembly/WebAssemblyISelLowering.h
   67   EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
   78                       LLVMContext &Context) const override;
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  375   LLVMContext &C = CI->getModule()->getContext();
  544   LLVMContext &C = BB->getModule()->getContext();
  627   LLVMContext &C = M.getContext();
  741   LLVMContext &C = F.getContext();
  875   LLVMContext &C = F.getContext();
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  105   LLVMContext &C = M.getContext();
lib/Target/X86/X86CallLowering.cpp
   59   LLVMContext &Context = OrigArg.Ty->getContext();
  199     LLVMContext &Ctx = Val->getType()->getContext();
lib/Target/X86/X86ISelLowering.cpp
 1936 MVT X86TargetLowering::getRegisterTypeForCallingConv(LLVMContext &Context,
 1956 unsigned X86TargetLowering::getNumRegistersForCallingConv(LLVMContext &Context,
 1977     LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
 1996                                           LLVMContext& Context,
 2395     const SmallVectorImpl<ISD::OutputArg> &Outs, LLVMContext &Context) const {
 2706 EVT X86TargetLowering::getTypeForExtReturn(LLVMContext &Context, EVT VT,
 4355   LLVMContext &C = *DAG.getContext();
 4923 bool X86TargetLowering::decomposeMulByConstant(LLVMContext &Context, EVT VT,
 8071                                    unsigned SplatBitSize, LLVMContext &C) {
 8218       LLVMContext *Ctx = DAG.getContext();
 9649     LLVMContext &Context = *DAG.getContext();
18557   LLVMContext *Context = DAG.getContext();
19212   LLVMContext &Ctx = *DAG.getContext();
lib/Target/X86/X86ISelLowering.h
  906     EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
 1125     bool decomposeMulByConstant(LLVMContext &Context, EVT VT,
 1214     MVT getRegisterTypeForCallingConv(LLVMContext &Context, CallingConv::ID CC,
 1217     unsigned getNumRegistersForCallingConv(LLVMContext &Context,
 1222         LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
 1397     EVT getTypeForExtReturn(LLVMContext &Context, EVT VT,
 1403                         LLVMContext &Context) const override;
lib/Target/X86/X86InsertPrefetch.cpp
  160   LLVMContext &Ctx = M.getContext();
lib/Target/X86/X86RetpolineThunks.cpp
  199   LLVMContext &Ctx = M.getContext();
lib/Target/X86/X86WinEHState.cpp
  216   LLVMContext &Context = TheModule->getContext();
  235   LLVMContext &Context = TheModule->getContext();
  257   LLVMContext &Context = TheModule->getContext();
  390   LLVMContext &Context = ParentFunc->getContext();
lib/Target/XCore/XCoreISelLowering.cpp
  411   LLVMContext &Context = *DAG.getContext();
  486   LLVMContext &Context = *DAG.getContext();
 1425                LLVMContext &Context) const {
lib/Target/XCore/XCoreISelLowering.h
  229                      LLVMContext &Context) const override;
lib/Transforms/Coroutines/CoroEarly.cpp
  110     LLVMContext &C = Builder.getContext();
lib/Transforms/Coroutines/CoroElide.cpp
  109   LLVMContext &C = FrameTy->getContext();
lib/Transforms/Coroutines/CoroFrame.cpp
  343   LLVMContext &Context;
  346   PaddingCalculator(LLVMContext &Context, DataLayout const &DL)
  397   LLVMContext &C = F.getContext();
  588   LLVMContext &C = CB->getContext();
lib/Transforms/Coroutines/CoroInternal.h
   56   LLVMContext &Context;
lib/Transforms/Coroutines/CoroSplit.cpp
  240   if (auto Bundle = End->getOperandBundle(LLVMContext::OB_funclet)) {
  255   auto &Context = End->getContext();
  265   LLVMContext &C = F.getContext();
  673   auto &Context = NewF->getContext();
  836   LLVMContext &C = F.getContext();
 1384   LLVMContext &Context = F.getContext();
 1418   LLVMContext &C = M.getContext();
lib/Transforms/IPO/Attributor.cpp
  254 static bool addIfNotExistent(LLVMContext &Ctx, const Attribute &Attr,
  358   LLVMContext &Ctx = IRP.getAnchorValue().getContext();
 2496   void getDeducedAttributes(LLVMContext &Ctx,
 2732   getDeducedAttributes(LLVMContext &Ctx,
 2939   getDeducedAttributes(LLVMContext &Ctx,
 3805   void getDeducedAttributes(LLVMContext &Ctx,
lib/Transforms/IPO/CalledValuePropagation.cpp
  396     C->setMetadata(LLVMContext::MD_callees, Callees);
lib/Transforms/IPO/ConstantMerge.cpp
   73     if (V.first != LLVMContext::MD_dbg)
lib/Transforms/IPO/CrossDSOCFI.cpp
   86     GO.getMetadata(LLVMContext::MD_type, Types);
  103   LLVMContext &Ctx = M.getContext();
  152     BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights);
lib/Transforms/IPO/FunctionImport.cpp
  149                                         LLVMContext &Context) {
lib/Transforms/IPO/GlobalDCE.cpp
  170     GV.getMetadata(LLVMContext::MD_type, Types);
lib/Transforms/IPO/GlobalOpt.cpp
 2112 static AttributeList StripAttr(LLVMContext &C, AttributeList Attrs,
lib/Transforms/IPO/GlobalSplit.cpp
   68   GV.getMetadata(LLVMContext::MD_type, Types);
  107           LLVMContext::MD_type,
lib/Transforms/IPO/LowerTypeTests.cpp
  691     GV->getMetadata(LLVMContext::MD_type, Types);
  785         NewBr->setMetadata(LLVMContext::MD_prof,
  786                            Br->getMetadata(LLVMContext::MD_prof));
  986     if (GV->getMetadata(LLVMContext::MD_absolute_symbol))
  992       GV->setMetadata(LLVMContext::MD_absolute_symbol,
 1932           F->eraseMetadata(LLVMContext::MD_type);
 1934             F->addMetadata(LLVMContext::MD_type,
 1947     GO.getMetadata(LLVMContext::MD_type, Types);
lib/Transforms/IPO/MergeFunctions.cpp
  463       auto &Context = New->getContext();
lib/Transforms/IPO/SampleProfile.cpp
 1418   LLVMContext &Ctx = F.getContext();
 1450           I.setMetadata(LLVMContext::MD_prof,
 1503       TI->setMetadata(LLVMContext::MD_prof,
 1677   auto &Ctx = M.getContext();
lib/Transforms/IPO/StripSymbols.cpp
  302   LLVMContext &C = M.getContext();
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  122     GO.getMetadata(LLVMContext::MD_type, MDs);
  124     GO.eraseMetadata(LLVMContext::MD_type);
  128         GO.addMetadata(LLVMContext::MD_type, *MD);
  132           LLVMContext::MD_type,
  229     if (MDNode *MD = GO->getMetadata(LLVMContext::MD_associated))
  232           if (AssocGO->hasMetadata(LLVMContext::MD_type))
  234     return GO->hasMetadata(LLVMContext::MD_type);
  317   auto &Ctx = MergedM->getContext();
  322     F.getMetadata(LLVMContext::MD_type, Types);
  441     if (GO.hasMetadata(LLVMContext::MD_type))
lib/Transforms/IPO/WholeProgramDevirt.cpp
  786     GV.getMetadata(LLVMContext::MD_type, Types);
 1281   if (GV->hasMetadata(LLVMContext::MD_absolute_symbol))
 1287     GV->setMetadata(LLVMContext::MD_absolute_symbol,
 1925     GV.eraseMetadata(LLVMContext::MD_vcall_visibility);
lib/Transforms/InstCombine/InstCombineCalls.cpp
  170   if (MDNode *M = MI->getMetadata(LLVMContext::MD_tbaa)) {
  172   } else if (MDNode *M = MI->getMetadata(LLVMContext::MD_tbaa_struct)) {
  191     L->setMetadata(LLVMContext::MD_tbaa, CopyMD);
  193     MI->getMetadata(LLVMContext::MD_mem_parallel_loop_access);
  195     L->setMetadata(LLVMContext::MD_mem_parallel_loop_access, LoopMemParallelMD);
  196   MDNode *AccessGroupMD = MI->getMetadata(LLVMContext::MD_access_group);
  198     L->setMetadata(LLVMContext::MD_access_group, AccessGroupMD);
  205     S->setMetadata(LLVMContext::MD_tbaa, CopyMD);
  207     S->setMetadata(LLVMContext::MD_mem_parallel_loop_access, LoopMemParallelMD);
  209     S->setMetadata(LLVMContext::MD_access_group, AccessGroupMD);
 1246   if (IT && IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) {
 1250     II.setMetadata(LLVMContext::MD_range,
 1283   if (IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) {
 1287     II.setMetadata(LLVMContext::MD_range,
 3959       LHS->setMetadata(LLVMContext::MD_nonnull, MD);
 4290     LLVMContext &Ctx = Call.getContext();
 4566   LLVMContext &Ctx = Call.getContext();
lib/Transforms/InstCombine/InstCombineInternal.h
  693     auto &Ctx = InsertAt->getContext();
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  500     case LLVMContext::MD_dbg:
  501     case LLVMContext::MD_tbaa:
  502     case LLVMContext::MD_prof:
  503     case LLVMContext::MD_fpmath:
  504     case LLVMContext::MD_tbaa_struct:
  505     case LLVMContext::MD_alias_scope:
  506     case LLVMContext::MD_noalias:
  507     case LLVMContext::MD_nontemporal:
  508     case LLVMContext::MD_mem_parallel_loop_access:
  509     case LLVMContext::MD_access_group:
  513     case LLVMContext::MD_invariant_load:
  514     case LLVMContext::MD_nonnull:
  515     case LLVMContext::MD_range:
  516     case LLVMContext::MD_align:
  517     case LLVMContext::MD_dereferenceable:
  518     case LLVMContext::MD_dereferenceable_or_null:
lib/Transforms/InstCombine/InstCombinePHI.cpp
  602     LLVMContext::MD_tbaa,
  603     LLVMContext::MD_range,
  604     LLVMContext::MD_invariant_load,
  605     LLVMContext::MD_alias_scope,
  606     LLVMContext::MD_noalias,
  607     LLVMContext::MD_nonnull,
  608     LLVMContext::MD_align,
  609     LLVMContext::MD_dereferenceable,
  610     LLVMContext::MD_dereferenceable_or_null,
  611     LLVMContext::MD_access_group,
lib/Transforms/InstCombine/InstCombineSelect.cpp
 2482           if (MDNode *MD = SI.getMetadata(LLVMContext::MD_prof)) {
 2483             cast<SelectInst>(NewMinMax)->setMetadata(LLVMContext::MD_prof, MD);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  672   LLVMContext *C;
  809   LLVMContext *C;
  873   LLVMContext *C;
 2075     Metadata->setMetadata(LLVMContext::MD_associated, MD);
lib/Transforms/Instrumentation/CGProfile.cpp
   85   LLVMContext &Context = M.getContext();
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  666   if (!checkMDProf(BI->getMetadata(LLVMContext::MD_prof),
  696   if (!checkMDProf(SI->getMetadata(LLVMContext::MD_prof),
 1875   MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  251     LLVMContext& Ctx, AttributeList CallSiteAttrs) {
  324   LLVMContext *Ctx;
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  133   LLVMContext *Ctx;
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  243   LLVMContext *C;
 1305     Descriptor->setMetadata(LLVMContext::MD_associated,
 1398   Dummy->setMetadata(LLVMContext::MD_associated,
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  315         LLVMContext::MD_prof,
  370     I->setMetadata(LLVMContext::MD_prof, nullptr);
lib/Transforms/Instrumentation/InstrOrderFile.cpp
   68     LLVMContext &Ctx = M.getContext();
  119     LLVMContext &Ctx = M.getContext();
lib/Transforms/Instrumentation/InstrProfiling.cpp
  553   LLVMContext &Ctx = M.getContext();
  777   LLVMContext &Ctx = M->getContext();
  894   auto &Ctx = M->getContext();
  922   auto &Ctx = M->getContext();
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  497   LLVMContext *C;
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1141   auto &Ctx = M->getContext();
 1420     auto &Ctx = M->getContext();
 1524   auto &Ctx = M.getContext();
 1713   TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
 1746   TI->setMetadata(llvm::LLVMContext::MD_irr_loop,
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
  352   auto &Ctx = Func.getContext();
  359   MI->setMetadata(LLVMContext::MD_prof, nullptr);
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  241   LLVMContext *C;
  661   Array->addMetadata(LLVMContext::MD_associated, *MD);
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  300   if (MDNode *Tag = I->getMetadata(LLVMContext::MD_tbaa))
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  414   LLVMContext &C = Release->getContext();
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  726     if (Bundle.getTagID() == LLVMContext::OB_funclet)
  860         LLVMContext &C = Inst->getContext();
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  562   if (auto DeoptBundle = CS.getOperandBundle(LLVMContext::OB_deopt)) {
  599   LLVMContext &Ctx = CS.getInstruction()->getContext();
lib/Transforms/Scalar/DeadStoreElimination.cpp
 1261             unsigned MDToKeep[] = {LLVMContext::MD_dbg, LLVMContext::MD_tbaa,
 1261             unsigned MDToKeep[] = {LLVMContext::MD_dbg, LLVMContext::MD_tbaa,
 1262                                    LLVMContext::MD_alias_scope,
 1263                                    LLVMContext::MD_noalias,
 1264                                    LLVMContext::MD_nontemporal};
lib/Transforms/Scalar/EarlyCSE.cpp
  655         return LI->hasMetadata(LLVMContext::MD_invariant_load);
  794     if (LI->hasMetadata(LLVMContext::MD_invariant_load))
lib/Transforms/Scalar/GVN.cpp
 1256     if (auto *MD = LI->getMetadata(LLVMContext::MD_invariant_load))
 1257       NewLoad->setMetadata(LLVMContext::MD_invariant_load, MD);
 1258     if (auto *InvGroupMD = LI->getMetadata(LLVMContext::MD_invariant_group))
 1259       NewLoad->setMetadata(LLVMContext::MD_invariant_group, InvGroupMD);
 1260     if (auto *RangeMD = LI->getMetadata(LLVMContext::MD_range))
 1261       NewLoad->setMetadata(LLVMContext::MD_range, RangeMD);
lib/Transforms/Scalar/GVNHoist.cpp
  245       LLVMContext::MD_tbaa,           LLVMContext::MD_alias_scope,
  245       LLVMContext::MD_tbaa,           LLVMContext::MD_alias_scope,
  246       LLVMContext::MD_noalias,        LLVMContext::MD_range,
  246       LLVMContext::MD_noalias,        LLVMContext::MD_range,
  247       LLVMContext::MD_fpmath,         LLVMContext::MD_invariant_load,
  247       LLVMContext::MD_fpmath,         LLVMContext::MD_invariant_load,
  248       LLVMContext::MD_invariant_group, LLVMContext::MD_access_group};
  248       LLVMContext::MD_invariant_group, LLVMContext::MD_access_group};
lib/Transforms/Scalar/GuardWidening.cpp
  653   auto &Ctx = CheckCond->getContext();
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  413   LLVMContext &Context = L.getHeader()->getContext();
  602   LLVMContext &Ctx;
 1797   LLVMContext &Context = Preheader->getContext();
lib/Transforms/Scalar/InferAddressSpaces.cpp
  789   MDNode *TBAA = MI->getMetadata(LLVMContext::MD_tbaa);
  790   MDNode *ScopeMD = MI->getMetadata(LLVMContext::MD_alias_scope);
  791   MDNode *NoAliasMD = MI->getMetadata(LLVMContext::MD_noalias);
  810       MDNode *TBAAStruct = MTI->getMetadata(LLVMContext::MD_tbaa_struct);
lib/Transforms/Scalar/JumpThreading.cpp
  289     PredBr->setMetadata(LLVMContext::MD_prof,
 2148   MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
 2252         LLVMContext::MD_prof,
lib/Transforms/Scalar/LICM.cpp
  714     LLVMContext &C = BB->getContext();
 1103     if (LI->hasMetadata(LLVMContext::MD_invariant_load))
 1372       if (Bundle.getTagID() == LLVMContext::OB_funclet)
lib/Transforms/Scalar/LoopDistribute.cpp
  861     LLVMContext &Ctx = F->getContext();
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  486   if (SI->getMetadata(LLVMContext::MD_nontemporal))
 2156   LLVMContext &Context = BCmpValTy->getContext();
 2236   LLVMContext &Context = Func->getContext();
lib/Transforms/Scalar/LoopPredication.cpp
  546             LI->hasMetadata(LLVMContext::MD_invariant_load))
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  199   static MemAccessTy getUnknown(LLVMContext &Ctx,
lib/Transforms/Scalar/LoopUnswitch.cpp
  646   LLVMContext &Context = loopHeader->getContext();
 1060   LLVMContext &Context = CurrentBB->getContext();
 1457   LLVMContext &Context = Val->getContext();
 1663       LLVMContext &Ctx = Inst->getContext();
lib/Transforms/Scalar/LoopVersioningLICM.cpp
  555           LLVMContext::MD_noalias,
  556           MDNode::concatenate(Inst.getMetadata(LLVMContext::MD_noalias),
  560           LLVMContext::MD_alias_scope,
  561           MDNode::concatenate(Inst.getMetadata(LLVMContext::MD_alias_scope),
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
   79       LLVMContext::MD_misexpect,
   86   SI.setMetadata(LLVMContext::MD_prof,
  228           LLVMContext::MD_prof,
  232           LLVMContext::MD_prof,
  300   BSI.setMetadata(LLVMContext::MD_misexpect, ExpNode);
  309   BSI.setMetadata(LLVMContext::MD_prof, Node);
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  543   if (SI->getMetadata(LLVMContext::MD_nontemporal))
  912   unsigned KnownIDs[] = {LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope,
  912   unsigned KnownIDs[] = {LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope,
  913                          LLVMContext::MD_noalias,
  914                          LLVMContext::MD_invariant_group,
  915                          LLVMContext::MD_access_group};
lib/Transforms/Scalar/MergeICmps.cpp
  611   LLVMContext &Context = NextCmpBlock->getContext();
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  289       Call->getOperandBundle(LLVMContext::OB_deopt);
 1254   LLVMContext &Ctx = AL.getContext();
 1436           Call->getOperandBundle(LLVMContext::OB_gc_transition)) {
 2383 static void RemoveNonValidAttrAtIndex(LLVMContext &Ctx, AttrHolder &AH,
 2400   LLVMContext &Ctx = F.getContext();
 2430   unsigned ValidMetadataAfterRS4GC[] = {LLVMContext::MD_tbaa,
 2431                          LLVMContext::MD_range,
 2432                          LLVMContext::MD_alias_scope,
 2433                          LLVMContext::MD_nontemporal,
 2434                          LLVMContext::MD_nonnull,
 2435                          LLVMContext::MD_align,
 2436                          LLVMContext::MD_type};
 2446   LLVMContext &Ctx = F.getContext();
 2466     if (MDNode *Tag = I.getMetadata(LLVMContext::MD_tbaa)) {
 2468       I.setMetadata(LLVMContext::MD_tbaa, MutableTBAA);
lib/Transforms/Scalar/SROA.cpp
 2535       if (MDNode *N = LI.getMetadata(LLVMContext::MD_nonnull))
 2639     Store->copyMetadata(SI, {LLVMContext::MD_mem_parallel_loop_access,
 2640                              LLVMContext::MD_access_group});
 2708     NewSI->copyMetadata(SI, {LLVMContext::MD_mem_parallel_loop_access,
 2709                              LLVMContext::MD_access_group});
 3868       PLoad->copyMetadata(*LI, {LLVMContext::MD_mem_parallel_loop_access,
 3869                                 LLVMContext::MD_access_group});
 3925         PStore->copyMetadata(*LI, {LLVMContext::MD_mem_parallel_loop_access,
 3926                                    LLVMContext::MD_access_group});
lib/Transforms/Scalar/Scalarizer.cpp
  388   return (Tag == LLVMContext::MD_tbaa
  389           || Tag == LLVMContext::MD_fpmath
  390           || Tag == LLVMContext::MD_tbaa_struct
  391           || Tag == LLVMContext::MD_invariant_load
  392           || Tag == LLVMContext::MD_alias_scope
  393           || Tag == LLVMContext::MD_noalias
  395           || Tag == LLVMContext::MD_access_group);
lib/Transforms/Scalar/StructurizeCFG.cpp
  302   LLVMContext &Context = R->getEntry()->getContext();
  723   LLVMContext &Context = Func->getContext();
lib/Transforms/Utils/BasicBlockUtils.cpp
  819   LLVMContext &C = Head->getContext();
  833   HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights);
  869   LLVMContext &C = Head->getContext();
  878   HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights);
lib/Transforms/Utils/BuildLibCalls.cpp
  849   LLVMContext &Context = B.GetInsertBlock()->getContext();
  870   LLVMContext &Context = B.GetInsertBlock()->getContext();
  915   LLVMContext &Context = B.GetInsertBlock()->getContext();
  931   LLVMContext &Context = B.GetInsertBlock()->getContext();
  940   LLVMContext &Context = B.GetInsertBlock()->getContext();
  949   LLVMContext &Context = B.GetInsertBlock()->getContext();
 1254   LLVMContext &Context = B.GetInsertBlock()->getContext();
 1279   LLVMContext &Context = B.GetInsertBlock()->getContext();
 1320   LLVMContext &Context = B.GetInsertBlock()->getContext();
 1382   LLVMContext &Context = B.GetInsertBlock()->getContext();
lib/Transforms/Utils/CallPromotionUtils.cpp
  376   CS.getInstruction()->setMetadata(LLVMContext::MD_prof, nullptr);
  377   CS.getInstruction()->setMetadata(LLVMContext::MD_callees, nullptr);
  397   LLVMContext &Ctx = Callee->getContext();
lib/Transforms/Utils/CodeExtractor.cpp
 1010   LLVMContext &Ctx = M->getContext();
 1069   LLVMContext &Context = M->getContext();
 1381       LLVMContext::MD_prof,
lib/Transforms/Utils/EntryExitInstrumenter.cpp
   23   LLVMContext &C = InsertionPt->getParent()->getContext();
lib/Transforms/Utils/EscapeEnumerator.cpp
   22   LLVMContext &C = M->getContext();
   67   LLVMContext &C = F.getContext();
lib/Transforms/Utils/FunctionComparator.cpp
  554     return cmpRangeMetadata(LI->getMetadata(LLVMContext::MD_range),
  555         cast<LoadInst>(R)->getMetadata(LLVMContext::MD_range));
  584     return cmpRangeMetadata(L->getMetadata(LLVMContext::MD_range),
  585                             R->getMetadata(LLVMContext::MD_range));
lib/Transforms/Utils/GuardUtils.cpp
   28   OperandBundleDef DeoptOB(*Guard->getOperandBundle(LLVMContext::OB_deopt));
   44   if (auto *MD = Guard->getMetadata(LLVMContext::MD_make_implicit))
   45     CheckBI->setMetadata(LLVMContext::MD_make_implicit, MD);
   48   CheckBI->setMetadata(LLVMContext::MD_prof,
lib/Transforms/Utils/InlineFunction.cpp
  547     if (auto FuncletBundle = CI->getOperandBundle(LLVMContext::OB_funclet)) {
  773     CS.getInstruction()->getMetadata(LLVMContext::MD_mem_parallel_loop_access);
  775       CS.getInstruction()->getMetadata(LLVMContext::MD_access_group);
  790               NI->getMetadata(LLVMContext::MD_mem_parallel_loop_access)) {
  792       NI->setMetadata(LLVMContext::MD_mem_parallel_loop_access, M);
  794         NI->setMetadata(LLVMContext::MD_mem_parallel_loop_access, M);
  800           NI->getMetadata(LLVMContext::MD_access_group), CallAccessGroup);
  801       NI->setMetadata(LLVMContext::MD_access_group, UnitedAccGroups);
  824       if (const MDNode *M = J.getMetadata(LLVMContext::MD_alias_scope))
  826       if (const MDNode *M = J.getMetadata(LLVMContext::MD_noalias))
  884     if (MDNode *M = NI->getMetadata(LLVMContext::MD_alias_scope)) {
  890               CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope))
  892       NI->setMetadata(LLVMContext::MD_alias_scope, NewMD);
  895               CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope))
  896         NI->setMetadata(LLVMContext::MD_alias_scope, M);
  899     if (MDNode *M = NI->getMetadata(LLVMContext::MD_noalias)) {
  905               CS.getInstruction()->getMetadata(LLVMContext::MD_noalias))
  907       NI->setMetadata(LLVMContext::MD_noalias, NewMD);
  909       if (MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_noalias))
  910         NI->setMetadata(LLVMContext::MD_noalias, M);
 1105         NI->setMetadata(LLVMContext::MD_noalias,
 1107                             NI->getMetadata(LLVMContext::MD_noalias),
 1132             LLVMContext::MD_alias_scope,
 1133             MDNode::concatenate(NI->getMetadata(LLVMContext::MD_alias_scope),
 1351                                LLVMContext &Ctx,
 1361                             LLVMContext &Ctx,
 1394   auto &Ctx = Fn->getContext();
 1413       if (MDNode *LoopID = BI->getMetadata(LLVMContext::MD_loop)) {
 1416         BI->setMetadata(LLVMContext::MD_loop, NewLoopID);
 1563       if (Tag == LLVMContext::OB_deopt)
 1566       if (Tag == LLVMContext::OB_funclet)
 1622           CS.getOperandBundle(LLVMContext::OB_funclet);
 1733         CS.getOperandBundle(LLVMContext::OB_deopt);
 1748           if (ChildOB.getTagID() != LLVMContext::OB_deopt) {
 2069         if (CS.getOperandBundle(LLVMContext::OB_funclet))
lib/Transforms/Utils/LCSSA.cpp
  221     auto &Ctx = I->getContext();
lib/Transforms/Utils/Local.cpp
  183         MDNode *MD = SI->getMetadata(LLVMContext::MD_prof);
  201           SI->setMetadata(LLVMContext::MD_prof,
  275       MDNode *MD = SI->getMetadata(LLVMContext::MD_prof);
  283         NewBr->setMetadata(LLVMContext::MD_prof,
  290       MDNode *MakeImplicitMD = SI->getMetadata(LLVMContext::MD_make_implicit);
  292         NewBr->setMetadata(LLVMContext::MD_make_implicit, MakeImplicitMD);
 1468   LLVMContext &C = BB->getContext();
 1601 static MetadataAsValue *wrapValueInMetadata(LLVMContext &C, Value *V) {
 1616   auto &Ctx = I.getContext();
 1768     LLVMContext &Ctx = DII->getContext();
 2296       case LLVMContext::MD_dbg:
 2298       case LLVMContext::MD_tbaa:
 2301       case LLVMContext::MD_alias_scope:
 2304       case LLVMContext::MD_noalias:
 2305       case LLVMContext::MD_mem_parallel_loop_access:
 2308       case LLVMContext::MD_access_group:
 2309         K->setMetadata(LLVMContext::MD_access_group,
 2312       case LLVMContext::MD_range:
 2323       case LLVMContext::MD_fpmath:
 2326       case LLVMContext::MD_invariant_load:
 2330       case LLVMContext::MD_nonnull:
 2335       case LLVMContext::MD_invariant_group:
 2338       case LLVMContext::MD_align:
 2342       case LLVMContext::MD_dereferenceable:
 2343       case LLVMContext::MD_dereferenceable_or_null:
 2347       case LLVMContext::MD_preserve_access_index:
 2358   if (auto *JMD = J->getMetadata(LLVMContext::MD_invariant_group))
 2360       K->setMetadata(LLVMContext::MD_invariant_group, JMD);
 2366       LLVMContext::MD_tbaa,            LLVMContext::MD_alias_scope,
 2366       LLVMContext::MD_tbaa,            LLVMContext::MD_alias_scope,
 2367       LLVMContext::MD_noalias,         LLVMContext::MD_range,
 2367       LLVMContext::MD_noalias,         LLVMContext::MD_range,
 2368       LLVMContext::MD_invariant_load,  LLVMContext::MD_nonnull,
 2368       LLVMContext::MD_invariant_load,  LLVMContext::MD_nonnull,
 2369       LLVMContext::MD_invariant_group, LLVMContext::MD_align,
 2369       LLVMContext::MD_invariant_group, LLVMContext::MD_align,
 2370       LLVMContext::MD_dereferenceable,
 2371       LLVMContext::MD_dereferenceable_or_null,
 2372       LLVMContext::MD_access_group,    LLVMContext::MD_preserve_access_index};
 2372       LLVMContext::MD_access_group,    LLVMContext::MD_preserve_access_index};
 2393     case LLVMContext::MD_dbg:
 2394     case LLVMContext::MD_tbaa:
 2395     case LLVMContext::MD_prof:
 2396     case LLVMContext::MD_fpmath:
 2397     case LLVMContext::MD_tbaa_struct:
 2398     case LLVMContext::MD_invariant_load:
 2399     case LLVMContext::MD_alias_scope:
 2400     case LLVMContext::MD_noalias:
 2401     case LLVMContext::MD_nontemporal:
 2402     case LLVMContext::MD_mem_parallel_loop_access:
 2403     case LLVMContext::MD_access_group:
 2408     case LLVMContext::MD_nonnull:
 2412     case LLVMContext::MD_align:
 2413     case LLVMContext::MD_dereferenceable:
 2414     case LLVMContext::MD_dereferenceable_or_null:
 2420     case LLVMContext::MD_range:
 2451       LLVMContext::MD_tbaa,            LLVMContext::MD_alias_scope,
 2451       LLVMContext::MD_tbaa,            LLVMContext::MD_alias_scope,
 2452       LLVMContext::MD_noalias,         LLVMContext::MD_range,
 2452       LLVMContext::MD_noalias,         LLVMContext::MD_range,
 2453       LLVMContext::MD_fpmath,          LLVMContext::MD_invariant_load,
 2453       LLVMContext::MD_fpmath,          LLVMContext::MD_invariant_load,
 2454       LLVMContext::MD_invariant_group, LLVMContext::MD_nonnull,
 2454       LLVMContext::MD_invariant_group, LLVMContext::MD_nonnull,
 2455       LLVMContext::MD_access_group,    LLVMContext::MD_preserve_access_index};
 2455       LLVMContext::MD_access_group,    LLVMContext::MD_preserve_access_index};
 2547     NewLI.setMetadata(LLVMContext::MD_nonnull, N);
 2562   NewLI.setMetadata(LLVMContext::MD_range,
 2580     NewLI.setMetadata(LLVMContext::MD_nonnull, NN);
lib/Transforms/Utils/LoopUnroll.cpp
   80       auto &C = I->getContext();
lib/Transforms/Utils/LoopUnrollPeel.cpp
  413   LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode);
  455   LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode);
  719     LatchBRCopy->setMetadata(LLVMContext::MD_loop, nullptr);
lib/Transforms/Utils/LoopUtils.cpp
  201   LLVMContext &Context = TheLoop->getHeader()->getContext();
  239   LLVMContext &Context = TheLoop->getHeader()->getContext();
lib/Transforms/Utils/LoopVersioning.cpp
  176   LLVMContext &Context = VersionedLoop->getHeader()->getContext();
  227   LLVMContext &Context = VersionedLoop->getHeader()->getContext();
  236         LLVMContext::MD_alias_scope,
  238             VersionedInst->getMetadata(LLVMContext::MD_alias_scope),
  245           LLVMContext::MD_noalias,
  247               VersionedInst->getMetadata(LLVMContext::MD_noalias),
lib/Transforms/Utils/LowerMemIntrinsics.cpp
   37   LLVMContext &Ctx = PreLoopBB->getContext();
  146   LLVMContext &Ctx = PreLoopBB->getContext();
lib/Transforms/Utils/MisExpect.cpp
   73 void emitMisexpectDiagnostic(Instruction *I, LLVMContext &Ctx,
   97   if (auto *MisExpectData = I->getMetadata(LLVMContext::MD_misexpect)) {
  148   if (auto *MD = I.getMetadata(LLVMContext::MD_prof)) {
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  400     if (AC && LI->getMetadata(LLVMContext::MD_nonnull) &&
  493       if (AC && LI->getMetadata(LLVMContext::MD_nonnull) &&
  949       if (AC && LI->getMetadata(LLVMContext::MD_nonnull) &&
lib/Transforms/Utils/SimplifyCFG.cpp
  794   SI->setMetadata(LLVMContext::MD_prof, N);
  808   I->setMetadata(LLVMContext::MD_prof, N);
  957   MDNode *ProfMD = I->getMetadata(LLVMContext::MD_prof);
  970   MDNode *MD = TI->getMetadata(LLVMContext::MD_prof);
 1308       unsigned KnownIDs[] = {LLVMContext::MD_tbaa,
 1309                              LLVMContext::MD_range,
 1310                              LLVMContext::MD_fpmath,
 1311                              LLVMContext::MD_invariant_load,
 1312                              LLVMContext::MD_nonnull,
 1313                              LLVMContext::MD_invariant_group,
 1314                              LLVMContext::MD_align,
 1315                              LLVMContext::MD_dereferenceable,
 1316                              LLVMContext::MD_dereferenceable_or_null,
 1317                              LLVMContext::MD_mem_parallel_loop_access,
 1318                              LLVMContext::MD_access_group,
 1319                              LLVMContext::MD_preserve_access_index};
 2811         PBI->setMetadata(LLVMContext::MD_prof, nullptr);
 2861     if (MDNode *LoopMD = BI->getMetadata(LLVMContext::MD_loop))
 2862       PBI->setMetadata(LLVMContext::MD_loop, LoopMD);
lib/Transforms/Utils/VNCoercion.cpp
  347   LLVMContext &Ctx = SrcVal->getType()->getContext();
  466   LLVMContext &Ctx = LoadTy->getContext();
lib/Transforms/Utils/ValueMapper.cpp
  900     LLVMContext &C = CS->getContext();
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  668         return LI->hasMetadata(LLVMContext::MD_invariant_load);
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
   94   LLVMContext &Context = TheLoop->getHeader()->getContext();
  740         if (ST->getMetadata(LLVMContext::MD_nontemporal)) {
  756         if (LD->getMetadata(LLVMContext::MD_nontemporal)) {
lib/Transforms/Vectorize/LoopVectorize.cpp
 6601     LLVMContext &Context = L->getHeader()->getContext();
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3321   LLVMContext &Context = FirstReduced->getContext();
tools/bugpoint/BugDriver.cpp
   79                      unsigned memlimit, bool use_valgrind, LLVMContext &ctxt)
   93                                              LLVMContext &Ctxt) {
tools/bugpoint/BugDriver.h
   49   LLVMContext &Context;
   68             unsigned memlimit, bool use_valgrind, LLVMContext &ctxt);
   73   LLVMContext &getContext() const { return Context; }
  276                                        LLVMContext &ctxt);
tools/bugpoint/bugpoint.cpp
  180   LLVMContext Context;
tools/clang/examples/clang-interpreter/main.cpp
  211   std::unique_ptr<llvm::LLVMContext> Ctx(Act->takeLLVMContext());
tools/clang/include/clang/CodeGen/CodeGenAction.h
   50   llvm::LLVMContext *VMContext;
   59   CodeGenAction(unsigned _Act, llvm::LLVMContext *_VMContext = nullptr);
   78   llvm::LLVMContext *takeLLVMContext();
   86   EmitAssemblyAction(llvm::LLVMContext *_VMContext = nullptr);
   92   EmitBCAction(llvm::LLVMContext *_VMContext = nullptr);
   98   EmitLLVMAction(llvm::LLVMContext *_VMContext = nullptr);
  104   EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext = nullptr);
  110   EmitCodeGenOnlyAction(llvm::LLVMContext *_VMContext = nullptr);
  116   EmitObjAction(llvm::LLVMContext *_VMContext = nullptr);
tools/clang/include/clang/CodeGen/ModuleBuilder.h
   89   llvm::Module* StartModule(llvm::StringRef ModuleName, llvm::LLVMContext &C);
  100                                  llvm::LLVMContext& C,
tools/clang/lib/CodeGen/ABIInfo.h
   65     llvm::LLVMContext &getVMContext() const;
tools/clang/lib/CodeGen/CGBuilder.h
   49   CGBuilderTy(const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C)
   52               llvm::LLVMContext &C, const llvm::ConstantFolder &F,
tools/clang/lib/CodeGen/CGBuiltin.cpp
  417   LLVMContext &C = CGF.CGM.getLLVMContext();
  482     Call->setMetadata(llvm::LLVMContext::MD_range, RNode);
 5922   LLVMContext &Context = CGM.getLLVMContext();
 7252     LLVMContext &Context = CGM.getLLVMContext();
 7415     LLVMContext &Context = CGM.getLLVMContext();
tools/clang/lib/CodeGen/CGCUDANV.cpp
   41   llvm::LLVMContext &Context;
tools/clang/lib/CodeGen/CGExpr.cpp
 1612   auto &Ctx = getLLVMContext();
 1686       Load->setMetadata(llvm::LLVMContext::MD_range, RangeInfo);
 3059   Branch->setMetadata(llvm::LLVMContext::MD_prof, Node);
 3125   BI->setMetadata(llvm::LLVMContext::MD_prof, Node);
 3165   auto &Ctx = M->getContext();
 5005   cast<llvm::Instruction>(Val)->setMetadata(llvm::LLVMContext::MD_fpmath, Node);
tools/clang/lib/CodeGen/CGExprAgg.cpp
 2019     Inst->setMetadata(llvm::LLVMContext::MD_tbaa_struct, TBAAStructTag);
tools/clang/lib/CodeGen/CGExprComplex.cpp
  722       Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight);
  729       Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight);
tools/clang/lib/CodeGen/CGExprConstant.cpp
  987   llvm::LLVMContext &VMContext;
tools/clang/lib/CodeGen/CGExprScalar.cpp
  234   llvm::LLVMContext &VMContext;
 4557                                                  llvm::LLVMContext &VMContext,
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp
   76   llvm::LLVMContext &Ctx = CGM.getLLVMContext();
tools/clang/lib/CodeGen/CGLoopInfo.cpp
   23   LLVMContext &Ctx = Header->getContext();
   37   LLVMContext &Ctx = Header->getContext();
   83   LLVMContext &Ctx = Header->getContext();
  146   LLVMContext &Ctx = Header->getContext();
  215   LLVMContext &Ctx = Header->getContext();
  317   LLVMContext &Ctx = Header->getContext();
  368   LLVMContext &Ctx = Header->getContext();
  421     LLVMContext &Ctx = Header->getContext();
  463     LLVMContext &Ctx = Header->getContext();
  490   LLVMContext &Ctx = Header->getContext();
  790         I->setMetadata(llvm::LLVMContext::MD_loop, L.getLoopID());
tools/clang/lib/CodeGen/CGObjC.cpp
 3724   auto &Context = getLLVMContext();
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  338   llvm::LLVMContext &VMContext;
tools/clang/lib/CodeGen/CGObjCMac.cpp
   52   llvm::LLVMContext &VMContext;
  843   llvm::LLVMContext &VMContext;
 1827 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext,
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp
   37   llvm::LLVMContext& Ctx = CGM.getLLVMContext();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1787       if (!F->hasMetadata(llvm::LLVMContext::MD_callback)) {
 1788         llvm::LLVMContext &Ctx = F->getContext();
 1796             llvm::LLVMContext::MD_callback,
 2225       if (!F->hasMetadata(llvm::LLVMContext::MD_callback)) {
 2226         llvm::LLVMContext &Ctx = F->getContext();
 2234             llvm::LLVMContext::MD_callback,
 4021   llvm::LLVMContext &C = M.getContext();
 4062   llvm::LLVMContext &C = M.getContext();
 4239   llvm::LLVMContext C;
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1843   llvm::LLVMContext &Ctx = CGM.getLLVMContext();
tools/clang/lib/CodeGen/CGStmt.cpp
 1714       SwitchInsn->setMetadata(llvm::LLVMContext::MD_unpredictable,
 1724       SwitchInsn->setMetadata(llvm::LLVMContext::MD_prof,
tools/clang/lib/CodeGen/CodeGenAction.cpp
  259       LLVMContext &Ctx = getModule()->getContext();
  260       LLVMContext::InlineAsmDiagHandlerTy OldHandler =
  840 CodeGenAction::CodeGenAction(unsigned _Act, LLVMContext *_VMContext)
  841     : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext),
  865 llvm::LLVMContext *CodeGenAction::takeLLVMContext() {
 1076     LLVMContext &Ctx = TheModule->getContext();
 1094 EmitAssemblyAction::EmitAssemblyAction(llvm::LLVMContext *_VMContext)
 1098 EmitBCAction::EmitBCAction(llvm::LLVMContext *_VMContext)
 1102 EmitLLVMAction::EmitLLVMAction(llvm::LLVMContext *_VMContext)
 1106 EmitLLVMOnlyAction::EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext)
 1110 EmitCodeGenOnlyAction::EmitCodeGenOnlyAction(llvm::LLVMContext *_VMContext)
 1114 EmitObjAction::EmitObjAction(llvm::LLVMContext *_VMContext)
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  542   llvm::LLVMContext &Context = getLLVMContext();
tools/clang/lib/CodeGen/CodeGenFunction.h
 1660   llvm::LLVMContext &getLLVMContext() { return CGM.getLLVMContext(); }
tools/clang/lib/CodeGen/CodeGenModule.cpp
  103   llvm::LLVMContext &LLVMContext = M.getContext();
  580       llvm::LLVMContext &Ctx = TheModule.getContext();
  642   llvm::LLVMContext &Ctx = TheModule.getContext();
  719     Inst->setMetadata(llvm::LLVMContext::MD_tbaa, Tag);
  724   I->setMetadata(llvm::LLVMContext::MD_invariant_group,
 1871     llvm::LLVMContext &Ctx = F->getContext();
 1878     F->addMetadata(llvm::LLVMContext::MD_callback,
 1941   auto &C = getLLVMContext();
 1972   llvm::LLVMContext &Context = CGM.getLLVMContext();
 5553 static llvm::Constant *GetPointerConstant(llvm::LLVMContext &Context,
 5624   llvm::LLVMContext &Context = getLLVMContext();
 5650   llvm::LLVMContext &Ctx = TheModule.getContext();
 5660   llvm::LLVMContext &Ctx = TheModule.getContext();
 5691   llvm::LLVMContext &Ctx = TheModule.getContext();
tools/clang/lib/CodeGen/CodeGenModule.h
  305   llvm::LLVMContext &VMContext;
  685   llvm::LLVMContext &getLLVMContext() { return VMContext; }
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  289 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext,
tools/clang/lib/CodeGen/CodeGenTypes.h
  120   llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); }
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1323   llvm::LLVMContext &Ctx = CGM.getLLVMContext();
 1374   llvm::LLVMContext &Ctx = CGM.getLLVMContext();
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1806           llvm::LLVMContext::MD_invariant_load,
 2673     llvm::LLVMContext &Context = CGM.getModule().getContext();
 2758   llvm::LLVMContext &VMContext;
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 3520   llvm::LLVMContext &VMContext;
tools/clang/lib/CodeGen/ModuleBuilder.cpp
   79                       llvm::LLVMContext &C,
  130                               llvm::LLVMContext &C) {
  331                                          llvm::LLVMContext &C) {
  339     llvm::LLVMContext &C, CoverageSourceInfo *CoverageInfo) {
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
   53   std::unique_ptr<llvm::LLVMContext> VMContext;
  167     VMContext.reset(new llvm::LLVMContext());
  240     std::unique_ptr<llvm::LLVMContext> VMContext = std::move(this->VMContext);
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   40   llvm::LLVMContext &VMContext = CGM.getLLVMContext();
   94   llvm::LLVMContext &VMContext = CGM.getLLVMContext();
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  554   auto &ctx = CGM.getLLVMContext();
tools/clang/lib/CodeGen/TargetInfo.cpp
   52                                    llvm::LLVMContext &LLVMContext) {
  193 llvm::LLVMContext &ABIInfo::getVMContext() const {
  470                                       llvm::LLVMContext &Ctx) const {
 1676     llvm::LLVMContext &LLVMContext = getVMContext();
 5980                               llvm::LLVMContext &VMContext) {
 6399                                             llvm::LLVMContext &LLVMContext,
 6517   llvm::LLVMContext &Ctx = M->getContext();
 7396         llvm::LLVMContext &Context = F->getContext();
 7635     llvm::LLVMContext &LLVMContext = getVMContext();
 7909                                          llvm::LLVMContext &Ctx) const override;
 8079                                             llvm::LLVMContext &Ctx) const {
 8207     llvm::LLVMContext &Context;
 8213     CoerceBuilder(llvm::LLVMContext &c, const llvm::DataLayout &dl)
 8561     llvm::LLVMContext &LLVMContext = getVMContext();
 8872     llvm::LLVMContext &Ctx = CGM.getModule().getContext();
 9895   auto &C = CGF.getLLVMContext();
 9925   auto &C = CGF.getLLVMContext();
tools/clang/lib/CodeGen/TargetInfo.h
  279                                                  llvm::LLVMContext &Ctx) const;
tools/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
   97   LLVMContext Context;
  146   LLVMContext Context;
tools/clang/tools/clang-import-test/clang-import-test.cpp
  224                                             llvm::LLVMContext &LLVMCtx) {
  311   auto LLVMCtx = std::make_unique<llvm::LLVMContext>();
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
   65   LLVMContext C;
tools/clang/unittests/CodeGen/BufferSourceTest.cpp
   41     LLVMContext Context;
tools/clang/unittests/CodeGen/CodeGenExternalTest.cpp
  260     LLVMContext Context;
tools/clang/unittests/CodeGen/IncrementalProcessingTest.cpp
  111     LLVMContext Context;
tools/clang/unittests/CodeGen/TBAAMetadataTest.cpp
   28   LLVMContext Context;
tools/clang/unittests/Frontend/CodeGenActionTest.cpp
   29   NullCodeGenAction(llvm::LLVMContext *_VMContext = nullptr)
tools/llc/llc.cpp
  185 static int compileModule(char **, LLVMContext &);
  266     errs() << LLVMContext::getDiagnosticMessagePrefix(DI.getSeverity()) << ": ";
  294   LLVMContext Context;
  391 static int compileModule(char **argv, LLVMContext &Context) {
tools/lldb/include/lldb/Expression/IRExecutionUnit.h
   61   IRExecutionUnit(std::unique_ptr<llvm::LLVMContext> &context_up,
  371   std::unique_ptr<llvm::LLVMContext> m_context_up;
tools/lldb/source/Expression/IRExecutionUnit.cpp
   39 IRExecutionUnit::IRExecutionUnit(std::unique_ptr<llvm::LLVMContext> &context_up,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  611   m_llvm_context.reset(new LLVMContext());
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
  173   std::unique_ptr<llvm::LLVMContext>
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1750   LLVMContext &context(m_module->getContext());
tools/lli/lli.cpp
  305 static void addCygMingExtraModule(ExecutionEngine &EE, LLVMContext &Context,
  383   LLVMContext Context;
  747   orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
tools/llvm-as/llvm-as.cpp
  116   LLVMContext Context;
tools/llvm-cat/llvm-cat.cpp
   55   LLVMContext Context;
tools/llvm-diff/llvm-diff.cpp
   32 static std::unique_ptr<Module> readModule(LLVMContext &Context,
   70   LLVMContext Context;
tools/llvm-dis/llvm-dis.cpp
  154   LLVMContext Context;
tools/llvm-exegesis/lib/Assembler.cpp
  151 createModule(const std::unique_ptr<LLVMContext> &Context, const DataLayout DL) {
  158   std::unique_ptr<LLVMContext> Context = std::make_unique<LLVMContext>();
  158   std::unique_ptr<LLVMContext> Context = std::make_unique<LLVMContext>();
  175   auto Context = std::make_unique<LLVMContext>();
  291     : Context(std::make_unique<LLVMContext>()) {
tools/llvm-exegesis/lib/Assembler.h
  118   std::unique_ptr<LLVMContext> Context;
tools/llvm-extract/llvm-extract.cpp
  137   LLVMContext Context;
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
   67   LLVMContext Context;
   85   LLVMContext Context;
tools/llvm-link/llvm-link.cpp
  118                                         LLVMContext &Context,
  275 static bool linkFiles(const char *argv0, LLVMContext &Context, Linker &L,
  352   LLVMContext Context;
tools/llvm-lto/llvm-lto.cpp
  318   std::unique_ptr<LLVMContext> Context = std::make_unique<LLVMContext>();
  318   std::unique_ptr<LLVMContext> Context = std::make_unique<LLVMContext>();
  491                                                    LLVMContext &CTX) {
  569     LLVMContext Ctx;
  605       LLVMContext Ctx;
  642       LLVMContext Ctx;
  669       LLVMContext Ctx;
  702       LLVMContext Ctx;
  735       LLVMContext Ctx;
  760       LLVMContext Ctx;
  786       LLVMContext Ctx;
  821     LLVMContext Ctx;
  923   LLVMContext Context;
tools/llvm-modextract/llvm-modextract.cpp
   47   LLVMContext Context;
tools/llvm-nm/llvm-nm.cpp
 1782   LLVMContext Context;
 1783   LLVMContext *ContextPtr = NoLLVMBitcode ? nullptr : &Context;
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
   58   LLVMContext Context;
  114   LLVMContext Context;
tools/llvm-profdata/llvm-profdata.cpp
  475   LLVMContext Context;
 1021   LLVMContext Context;
tools/llvm-reduce/llvm-reduce.cpp
   58                                               LLVMContext &Ctxt) {
   79   LLVMContext Context;
tools/llvm-split/llvm-split.cpp
   43   LLVMContext Context;
tools/llvm-stress/llvm-stress.cpp
   67 static LLVMContext Context;
  156   LLVMContext &Context = M->getContext();
  336   LLVMContext &Context;
tools/lto/lto.cpp
   76 static LLVMContext *LTOContext = nullptr;
  112     static LLVMContext Context;
  132   LibLTOCodeGenerator(std::unique_ptr<LLVMContext> Context)
  144   std::unique_ptr<LLVMContext> OwnedContext;
  198   LLVMContext Ctx;
  280   std::unique_ptr<LLVMContext> Context = std::make_unique<LLVMContext>();
  280   std::unique_ptr<LLVMContext> Context = std::make_unique<LLVMContext>();
  341       InLocalContext ? new LibLTOCodeGenerator(std::make_unique<LLVMContext>())
tools/opt/Debugify.cpp
   72   LLVMContext &Ctx = M.getContext();
tools/opt/opt.cpp
  494   LLVMContext Context;
tools/polly/lib/CodeGen/IRBuilder.cpp
   32 static MDNode *getID(LLVMContext &Ctx, Metadata *arg0 = nullptr,
   56   LLVMContext &Ctx = SE->getContext();
  129     LLVMContext &Ctx = SE->getContext();
  175     LLVMContext &Ctx = SE->getContext();
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  598   LLVMContext &Context = F->getContext();
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  787   LLVMContext &Context = F->getContext();
 1283   LLVMContext &Context = F->getContext();
 1471       LLVMContext &Ctx = NewArrayType->getContext();
tools/polly/lib/CodeGen/LoopGenerators.cpp
   89   LLVMContext &Context = F->getContext();
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp
  107   LLVMContext &Context = SubFn->getContext();
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp
  131   LLVMContext &Context = SubFn->getContext();
tools/polly/lib/Exchange/JSONExporter.cpp
  599                            LLVMContext &LLVMContext) {
tools/verify-uselistorder/verify-uselistorder.cpp
   77   std::unique_ptr<Module> readBitcode(LLVMContext &Context) const;
   78   std::unique_ptr<Module> readAssembly(LLVMContext &Context) const;
  149 std::unique_ptr<Module> TempFile::readBitcode(LLVMContext &Context) const {
  170 std::unique_ptr<Module> TempFile::readAssembly(LLVMContext &Context) const {
  360   LLVMContext Context;
  372   LLVMContext Context;
  532   LLVMContext Context;
unittests/Analysis/AliasAnalysisTest.cpp
  143   LLVMContext C;
  210   LLVMContext C;
unittests/Analysis/AliasSetTrackerTest.cpp
   53   LLVMContext Context;
unittests/Analysis/BasicAliasAnalysisTest.cpp
   34   LLVMContext C;
unittests/Analysis/BlockFrequencyInfoTest.cpp
   32   LLVMContext C;
unittests/Analysis/BranchProbabilityInfoTest.cpp
   31   LLVMContext C;
unittests/Analysis/CFGTest.cpp
  127   LLVMContext Context;
unittests/Analysis/CGSCCPassManagerTest.cpp
  164   static LLVMContext C;
  171   LLVMContext Context;
unittests/Analysis/CallGraphTest.cpp
   46   LLVMContext Context;
   54   LLVMContext Context;
unittests/Analysis/CaptureTrackingTest.cpp
   49   LLVMContext Context;
unittests/Analysis/DivergenceAnalysisTest.cpp
   45   LLVMContext Context;
  110   LLVMContext C;
  160   LLVMContext C;
  214   LLVMContext C;
  383   LLVMContext C;
unittests/Analysis/DomTreeUpdaterTest.cpp
   23 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context,
   49   LLVMContext Context;
  160   LLVMContext Context;
  234   LLVMContext Context;
  323   LLVMContext Context;
  452   LLVMContext Context;
  535   LLVMContext Context;
  624   LLVMContext Context;
  713   LLVMContext Context;
  743   LLVMContext Context;
unittests/Analysis/GlobalsModRefTest.cpp
   29   LLVMContext Context;
unittests/Analysis/IVDescriptorsTest.cpp
   38 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) {
   52   LLVMContext Context;
unittests/Analysis/LazyCallGraphTest.cpp
   24 std::unique_ptr<Module> parseAssembly(LLVMContext &Context,
  228   LLVMContext Context;
  403   LLVMContext Context;
  454   LLVMContext Context;
  522   LLVMContext Context;
  583   LLVMContext Context;
  732   LLVMContext Context;
  837   LLVMContext Context;
  929   LLVMContext Context;
 1002   LLVMContext Context;
 1069   LLVMContext Context;
 1217   LLVMContext Context;
 1303   LLVMContext Context;
 1381   LLVMContext Context;
 1447   LLVMContext Context;
 1526   LLVMContext Context;
 1614   LLVMContext Context;
 1700   LLVMContext Context;
 1815   LLVMContext Context;
 1954   LLVMContext Context;
 1985   LLVMContext Context;
 2012   LLVMContext Context;
 2093   LLVMContext Context;
unittests/Analysis/LoopInfoTest.cpp
   48 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context,
   76   LLVMContext Context;
  126   LLVMContext Context;
  182   LLVMContext Context;
  256   LLVMContext Context;
  314   LLVMContext Context;
  372   LLVMContext Context;
  430   LLVMContext Context;
  488   LLVMContext Context;
  547   LLVMContext Context;
  605   LLVMContext Context;
  660   LLVMContext Context;
  718   LLVMContext Context;
  776   LLVMContext Context;
  836   LLVMContext Context;
  896   LLVMContext Context;
  958   LLVMContext Context;
 1011   LLVMContext Context;
 1065   LLVMContext Context;
 1134   LLVMContext Context;
 1226   LLVMContext Context;
 1295   LLVMContext Context;
 1337   LLVMContext Context;
 1385   LLVMContext Context;
 1428   LLVMContext Context;
unittests/Analysis/MemoryBuiltinsTest.cpp
   24   LLVMContext Context;
unittests/Analysis/MemorySSATest.cpp
   31   LLVMContext C;
  787   Load->setMetadata(LLVMContext::MD_invariant_load, MDNode::get(C, {}));
unittests/Analysis/OrderedBasicBlockTest.cpp
   24   LLVMContext C;
unittests/Analysis/OrderedInstructionsTest.cpp
   23   LLVMContext Ctx;
unittests/Analysis/PhiValuesTest.cpp
   20   LLVMContext C;
   87   LLVMContext C;
unittests/Analysis/ProfileSummaryInfoTest.cpp
   32   LLVMContext C;
  200   CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400}));
  243   CI2->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights));
  251   CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400}));
unittests/Analysis/ScalarEvolutionTest.cpp
   34   LLVMContext Context;
  218   LLVMContext C;
  479   LLVMContext C;
  634   LLVMContext C;
 1453   LLVMContext C;
 1648     LLVMContext C;
 1687   LLVMContext C;
 1753   LLVMContext C;
unittests/Analysis/SparsePropagation.cpp
  228   LLVMContext Context;
unittests/Analysis/TBAATest.cpp
   28   LLVMContext C;
   34   auto &C = M->getContext();
   55   SI->setMetadata(LLVMContext::MD_tbaa, MD2);
   84   SI->setMetadata(LLVMContext::MD_tbaa, GenericMD);
unittests/Analysis/TargetLibraryInfoTest.cpp
   23   LLVMContext Context;
unittests/Analysis/UnrollAnalyzerTest.cpp
   62 std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context,
   87   LLVMContext Context;
  150   LLVMContext Context;
  195   LLVMContext Context;
  242   LLVMContext Context;
  288   LLVMContext Context;
unittests/Analysis/ValueLatticeTest.cpp
   25   LLVMContext Context;
unittests/Analysis/ValueTrackingTest.cpp
   57   LLVMContext Context;
  488   LLVMContext Context;
unittests/Analysis/VectorUtilsTest.cpp
   56   LLVMContext Context;
   62   LLVMContext Ctx;
unittests/AsmParser/AsmParserTest.cpp
   23   LLVMContext Ctx;
   36   LLVMContext Ctx;
   49   LLVMContext Ctx;
   68   LLVMContext Ctx;
  119   LLVMContext Ctx;
  155   LLVMContext Ctx;
  279   LLVMContext Ctx;
unittests/Bitcode/BitReaderTest.cpp
   27 std::unique_ptr<Module> parseAssembly(LLVMContext &Context,
   49 static std::unique_ptr<Module> getLazyModuleFromAssembly(LLVMContext &Context,
   63   LLVMContext Context;
  127   LLVMContext Context;
  142   LLVMContext Context;
  169   LLVMContext Context;
unittests/CodeGen/AArch64SelectionDAGTest.cpp
   72   LLVMContext Context;
unittests/CodeGen/GlobalISel/GISelMITest.h
   70 static std::unique_ptr<Module> parseMIR(LLVMContext &Context,
   94 createDummyModule(LLVMContext &Context, const LLVMTargetMachine &TM,
  151   LLVMContext Context;
unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp
   49   LLVMContext &Ctx = MF->getFunction().getContext();
unittests/CodeGen/LowLevelTypeTest.cpp
   21   LLVMContext C;
   49   LLVMContext C;
  165   LLVMContext C;
unittests/CodeGen/MachineInstrTest.cpp
  154   LLVMContext Ctx;
  323   LLVMContext Ctx;
  388   LLVMContext Ctx;
  434   LLVMContext Ctx;
  471   LLVMContext Ctx;
unittests/CodeGen/MachineOperandTest.cpp
   86   LLVMContext Context;
  241   LLVMContext Ctx;
  294   LLVMContext Ctx;
unittests/CodeGen/ScalableVectorMVTsTest.cpp
   45   LLVMContext Ctx;
   90   LLVMContext Ctx;
  111   LLVMContext Ctx;
unittests/ExecutionEngine/ExecutionEngineTest.cpp
   46   LLVMContext Context;
unittests/ExecutionEngine/MCJIT/MCJITTestBase.h
   34   LLVMContext Context;
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
   19   LLVMContext Context;
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp
   77   LLVMContext Context;
unittests/ExecutionEngine/Orc/OrcTestCommon.cpp
   24 ModuleBuilder::ModuleBuilder(LLVMContext &Context, StringRef Triple,
unittests/ExecutionEngine/Orc/OrcTestCommon.h
  159   LLVMContext Context;
  167   ModuleBuilder(LLVMContext &Context, StringRef Triple,
  187 inline StructType *getDummyStructTy(LLVMContext &Context) {
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp
   73   LLVMContext Context;
  126   ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
  199   ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp
   94   LLVMContext Ctx;
unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp
   24   ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
   32   ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
   44   ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
   61   ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
   69   ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
   87   ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());
   89   auto &Ctx = *TSCtx.getContext();
unittests/FuzzMutate/OperationsTest.cpp
   58     const char *Assembly, LLVMContext &Context) {
   80   LLVMContext Ctx;
  175   LLVMContext Ctx;
  217   LLVMContext Ctx;
  243   LLVMContext Ctx;
  280   LLVMContext Ctx;
  306   LLVMContext Ctx;
  330   LLVMContext Ctx;
unittests/FuzzMutate/RandomIRBuilderTest.cpp
   32     const char *Assembly, LLVMContext &Context) {
   49   LLVMContext Ctx;
   89   LLVMContext Ctx;
  136   LLVMContext Ctx;
  169   LLVMContext Ctx;
  205   LLVMContext Ctx;
  242   LLVMContext Ctx;
  272   LLVMContext Ctx;
unittests/FuzzMutate/StrategiesTest.cpp
   53     const char *Assembly, LLVMContext &Context) {
   67   LLVMContext Ctx;
   81   LLVMContext Ctx;
  115   LLVMContext Ctx;
unittests/IR/AsmWriterTest.cpp
   25   LLVMContext Ctx;
   39   LLVMContext Ctx;
   51   LLVMContext Ctx;
unittests/IR/AttributesTest.cpp
   18   LLVMContext C;
   33   LLVMContext C;
   57   LLVMContext C;
   71   LLVMContext C;
  141   LLVMContext C;
  160   LLVMContext C;
  167   LLVMContext C;
  175   LLVMContext C;
unittests/IR/BasicBlockTest.cpp
   24   LLVMContext Context;
   95   LLVMContext Ctx;
unittests/IR/CFGBuilder.cpp
   23     : Context(std::make_unique<LLVMContext>()),
unittests/IR/CFGBuilder.h
   37   std::unique_ptr<LLVMContext> Context;
unittests/IR/ConstantsTest.cpp
   24   LLVMContext Context;
  106   LLVMContext Context;
  120   LLVMContext Context;
  130   LLVMContext C;
  192   LLVMContext Context;
  305   LLVMContext Context;
  325   LLVMContext Context;
  350   LLVMContext Context;
  373   LLVMContext Context;
  398   LLVMContext Context;
  419   LLVMContext Context;
  442   LLVMContext Context;
  463   LLVMContext Context;
  478 bool foldFuncPtrAndConstToNull(LLVMContext &Context, Module *TheModule,
  508   LLVMContext Context;
  519   LLVMContext Context;
  525   LLVMContext Context;
  538   LLVMContext Context;
  549   LLVMContext Context;
  556   LLVMContext Context;
  563   LLVMContext Context;
  570   LLVMContext Context;
unittests/IR/DataLayoutTest.cpp
   51   LLVMContext Context;
unittests/IR/DebugTypeODRUniquingTest.cpp
   17   LLVMContext Context;
   26   LLVMContext Context;
   66   LLVMContext Context;
  103   LLVMContext Context;
unittests/IR/DominatorTreeTest.cpp
   38 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context,
   72   LLVMContext Context;
  292   LLVMContext Context;
  376   LLVMContext Context;
  470   LLVMContext Context;
  559   LLVMContext Context;
  633   LLVMContext Context;
unittests/IR/FunctionTest.cpp
   17   LLVMContext C;
   47   LLVMContext C;
  122   LLVMContext C;
  141   LLVMContext Context;
unittests/IR/IRBuilderTest.cpp
   43   LLVMContext Ctx;
unittests/IR/InstructionsTest.cpp
   32 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) {
   41   LLVMContext C;
   77   LLVMContext Ctx;
  117   LLVMContext C;
  183   LLVMContext C;
  306   LLVMContext C;
  409   LLVMContext Context;
  424   LLVMContext C;
  504   LLVMContext C;
  539   LLVMContext C;
  566   LLVMContext C;
  659   LLVMContext Context;
  694   LLVMContext C;
  757   LLVMContext C;
  774   SI->setMetadata(LLVMContext::MD_prof,
  805   LLVMContext Ctx;
  999   LLVMContext C;
 1038   LLVMContext Context;
 1050   LLVMContext Context;
 1068   LLVMContext Context;
 1119   LLVMContext Context;
unittests/IR/LegacyPassManagerTest.cpp
  286       LLVMContext Context;
  310       LLVMContext Context;
  334     Module *makeLLVMModule(LLVMContext &Context);
  338       LLVMContext Context;
  349       LLVMContext Context;
  385       LLVMContext Context;
  425       LLVMContext Context0;
  426       LLVMContext Context1;
  427       LLVMContext Context2;
  465     Module *makeLLVMModule(LLVMContext &Context) {
unittests/IR/MDBuilderTest.cpp
   21   LLVMContext Context;
unittests/IR/ManglerTest.cpp
   48   LLVMContext Ctx;
   68   LLVMContext Ctx;
  104   LLVMContext Ctx;
unittests/IR/MetadataTest.cpp
   28   LLVMContext Context;
   36   LLVMContext Context;
   44   LLVMContext Context;
   53   LLVMContext Context;
   69   LLVMContext Context;
 2619   LLVMContext Context;
 2661   F->setMetadata(LLVMContext::MD_dbg, SP2);
 2705   F->setMetadata(LLVMContext::MD_dbg, SP);
 2707   F->setMetadata(LLVMContext::MD_prof, P);
unittests/IR/ModuleTest.cpp
   30   LLVMContext Context;
   52   LLVMContext Context;
unittests/IR/PassBuilderCallbacksTest.cpp
  265 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) {
  380   LLVMContext Context;
unittests/IR/PassManagerTest.cpp
  144 std::unique_ptr<Module> parseIR(LLVMContext &Context, const char *IR) {
  151   LLVMContext Context;
unittests/IR/PatternMatch.cpp
   34   LLVMContext Ctx;
  475   LLVMContext &Ctx = IRB.getContext();
unittests/IR/TimePassesTest.cpp
   67   LLVMContext Context;
  120   LLVMContext Context;
unittests/IR/TypesTest.cpp
   17   LLVMContext C;
   30   LLVMContext C;
unittests/IR/UseTest.cpp
   23   LLVMContext C;
   68   LLVMContext C;
unittests/IR/UserTest.cpp
   22   LLVMContext C;
  121   LLVMContext Context;
unittests/IR/ValueHandleTest.cpp
   22   LLVMContext Context;
  315     LLVMContext *Context;
  317     RecoveringVH(LLVMContext &TheContext)
  320     RecoveringVH(LLVMContext &TheContext, Value *V)
unittests/IR/ValueMapTest.cpp
   24   LLVMContext Context;
unittests/IR/ValueTest.cpp
   22   LLVMContext C;
   47   LLVMContext Ctx;
   95   LLVMContext Ctx;
  112   LLVMContext C;
  192   LLVMContext C;
  227   LLVMContext C;
unittests/IR/VectorTypesTest.cpp
   18   LLVMContext Ctx;
   92   LLVMContext Ctx;
  166   LLVMContext Ctx;
  215   LLVMContext Ctx;
  259   LLVMContext Ctx;
unittests/IR/VerifierTest.cpp
   26   LLVMContext C;
   49   LLVMContext C;
   65   LLVMContext C;
  124   LLVMContext C;
  137   LLVMContext C;
  152     LLVMContext C;
  167     LLVMContext C;
unittests/IR/WaymarkTest.cpp
   22   LLVMContext Context;
unittests/Linker/LinkModulesTest.cpp
   63   LLVMContext Ctx;
  132 static Module *getExternal(LLVMContext &Ctx, StringRef FuncName) {
  148 static Module *getInternal(LLVMContext &Ctx) {
  186   LLVMContext C;
  223   LLVMContext Ctx;
  236   LLVMContext C;
  309   LLVMContext C;
unittests/MI/LiveIntervalTest.cpp
   51 std::unique_ptr<Module> parseMIR(LLVMContext &Context,
  131   LLVMContext Context;
unittests/ProfileData/InstrProfTest.cpp
  182   LLVMContext Context;
  287   LLVMContext Ctx;
  330   Inst->setMetadata(LLVMContext::MD_prof, 0);
  350   Inst->setMetadata(LLVMContext::MD_prof, 0);
  891   LLVMContext Ctx;
unittests/ProfileData/SampleProfTest.cpp
   38   LLVMContext Context;
unittests/Target/AArch64/InstSizes.cpp
   44   LLVMContext Context;
unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
   42 std::unique_ptr<Module> parseMIR(LLVMContext &Context,
  156   LLVMContext Context;
  331   LLVMContext Context;
unittests/Target/X86/MachineSizeOptsTest.cpp
   41   LLVMContext Context;
unittests/Transforms/Scalar/LoopPassManagerTest.cpp
  225 std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) {
  232   LLVMContext Context;
unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
   20 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) {
   29   LLVMContext C;
   59   LLVMContext C;
   87   LLVMContext C;
  113   LLVMContext C;
unittests/Transforms/Utils/CloningTest.cpp
   63   LLVMContext context;
  372 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) {
  382   LLVMContext Context;
  544   LLVMContext C;
  682   LLVMContext Context;
  728     GV->addMetadata(LLVMContext::MD_type, *MDNode::get(C, {}));
  779   LLVMContext C;
unittests/Transforms/Utils/CodeExtractorTest.cpp
   33   LLVMContext Ctx;
   81   LLVMContext Ctx;
  132   LLVMContext Ctx;
  199   LLVMContext Ctx;
  234   LLVMContext Ctx;
unittests/Transforms/Utils/FunctionComparatorTest.cpp
   26   TestFunction(LLVMContext &Ctx, Module &M, int addVal) {
  109   LLVMContext C;
unittests/Transforms/Utils/IntegerDivisionTest.cpp
   23   LLVMContext C;
   53   LLVMContext C;
   83   LLVMContext C;
  113   LLVMContext C;
  144   LLVMContext C;
  174   LLVMContext C;
  204   LLVMContext C;
  234   LLVMContext C;
unittests/Transforms/Utils/LocalTest.cpp
   26   LLVMContext C;
   69   LLVMContext C;
  105 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) {
  114   LLVMContext C;
  178   LLVMContext C;
  335   LLVMContext C;
  487   LLVMContext C;
  585   LLVMContext Ctx;
  635   LLVMContext Ctx;
  825   LLVMContext C;
unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
   23   LLVMContext C;
  110   LLVMContext C;
unittests/Transforms/Utils/SizeOptsTest.cpp
   31   LLVMContext C;
unittests/Transforms/Utils/UnrollLoopTest.cpp
   23 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) {
   32   LLVMContext C;
unittests/Transforms/Utils/ValueMapperTest.cpp
   22   LLVMContext Context;
   31   LLVMContext Context;
   67   LLVMContext Context;
  108   LLVMContext Context;
  116   LLVMContext Context;
  132   LLVMContext Context;
  147   LLVMContext Context;
  160   LLVMContext Context;
  173   LLVMContext C;
  185   LLVMContext C;
  200   LLVMContext C;
  217   LLVMContext C;
  232   LLVMContext C;
  267   LLVMContext C;
  286   LLVMContext C;
  328   LLVMContext Context;
unittests/Transforms/Vectorize/VPlanSlpTest.cpp
  362   LLVMContext Ctx;
  434   LLVMContext Ctx;
  506   LLVMContext Ctx;
  582   LLVMContext Ctx;
unittests/Transforms/Vectorize/VPlanTestBase.h
   29   std::unique_ptr<LLVMContext> Ctx;
   34   VPlanTestBase() : Ctx(new LLVMContext) {}
unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp
   36     Context = std::make_unique<LLVMContext>();
   55   std::unique_ptr<LLVMContext> Context;
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/std_function.h
  299       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  628       using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  706     operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  824     make_unique(_Args&&... __args)
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1659     { typedef _Tp&&   type; };
utils/unittest/googletest/include/gtest/gtest-printers.h
  407                     T* p, ::std::ostream* os) {
  416     if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {