| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 34 LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { in LLVMContext() function in LLVMContext 103 LLVMContext::~LLVMContext() { delete pImpl; } in ~LLVMContext() 105 void LLVMContext::addModule(Module *M) { in addModule() 109 void LLVMContext::removeModule(Module *M) { in removeModule() 117 void LLVMContext::setDiagnosticHandlerCallBack( in setDiagnosticHandlerCallBack() 168 void LLVMContext::setMainRemarkStreamer( in setMainRemarkStreamer() 179 void LLVMContext::setLLVMRemarkStreamer( in setLLVMRemarkStreamer() 199 void LLVMContext::yield() { in yield() 327 void LLVMContext::deleteGC(const Function &Fn) { in deleteGC() 337 void LLVMContext::enableDebugTypeODRUniquing() { in enableDebugTypeODRUniquing() [all …]
|
| H A D | Type.cpp | 37 Type *Type::getPrimitiveType(LLVMContext &C, TypeID IDNumber) { in getPrimitiveType() 243 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) { in getIntNTy() 247 PointerType *Type::getHalfPtrTy(LLVMContext &C, unsigned AS) { in getHalfPtrTy() 255 PointerType *Type::getFloatPtrTy(LLVMContext &C, unsigned AS) { in getFloatPtrTy() 267 PointerType *Type::getFP128PtrTy(LLVMContext &C, unsigned AS) { in getFP128PtrTy() 287 PointerType *Type::getInt1PtrTy(LLVMContext &C, unsigned AS) { in getInt1PtrTy() 291 PointerType *Type::getInt8PtrTy(LLVMContext &C, unsigned AS) { in getInt8PtrTy() 295 PointerType *Type::getInt16PtrTy(LLVMContext &C, unsigned AS) { in getInt16PtrTy() 299 PointerType *Type::getInt32PtrTy(LLVMContext &C, unsigned AS) { in getInt32PtrTy() 535 StructType *StructType::create(LLVMContext &Context) { in create() [all …]
|
| H A D | Attributes.cpp | 502 bool Attribute::hasParentContext(LLVMContext &C) const { in hasParentContext() 631 AttributeSet AttributeSet::addAttribute(LLVMContext &C, in addAttribute() 646 AttributeSet AttributeSet::addAttributes(LLVMContext &C, in addAttributes() 659 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute() 667 AttributeSet AttributeSet::removeAttribute(LLVMContext &C, in removeAttribute() 812 AttributeSetNode *AttributeSetNode::get(LLVMContext &C, in get() 1022 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl() 1050 AttributeList::get(LLVMContext &C, in get() 1083 AttributeList::get(LLVMContext &C, in get() 1193 AttributeList AttributeList::get(LLVMContext &C, in get() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Type.h | 31 class LLVMContext; variable 83 LLVMContext &Context; 93 explicit Type(LLVMContext &C, TypeID tid) in Type() 421 static Type *getVoidTy(LLVMContext &C); 422 static Type *getLabelTy(LLVMContext &C); 423 static Type *getHalfTy(LLVMContext &C); 424 static Type *getBFloatTy(LLVMContext &C); 425 static Type *getFloatTy(LLVMContext &C); 426 static Type *getDoubleTy(LLVMContext &C); 429 static Type *getFP128Ty(LLVMContext &C); [all …]
|
| H A D | Attributes.h | 44 class LLVMContext; variable 125 static Attribute get(LLVMContext &Context, StringRef Kind, 252 bool hasParentContext(LLVMContext &C) const; 382 bool hasParentContext(LLVMContext &C) const; 446 static AttributeList get(LLVMContext &C, 448 static AttributeList get(LLVMContext &C, 679 removeParamAttributes(LLVMContext &C, unsigned ArgNo, 876 bool hasParentContext(LLVMContext &C) const; 1025 LLVMContext &Ctx; 1029 AttrBuilder(LLVMContext &Ctx) : Ctx(Ctx) {} [all …]
|
| H A D | LLVMContext.h | 68 class LLVMContext { 71 LLVMContext(); 72 LLVMContext(LLVMContext &) = delete; 73 LLVMContext &operator=(const LLVMContext &) = delete; 74 ~LLVMContext(); 159 using YieldCallbackTy = void (*)(LLVMContext *Context, void *OpaqueHandle); 343 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(LLVMContext, LLVMContextRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument 347 inline LLVMContext **unwrap(LLVMContextRef* Tys) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 348 return reinterpret_cast<LLVMContext**>(Tys); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 351 inline LLVMContextRef *wrap(const LLVMContext **Tys) { in wrap() [all …]
|
| H A D | DebugInfoMetadata.h | 231 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash, in GenericDINode() 308 static DISubrange *getImpl(LLVMContext &Context, int64_t Count, 367 DIGenericSubrange(LLVMContext &C, StorageType Storage, 565 DIFile(LLVMContext &C, StorageType Storage, 770 DIBasicType(LLVMContext &C, StorageType Storage, unsigned Tag, in DIBasicType() 1853 getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name, 2146 DILexicalBlockFile(LLVMContext &C, StorageType Storage, in DILexicalBlockFile() 2569 static DIExpression *getImpl(LLVMContext &Context, 3154 DILabel(LLVMContext &C, StorageType Storage, unsigned Line, 3572 DIArgList(LLVMContext &C, StorageType Storage, [all …]
|
| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | CodeGenAction.h | 16 class LLVMContext; variable 51 llvm::LLVMContext *VMContext; 60 CodeGenAction(unsigned _Act, llvm::LLVMContext *_VMContext = nullptr); 79 llvm::LLVMContext *takeLLVMContext(); 89 EmitAssemblyAction(llvm::LLVMContext *_VMContext = nullptr); 95 EmitBCAction(llvm::LLVMContext *_VMContext = nullptr); 101 EmitLLVMAction(llvm::LLVMContext *_VMContext = nullptr); 107 EmitLLVMOnlyAction(llvm::LLVMContext *_VMContext = nullptr); 113 EmitCodeGenOnlyAction(llvm::LLVMContext *_VMContext = nullptr); 119 EmitObjAction(llvm::LLVMContext *_VMContext = nullptr);
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | MemoryProfileInfoTest.cpp | 81 LLVMContext C; in TEST_F() 96 LLVMContext C; in TEST_F() 121 EXPECT_FALSE(Call1->hasMetadata(LLVMContext::MD_memprof)); in TEST_F() 142 LLVMContext C; in TEST_F() 166 EXPECT_TRUE(Call->hasMetadata(LLVMContext::MD_memprof)); in TEST_F() 192 LLVMContext C; in TEST_F() 222 EXPECT_TRUE(Call->hasMetadata(LLVMContext::MD_memprof)); in TEST_F() 246 LLVMContext C; in TEST_F() 300 LLVMContext C; in TEST_F() 342 EXPECT_TRUE(Call->hasMetadata(LLVMContext::MD_memprof)); in TEST_F() [all …]
|
| H A D | IRSimilarityIdentifierTest.cpp | 59 LLVMContext Context; in TEST() 90 LLVMContext Context; in TEST() 118 LLVMContext Context; in TEST() 143 LLVMContext Context; in TEST() 170 LLVMContext Context; in TEST() 195 LLVMContext Context; in TEST() 221 LLVMContext Context; in TEST() 247 LLVMContext Context; in TEST() 273 LLVMContext Context; in TEST() 299 LLVMContext Context; in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/AsmParser/ |
| H A D | Parser.h | 25 class LLVMContext; variable 48 LLVMContext &Context, 64 LLVMContext &Context, 88 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 94 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 116 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, 130 LLVMContext &Context,
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | ValueTypes.h | 28 class LLVMContext; variable 64 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getIntegerVT() 83 static EVT getVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) { in getVectorVT() 386 EVT getRoundIntegerType(LLVMContext &Context) const { in getRoundIntegerType() 397 EVT getHalfSizedIntegerVT(LLVMContext &Context) const { in getHalfSizedIntegerVT() 411 EVT widenIntegerVectorElementType(LLVMContext &Context) const { in widenIntegerVectorElementType() 420 EVT getHalfNumVectorElementsVT(LLVMContext &Context) const { in getHalfNumVectorElementsVT() 430 EVT getDoubleNumVectorElementsVT(LLVMContext &Context) const { in getDoubleNumVectorElementsVT() 444 EVT getPow2VectorType(LLVMContext &Context) const { in getPow2VectorType() 462 Type *getTypeForEVT(LLVMContext &Context) const; [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeReader.h | 30 class LLVMContext; variable 42 std::error_code errorToErrorCodeAndEmitErrors(LLVMContext &Ctx, Error Err); 45 ErrorOr<T> expectedToErrorOrAndEmitErrors(LLVMContext &Ctx, Expected<T> Val) { in expectedToErrorOrAndEmitErrors() 85 getModuleImpl(LLVMContext &Context, bool MaterializeAll, 102 Expected<std::unique_ptr<Module>> getLazyModule(LLVMContext &Context, 108 LLVMContext &Context, DataLayoutCallbackTy DataLayoutCallback = 145 getLazyBitcodeModule(MemoryBufferRef Buffer, LLVMContext &Context, 154 std::unique_ptr<MemoryBuffer> &&Buffer, LLVMContext &Context, 173 MemoryBufferRef Buffer, LLVMContext &Context,
|
| /llvm-project-15.0.7/llvm/include/llvm/IRReader/ |
| H A D | IRReader.h | 29 class LLVMContext; variable 41 SMDiagnostic &Err, LLVMContext &Context, 50 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 58 MemoryBufferRef Buffer, SMDiagnostic &Err, LLVMContext &Context, 66 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/ |
| H A D | ThreadSafeModuleTest.cpp | 24 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() 32 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() 44 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() 61 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() 69 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() 87 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | BasicBlockUtilsTest.cpp | 47 LLVMContext C; in TEST() 73 LLVMContext C; in TEST() 112 LLVMContext C; in TEST() 149 LLVMContext C; in TEST() 221 LLVMContext C; in TEST() 307 LLVMContext C; in TEST() 342 LLVMContext C; in TEST() 372 LLVMContext C; in TEST() 396 LLVMContext C; in TEST() 418 LLVMContext C; in TEST() [all …]
|
| H A D | ValueMapperTest.cpp | 23 LLVMContext Context; in TEST() 32 LLVMContext Context; in TEST() 68 LLVMContext Context; in TEST() 174 LLVMContext C; in TEST() 186 LLVMContext C; in TEST() 201 LLVMContext C; in TEST() 218 LLVMContext C; in TEST() 233 LLVMContext C; in TEST() 268 LLVMContext C; in TEST() 287 LLVMContext C; in TEST() [all …]
|
| H A D | CallPromotionUtilsTest.cpp | 19 static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) { in parseIR() 28 LLVMContext C; in TEST() 74 LLVMContext C; in TEST() 100 LLVMContext C; in TEST() 127 LLVMContext C; in TEST() 162 LLVMContext C; in TEST() 204 LLVMContext C; in TEST() 247 LLVMContext C; in TEST() 328 LLVMContext C; in TEST()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | Parser.cpp | 31 LLVMContext Context; in parseAssemblyInto() 46 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly() 60 LLVMContext &Context, in parseAssemblyFile() 75 LLVMContext &Context, SlotMapping *Slots, in parseAssemblyWithIndex() 92 LLVMContext &Context, in parseAssemblyWithIndex() 101 LLVMContext &Context, SlotMapping *Slots, in parseAssemblyFileWithIndex() 119 LLVMContext &Context, SlotMapping *Slots, in parseAssemblyFileWithIndex() 127 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyFileWithIndexNoUpgradeDebugInfo() 136 LLVMContext &Context, in parseAssemblyString() 151 LLVMContext unusedContext; in parseSummaryIndexAssemblyInto()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | ThreadSafeModule.h | 32 State(std::unique_ptr<LLVMContext> Ctx) : Ctx(std::move(Ctx)) {} in State() 34 std::unique_ptr<LLVMContext> Ctx; 53 ThreadSafeContext(std::unique_ptr<LLVMContext> NewCtx) in ThreadSafeContext() 61 LLVMContext *getContext() { return S ? S->Ctx.get() : nullptr; } in getContext() 65 const LLVMContext *getContext() const { return S ? S->Ctx.get() : nullptr; } in getContext() 104 ThreadSafeModule(std::unique_ptr<Module> M, std::unique_ptr<LLVMContext> Ctx) in ThreadSafeModule()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 151 NewBI->copyMetadata(*BI, {LLVMContext::MD_loop, LLVMContext::MD_dbg, in ConstantFoldTerminator() 175 NewBI->copyMetadata(*BI, {LLVMContext::MD_loop, LLVMContext::MD_dbg, in ConstantFoldTerminator() 2607 LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope, in combineMetadataForCSE() 2608 LLVMContext::MD_noalias, LLVMContext::MD_range, in combineMetadataForCSE() 2609 LLVMContext::MD_invariant_load, LLVMContext::MD_nonnull, in combineMetadataForCSE() 2610 LLVMContext::MD_invariant_group, LLVMContext::MD_align, in combineMetadataForCSE() 2613 LLVMContext::MD_access_group, LLVMContext::MD_preserve_access_index}; in combineMetadataForCSE() 2692 LLVMContext::MD_tbaa, LLVMContext::MD_alias_scope, in patchReplacementInstruction() 2693 LLVMContext::MD_noalias, LLVMContext::MD_range, in patchReplacementInstruction() 2694 LLVMContext::MD_fpmath, LLVMContext::MD_invariant_load, in patchReplacementInstruction() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/legacy/ |
| H A D | LTOModule.h | 47 std::unique_ptr<LLVMContext> OwnedContext; 98 createFromFile(LLVMContext &Context, StringRef path, 101 createFromOpenFile(LLVMContext &Context, int fd, StringRef path, size_t size, 104 createFromOpenFileSlice(LLVMContext &Context, int fd, StringRef path, 108 createFromBuffer(LLVMContext &Context, const void *mem, size_t length, 111 createInLocalContext(std::unique_ptr<LLVMContext> Context, const void *mem, 221 LLVMContext &Context, bool ShouldBeLazy);
|
| /llvm-project-15.0.7/llvm/unittests/Bitcode/ |
| H A D | BitReaderTest.cpp | 28 std::unique_ptr<Module> parseAssembly(LLVMContext &Context, in parseAssembly() 50 static std::unique_ptr<Module> getLazyModuleFromAssembly(LLVMContext &Context, in getLazyModuleFromAssembly() 64 LLVMContext Context; in TEST() 128 LLVMContext Context; in TEST() 158 LLVMContext Context; in TEST() 192 LLVMContext Context; in TEST() 207 LLVMContext Context; in TEST() 234 LLVMContext Context; in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ScopedNoAliasAA.cpp | 82 Call->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo() 85 if (!mayAliasInScopes(Call->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo() 98 if (!mayAliasInScopes(Call1->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo() 99 Call2->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo() 102 if (!mayAliasInScopes(Call2->getMetadata(LLVMContext::MD_alias_scope), in getModRefInfo() 103 Call1->getMetadata(LLVMContext::MD_noalias))) in getModRefInfo()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | SampleProfReader.h | 274 LLVMContext &C); 280 LLVMContext &C); 283 void applyRemapping(LLVMContext &Ctx); 344 SampleProfileReader(std::unique_ptr<MemoryBuffer> B, LLVMContext &C, 450 create(const std::string Filename, LLVMContext &C, 458 create(std::unique_ptr<MemoryBuffer> &B, LLVMContext &C, 510 LLVMContext &Ctx; 563 SampleProfileReaderText(std::unique_ptr<MemoryBuffer> B, LLVMContext &C) in SampleProfileReaderText() 583 SampleProfileReaderBinary(std::unique_ptr<MemoryBuffer> B, LLVMContext &C, 825 LLVMContext &C) in SampleProfileReaderCompactBinary() [all …]
|