Searched refs:LLVMContext (Results 1 - 25 of 422) sorted by relevance

1234567891011>>

/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp1 //===-- LLVMContext.cpp - Implement LLVMContext ---------------------------===//
9 // This file implements LLVMContext, as a wrapper around the opaque
14 #include "llvm/IR/LLVMContext.h"
35 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { function in class:LLVMContext
51 assert(DeoptEntry->second == LLVMContext::OB_deopt &&
56 assert(FuncletEntry->second == LLVMContext::OB_funclet &&
61 assert(GCTransitionEntry->second == LLVMContext::OB_gc_transition &&
66 assert(CFGuardTargetEntry->second == LLVMContext
[all...]
H A DType.cpp23 #include "llvm/IR/LLVMContext.h"
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
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IRReader/
H A DIRReader.h27 class LLVMContext;
36 SMDiagnostic &Err, LLVMContext &Context,
45 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
56 LLVMContext &Context,
68 LLVMContext &Context,
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCodeGenAction.h16 class LLVMContext;
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 *_VMContex
[all...]
H A DModuleBuilder.h20 class LLVMContext;
89 llvm::Module* StartModule(llvm::StringRef ModuleName, llvm::LLVMContext &C);
100 llvm::LLVMContext& C,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h1 //===- llvm/LLVMContext.h - Class for managing "global" state ---*- C++ -*-===//
9 // This file declares LLVMContext, a container of "global" state in LLVM, such
61 /// LLVMContext itself provides no locking guarantees, so you should be careful
63 class LLVMContext { class in namespace:llvm
66 LLVMContext();
67 LLVMContext(LLVMContext &) = delete;
68 LLVMContext &operator=(const LLVMContext &) = delete;
69 ~LLVMContext();
[all...]
H A DType.h33 class LLVMContext;
80 /// This refers to the LLVMContext in which this type was uniqued.
81 LLVMContext &Context;
91 explicit Type(LLVMContext &C, TypeID tid)
129 /// Return the LLVMContext in which this type was uniqued.
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
[all...]
H A DAttributes.h42 class LLVMContext;
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
[all...]
H A DProfileSummary.h22 class LLVMContext;
53 Metadata *getDetailedSummaryMD(LLVMContext &Context);
69 Metadata *getMD(LLVMContext &Context);
H A DDebugLoc.h22 class LLVMContext;
89 LLVMContext &Ctx,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DMisExpect.h19 #include "llvm/IR/LLVMContext.h"
32 llvm::LLVMContext &Ctx);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DParser.h21 class LLVMContext;
44 parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
65 LLVMContext &Context,
95 LLVMContext &Context, SlotMapping *Slots = nullptr,
121 LLVMContext &Context,
140 LLVMContext &Context,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/
H A DLinkAllIR.h21 #include "llvm/IR/LLVMContext.h"
43 llvm::LLVMContext Context;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeReader.h31 class LLVMContext;
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);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/
H A DMIRParser.h67 StringRef Filename, SMDiagnostic &Error, LLVMContext &Context,
79 createMIRParser(std::unique_ptr<MemoryBuffer> Contents, LLVMContext &Context,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DFuzzerCLI.h18 #include "llvm/IR/LLVMContext.h"
59 LLVMContext &Context);
74 LLVMContext &Context);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCodeGenCoverage.h17 class LLVMContext;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineModuleInfo.cpp22 LLVMContext &CTX = MMI.getModule()->getContext();
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DThreadSafeModule.h9 // Thread safe wrappers and utilities for Module and LLVMContext.
16 #include "llvm/IR/LLVMContext.h"
27 /// An LLVMContext together with an associated mutex that can be used to lock
32 State(std::unique_ptr<LLVMContext> Ctx) : Ctx(std::move(Ctx)) {}
34 std::unique_ptr<LLVMContext> Ctx;
52 /// Construct a ThreadSafeContext from the given LLVMContext.
53 ThreadSafeContext(std::unique_ptr<LLVMContext> NewCtx)
59 /// Returns a pointer to the LLVMContext that was used to construct this
61 LLVMContext *getContext() { return S ? S->Ctx.get() : nullptr; }
63 /// Returns a pointer to the LLVMContext tha
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp38 #include "llvm/IR/LLVMContext.h"
106 Call->getMetadata(LLVMContext::MD_noalias)))
109 if (!mayAliasInScopes(Call->getMetadata(LLVMContext::MD_alias_scope),
122 if (!mayAliasInScopes(Call1->getMetadata(LLVMContext::MD_alias_scope),
123 Call2->getMetadata(LLVMContext::MD_noalias)))
126 if (!mayAliasInScopes(Call2->getMetadata(LLVMContext::MD_alias_scope),
127 Call1->getMetadata(LLVMContext::MD_noalias)))
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h28 class LLVMContext;
64 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) {
73 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements,
85 static EVT getVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) {
332 EVT getRoundIntegerType(LLVMContext &Context) const {
343 EVT getHalfSizedIntegerVT(LLVMContext &Context) const {
357 EVT widenIntegerVectorElementType(LLVMContext &Context) const {
366 EVT getHalfNumVectorElementsVT(LLVMContext &Context) const {
381 EVT getPow2VectorType(LLVMContext &Context) const {
399 Type *getTypeForEVT(LLVMContext
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DValueList.h24 class LLVMContext;
47 LLVMContext &Context;
54 BitcodeReaderValueList(LLVMContext &C, size_t RefsUpperBound)
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCCCState.h33 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C)
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGuardUtils.cpp32 OperandBundleDef DeoptOB(*Guard->getOperandBundle(LLVMContext::OB_deopt));
48 if (auto *MD = Guard->getMetadata(LLVMContext::MD_make_implicit))
49 CheckBI->setMetadata(LLVMContext::MD_make_implicit, MD);
52 CheckBI->setMetadata(LLVMContext::MD_prof,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h42 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
54 LLVMContext &Context) const override;

Completed in 294 milliseconds

1234567891011>>