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

References

tools/clang/lib/CodeGen/CGAtomic.cpp
  674                  Order, CGF.CGM.getLLVMContext().getOrInsertSyncScopeID(""));
  682         Order, CGF.CGM.getLLVMContext());
tools/clang/lib/CodeGen/CGBlocks.cpp
  194            CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant));
  535       llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true);
  666       llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true);
  774     llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true);
 1448     llvm::IRBuilder<> b(llvm::BasicBlock::Create(CGM.getLLVMContext(), "entry",
tools/clang/lib/CodeGen/CGBuiltin.cpp
   58     llvm::Type *Int8 = llvm::IntegerType::getInt8Ty(CGF.CGM.getLLVMContext());
  417   LLVMContext &C = CGF.CGM.getLLVMContext();
 3239         llvm::IntegerType::get(CGM.getLLVMContext(), EncompassingInfo.Width);
 5922   LLVMContext &Context = CGM.getLLVMContext();
 7252     LLVMContext &Context = CGM.getLLVMContext();
 7415     LLVMContext &Context = CGM.getLLVMContext();
tools/clang/lib/CodeGen/CGCUDANV.cpp
  154     : CGCUDARuntime(CGM), Context(CGM.getLLVMContext()),
tools/clang/lib/CodeGen/CGCall.cpp
 2010         llvm::AttributeSet::get(getLLVMContext(), SRETAttrs);
 2018         llvm::AttributeSet::get(getLLVMContext(), Attrs);
 2034                 getLLVMContext(),
 2130             getLLVMContext(), info.second.getAsAlign()));
 2152             llvm::AttributeSet::get(getLLVMContext(), Attrs);
 2158       getLLVMContext(), llvm::AttributeSet::get(getLLVMContext(), FuncAttrs),
 2158       getLLVMContext(), llvm::AttributeSet::get(getLLVMContext(), FuncAttrs),
 2159       llvm::AttributeSet::get(getLLVMContext(), RetAttrs), ArgAttrs);
tools/clang/lib/CodeGen/CGClass.cpp
 2648         llvm::MetadataAsValue::get(CGM.getLLVMContext(), MD);
 2780       CGM.getLLVMContext(),
 2781       llvm::MDString::get(CGM.getLLVMContext(), "all-vtables"));
 2813   llvm::Value *TypeId = llvm::MetadataAsValue::get(CGM.getLLVMContext(), MD);
tools/clang/lib/CodeGen/CGCleanup.cpp
  984         ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext());
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1358         C = llvm::ConstantInt::get(CGM.getLLVMContext(), Value->getInt());
 1360         C = llvm::ConstantFP::get(CGM.getLLVMContext(), Value->getFloat());
 1764           llvm::ConstantInt::get(CGM.getLLVMContext(), TA.getAsIntegral())));
 2055     node = llvm::MDNode::get(CGM.getLLVMContext(), None);
tools/clang/lib/CodeGen/CGDecl.cpp
 1006   llvm::Type *Int8Ty = llvm::IntegerType::getInt8Ty(CGM.getLLVMContext());
 1133   llvm::Type *BP = llvm::PointerType::getInt8PtrTy(CGM.getLLVMContext(),
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  327     llvm::MDBuilder MDHelper(CGM.getLLVMContext());
tools/clang/lib/CodeGen/CGException.cpp
  249       llvm::Type::getInt8Ty(CGM.getLLVMContext()),
 1536     ParentPad = llvm::ConstantTokenNone::get(CGM.getLLVMContext());
tools/clang/lib/CodeGen/CGExpr.cpp
 2450     llvm::MDString *Str = llvm::MDString::get(CGM.getLLVMContext(),
 2453     M->addOperand(llvm::MDNode::get(CGM.getLLVMContext(), Ops));
 2459     llvm::MetadataAsValue::get(CGM.getLLVMContext(), M->getOperand(0));
 3238       CGM.getLLVMContext(),
 3239       llvm::MDString::get(CGM.getLLVMContext(), "all-vtables"));
 4802           CGM.getLLVMContext(), PrefixStructTyElems, /*isPacked=*/true);
tools/clang/lib/CodeGen/CGExprConstant.cpp
  218       add(llvm::ConstantInt::get(CGM.getLLVMContext(), BitsThisChar),
  247         add(llvm::ConstantInt::get(CGM.getLLVMContext(), BitsThisChar),
  262         ToUpdate = llvm::ConstantInt::get(CGM.getLLVMContext(), BitsThisChar);
  483       CGM.getLLVMContext(), Packed ? PackedElems : UnpackedElems, Packed);
  973       llvm::StructType::get(CGM.getLLVMContext(), Types, true);
  990     : CGM(emitter.CGM), Emitter(emitter), VMContext(CGM.getLLVMContext()) {
 2021     return llvm::ConstantInt::get(CGM.getLLVMContext(), Value.getInt());
 2023     return llvm::ConstantInt::get(CGM.getLLVMContext(),
 2028     Complex[0] = llvm::ConstantInt::get(CGM.getLLVMContext(),
 2030     Complex[1] = llvm::ConstantInt::get(CGM.getLLVMContext(),
 2043       return llvm::ConstantInt::get(CGM.getLLVMContext(),
 2046       return llvm::ConstantFP::get(CGM.getLLVMContext(), Init);
 2051     Complex[0] = llvm::ConstantFP::get(CGM.getLLVMContext(),
 2053     Complex[1] = llvm::ConstantFP::get(CGM.getLLVMContext(),
 2068         Inits[I] = llvm::ConstantInt::get(CGM.getLLVMContext(), Elt.getInt());
 2070         Inits[I] = llvm::ConstantFP::get(CGM.getLLVMContext(), Elt.getFloat());
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp
   76   llvm::LLVMContext &Ctx = CGM.getLLVMContext();
tools/clang/lib/CodeGen/CGObjC.cpp
 3724   auto &Context = getLLVMContext();
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1157       llvm::StructType::get(CGM.getLLVMContext(),
 1640       llvm::IRBuilder<> b(llvm::BasicBlock::Create(CGM.getLLVMContext(), "entry",
 1993         llvm::StructType::get(CGM.getLLVMContext(),
 2120     VMContext(cgm.getLLVMContext()), ClassPtrAlias(nullptr),
 2197   PropertyMetadataTy = llvm::StructType::get(CGM.getLLVMContext(), {
 2781     llvm::StructType::get(CGM.getLLVMContext(), {
 2793       llvm::StructType::get(CGM.getLLVMContext(), {
 2800       llvm::StructType::get(CGM.getLLVMContext(), {
 2987     llvm::StructType::get(CGM.getLLVMContext(), { PtrToInt8Ty, PtrToInt8Ty });
 3618     selStructTy = llvm::StructType::get(CGM.getLLVMContext(),
 3755       llvm::StructType::get(CGM.getLLVMContext(),
tools/clang/lib/CodeGen/CGObjCMac.cpp
   68         llvm::AttributeList::get(CGM.getLLVMContext(),
  589         llvm::AttributeList::get(CGM.getLLVMContext(),
  739         llvm::AttributeList::get(CGM.getLLVMContext(),
 1083     CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) { }
 5399   return getConstantGEP(CGM.getLLVMContext(), Entry, 0, 0);
 5612   : VMContext(cgm.getLLVMContext()), CGM(cgm), ExternalProtocolPtrTy(nullptr)
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp
   37   llvm::LLVMContext& Ctx = CGM.getLLVMContext();
   83       CGM.getLLVMContext(), Name),
   92       CGM.getLLVMContext(), "opencl.sampler_t"),
  101   llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext());
  111   llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext());
  121       CGM.getLLVMContext(),
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1843   llvm::LLVMContext &Ctx = CGM.getLLVMContext();
tools/clang/lib/CodeGen/CGVTables.cpp
  736   return llvm::StructType::get(CGM.getLLVMContext(), tys);
tools/clang/lib/CodeGen/CodeGenFunction.h
 1660   llvm::LLVMContext &getLLVMContext() { return CGM.getLLVMContext(); }
tools/clang/lib/CodeGen/CodeGenModule.cpp
  725                  llvm::MDNode::get(getLLVMContext(), {}));
 1798     F->setAttributes(llvm::Intrinsic::getAttributes(getLLVMContext(), IID));
 1929   auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opts);
 1930   LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts));
 1936   auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opt);
 1937   LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts));
 1941   auto &C = getLLVMContext();
 1950   auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opt);
 1972   llvm::LLVMContext &Context = CGM.getLLVMContext();
 2179   llvm::Constant *s = llvm::ConstantDataArray::getString(getLLVMContext(), Str);
 4975       llvm::ConstantDataArray::getString(getLLVMContext(), StrWithNull, false);
 5571                                CGM.getLLVMContext(), D.getDecl()))};
 5572   GlobalMetadata->addOperand(llvm::MDNode::get(CGM.getLLVMContext(), Ops));
 5776     InternalId = llvm::MDString::get(getLLVMContext(), Out.str());
 5778     InternalId = llvm::MDNode::getDistinct(getLLVMContext(),
 5858     llvm::Metadata *MD = llvm::MDString::get(getLLVMContext(), "all-vtables");
tools/clang/lib/CodeGen/CodeGenModule.h
  663       NoObjCARCExceptionsMetadata = llvm::MDNode::get(getLLVMContext(), None);
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  900   auto *I8PtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext());
 1020   llvm::MDBuilder MDHelper(CGM.getLLVMContext());
 1044   llvm::MDBuilder MDHelper(CGM.getLLVMContext());
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
  267     ty = llvm::StructType::get(Builder.CGM.getLLVMContext(), {}, Packed);
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1323   llvm::LLVMContext &Ctx = CGM.getLLVMContext();
 1374   llvm::LLVMContext &Ctx = CGM.getLLVMContext();
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  716             CGM.getLLVMContext(),
  717             llvm::MDString::get(CGM.getLLVMContext(), "all-vtables"));
 1807           llvm::MDNode::get(CGM.getLLVMContext(),
 2126       llvm::AttributeList::get(CGM.getLLVMContext(),
 2138       llvm::AttributeList::get(CGM.getLLVMContext(),
 2150       llvm::AttributeList::get(CGM.getLLVMContext(),
 4335         llvm::BasicBlock::Create(CGM.getLLVMContext(), "", fn);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  457         llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, TDTypeName);
  480         CGM.getLLVMContext(), FieldTypes, "rtti.BaseClassDescriptor");
  489         CGM.getLLVMContext(), "rtti.ClassHierarchyDescriptor");
  505         CGM.getLLVMContext(), "rtti.CompleteObjectLocator");
  693         CGM.getLLVMContext(), FieldTypes, "eh.CatchableType");
  712         llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, CTATypeName);
  725     ThrowInfoType = llvm::StructType::create(CGM.getLLVMContext(), FieldTypes,
 2364       llvm::FunctionType::get(llvm::Type::getVoidTy(CGM.getLLVMContext()),
 2368       llvm::AttributeList::get(CGM.getLLVMContext(),
 2376       llvm::FunctionType::get(llvm::Type::getVoidTy(CGM.getLLVMContext()),
 2380       llvm::AttributeList::get(CGM.getLLVMContext(),
 2388       llvm::FunctionType::get(llvm::Type::getVoidTy(CGM.getLLVMContext()),
 2392       llvm::AttributeList::get(CGM.getLLVMContext(),
 2629   return llvm::StructType::get(CGM.getLLVMContext(), fields);
 3316   CGBuilderTy Builder(CGM, CGM.getLLVMContext());
 3508         VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD),
 3833     llvm::ConstantDataArray::getString(CGM.getLLVMContext(), TypeInfoString)};
tools/clang/lib/CodeGen/PatternInit.cpp
   51     llvm::Type *IntTy = llvm::IntegerType::get(CGM.getLLVMContext(), PtrWidth);
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   40   llvm::LLVMContext &VMContext = CGM.getLLVMContext();
   87                  llvm::MDNode::get(CGM.getLLVMContext(), None));
   94   llvm::LLVMContext &VMContext = CGM.getLLVMContext();
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  529         llvm::IntegerType::get(CGM.getLLVMContext(),
  554   auto &ctx = CGM.getLLVMContext();