/frameworks/compile/libbcc/lib/ |
BCCContext.cpp | 27 static BCCContext *GlobalContext = nullptr; 30 if (GlobalContext == nullptr) { 31 GlobalContext = new (std::nothrow) BCCContext(); 32 if (GlobalContext == nullptr) { 36 return GlobalContext; 40 delete GlobalContext; 41 GlobalContext = nullptr; 48 if (this == GlobalContext) { 50 // Reset the GlobalContext. 51 GlobalContext = nullptr [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceCompiler.h | 36 /// Run the compiler with the given GlobalContext for compilation state. Upon 38 void run(const ClFlags &ExtraFlags, GlobalContext &Ctx,
|
IceTranslator.h | 33 class GlobalContext; 44 explicit Translator(GlobalContext *Ctx); 49 GlobalContext *getContext() const { return Ctx; } 71 GlobalContext *Ctx;
|
IceGlobalContext.cpp | 140 ValueType *getOrAdd(GlobalContext *Ctx, KeyType Key) { 185 ConstantUndef *getOrAdd(GlobalContext *Ctx, Type Ty) { 218 void GlobalContext::waitForWorkerThreads() { 249 void GlobalContext::CodeStats::dump(const Cfg *Func, GlobalContext *Ctx) { 296 static constexpr size_t DefaultOptQWakeupSize = GlobalContext::MaxOptQSize >> 1; 300 GlobalContext::GlobalContext(Ostream *OsDump, Ostream *OsEmit, Ostream *OsError, 315 assert(OsDump && "OsDump is not defined for GlobalContext"); 316 assert(OsEmit && "OsEmit is not defined for GlobalContext"); [all...] |
PNaClTranslator.h | 36 explicit PNaClTranslator(GlobalContext *Ctx) : Translator(Ctx) {}
|
IceFixups.h | 71 virtual size_t emit(GlobalContext *Ctx, const Assembler &Asm) const; 105 size_t emit(GlobalContext *Ctx, const Assembler &Asm) const override;
|
IceInstrumentation.h | 22 /// GlobalContext. If multiple types of instrumentation are requested, a single 45 Instrumentation(GlobalContext *Ctx) : Ctx(Ctx) {} 85 GlobalContext *Ctx;
|
IceTranslator.cpp | 27 Translator::Translator(GlobalContext *Ctx) 28 : Ctx(Ctx), NextSequenceNumber(GlobalContext::getFirstSequenceNumber()),
|
IceGlobalContext.h | 74 class GlobalContext { 75 GlobalContext() = delete; 76 GlobalContext(const GlobalContext &) = delete; 77 GlobalContext &operator=(const GlobalContext &) = delete; 112 void dump(const Cfg *Func, GlobalContext *Ctx); 167 GlobalContext(Ostream *OsDump, Ostream *OsEmit, Ostream *OsError, 169 ~GlobalContext(); 280 /// during GlobalContext destruction in the reverse object creation order [all...] |
IceCompileServer.h | 85 std::unique_ptr<GlobalContext> Ctx;
|
IceConverter.h | 34 Converter(llvm::Module *Mod, GlobalContext *Ctx)
|
WasmTranslator.h | 58 explicit WasmTranslator(GlobalContext *Ctx);
|
IceFixups.cpp | 47 size_t AssemblerFixup::emit(GlobalContext *Ctx, const Assembler &Asm) const { 93 size_t AssemblerTextFixup::emit(GlobalContext *Ctx, const Assembler &) const {
|
IceGlobalInits.h | 65 void setName(GlobalContext *Ctx, const std::string &NewName) { 70 void setName(GlobalContext *Ctx) { 136 static FunctionDeclaration *create(GlobalContext *Context, 156 bool verifyLinkageCorrect(const GlobalContext *Ctx) const { 168 bool validateTypeSignature(const GlobalContext *Ctx) const { 178 std::string getTypeSignatureError(const GlobalContext *Ctx); 182 getIntrinsicInfo(const GlobalContext *Ctx) const { 190 getIntrinsicInfo(const GlobalContext *Ctx, bool *IsIntrinsic) const; 207 bool isIntrinsicName(const GlobalContext *Ctx) const {
|
IceCfg.h | 39 static std::unique_ptr<Cfg> create(GlobalContext *Ctx, 44 GlobalContext *getContext() const { return Ctx; } 248 static void emitTextHeader(GlobalString Name, GlobalContext *Ctx, 280 Cfg(GlobalContext *Ctx, uint32_t SequenceNumber); 313 GlobalContext *Ctx;
|
IceELFObjectWriter.h | 55 ELFObjectWriter(GlobalContext &Ctx, ELFStreamer &Out); 76 /// Queries the GlobalContext for constant pools of the given type and writes 103 GlobalContext &Ctx;
|
IceASanInstrumentation.h | 37 ASanInstrumentation(GlobalContext *Ctx) : Instrumentation(Ctx), RzNum(0) {
|
IceBrowserCompileServer.h | 96 std::unique_ptr<GlobalContext> Ctx;
|
IceTargetLowering.h | 174 static void staticInit(GlobalContext *Ctx); 176 // static void staticInit(GlobalContext *Ctx); 282 GlobalContext *getGlobalContext() const { return Ctx; } 396 GlobalContext *Ctx, int32_t NumRegs, SmallBitVector TypeToRegisterSet[], 601 GlobalContext *Ctx; 621 static std::unique_ptr<TargetDataLowering> createLowering(GlobalContext *Ctx); 639 explicit TargetDataLowering(GlobalContext *Ctx) : Ctx(Ctx) {} 640 GlobalContext *Ctx; 653 createLowering(GlobalContext *Ctx); 659 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) { [all...] |
IceCompiler.cpp | 65 void Compiler::run(const Ice::ClFlags &Flags, GlobalContext &Ctx, 181 Ctx.dumpTimers(GlobalContext::TSK_Funcs, NoDumpCumulative);
|
IceIntrinsics.h | 33 explicit Intrinsics(GlobalContext *Ctx);
|
IceRegAlloc.h | 116 GlobalContext *const Ctx;
|
IceGlobalInits.cpp | 64 FunctionDeclaration::getIntrinsicInfo(const GlobalContext *Ctx, 96 FunctionDeclaration::getTypeSignatureError(const GlobalContext *Ctx) {
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
LLVMContext.cpp | 25 static ManagedStatic<LLVMContext> GlobalContext; 28 return *GlobalContext;
|
/external/swiftshader/third_party/subzero/unittest/ |
BitcodeMunge.cpp | 38 Ice::GlobalContext Ctx(DumpStream, DumpStream, DumpStream, nullptr);
|