Lines Matching refs:GlobalContext
140 ValueType *getOrAdd(GlobalContext *Ctx, KeyType Key) { in getOrAdd()
185 ConstantUndef *getOrAdd(GlobalContext *Ctx, Type Ty) { in getOrAdd()
218 void GlobalContext::waitForWorkerThreads() { in waitForWorkerThreads()
249 void GlobalContext::CodeStats::dump(const Cfg *Func, GlobalContext *Ctx) { in dump()
296 static constexpr size_t DefaultOptQWakeupSize = GlobalContext::MaxOptQSize >> 1;
300 GlobalContext::GlobalContext(Ostream *OsDump, Ostream *OsEmit, Ostream *OsError, in GlobalContext() function in Ice::GlobalContext
321 GlobalContext::TlsInit(); in GlobalContext()
374 void GlobalContext::translateFunctionsWrapper(ThreadContext *MyTLS) { in translateFunctionsWrapper()
379 void GlobalContext::translateFunctions() { in translateFunctions()
462 void GlobalContext::TlsInit() { ICE_TLS_INIT_FIELD(TLS); } in TlsInit()
464 void GlobalContext::emitFileHeader() { in emitFileHeader()
477 void GlobalContext::lowerConstants() { DataLowering->lowerConstants(); } in lowerConstants()
479 void GlobalContext::lowerJumpTables() { DataLowering->lowerJumpTables(); } in lowerJumpTables()
481 void GlobalContext::emitTargetRODataSections() { in emitTargetRODataSections()
485 void GlobalContext::lowerGlobals(const std::string &SectionSuffix) { in lowerGlobals()
511 void GlobalContext::emitterWrapper(ThreadContext *MyTLS) { in emitterWrapper()
516 void GlobalContext::emitItems() { in emitItems()
622 GlobalContext::~GlobalContext() { in ~GlobalContext()
630 void GlobalContext::dumpStrings() { in dumpStrings()
639 void GlobalContext::dumpConstantLookupCounts() { in dumpConstantLookupCounts()
672 Constant *GlobalContext::getConstantInt(Type Ty, int64_t Value) { in getConstantInt()
690 Constant *GlobalContext::getConstantInt1Internal(int8_t ConstantInt1) { in getConstantInt1Internal()
695 Constant *GlobalContext::getConstantInt8Internal(int8_t ConstantInt8) { in getConstantInt8Internal()
699 Constant *GlobalContext::getConstantInt16Internal(int16_t ConstantInt16) { in getConstantInt16Internal()
703 Constant *GlobalContext::getConstantInt32Internal(int32_t ConstantInt32) { in getConstantInt32Internal()
707 Constant *GlobalContext::getConstantInt64Internal(int64_t ConstantInt64) { in getConstantInt64Internal()
711 Constant *GlobalContext::getConstantFloat(float ConstantFloat) { in getConstantFloat()
715 Constant *GlobalContext::getConstantDouble(double ConstantDouble) { in getConstantDouble()
719 Constant *GlobalContext::getConstantSymWithEmitString( in getConstantSymWithEmitString()
726 Constant *GlobalContext::getConstantSym(RelocOffsetT Offset, in getConstantSym()
732 Constant *GlobalContext::getConstantExternSym(GlobalString Name) { in getConstantExternSym()
738 Constant *GlobalContext::getConstantUndef(Type Ty) { in getConstantUndef()
742 Constant *GlobalContext::getConstantZero(Type Ty) { in getConstantZero()
750 Constant *GlobalContext::getConstantZeroInternal(Type Ty) { in getConstantZeroInternal()
771 ConstantList GlobalContext::getConstantPool(Type Ty) { in getConstantPool()
802 ConstantList GlobalContext::getConstantExternSyms() { in getConstantExternSyms()
806 GlobalString GlobalContext::getGlobalString(const std::string &Name) { in getGlobalString()
810 JumpTableDataList GlobalContext::getJumpTables() { in getJumpTables()
824 void GlobalContext::addJumpTableData(JumpTableData JumpTable) { in addJumpTableData()
828 TimerStackIdT GlobalContext::newTimerStackID(const std::string &Name) { in newTimerStackID()
837 TimerIdT GlobalContext::getTimerID(TimerStackIdT StackID, in getTimerID()
844 void GlobalContext::pushTimer(TimerIdT ID, TimerStackIdT StackID) { in pushTimer()
850 void GlobalContext::popTimer(TimerIdT ID, TimerStackIdT StackID) { in popTimer()
856 void GlobalContext::resetTimer(TimerStackIdT StackID) { in resetTimer()
862 std::string GlobalContext::getTimerName(TimerStackIdT StackID) { in getTimerName()
868 void GlobalContext::setTimerName(TimerStackIdT StackID, in setTimerName()
879 void GlobalContext::optQueueBlockingPush(std::unique_ptr<OptWorkItem> Item) { in optQueueBlockingPush()
889 std::unique_ptr<OptWorkItem> GlobalContext::optQueueBlockingPop() { in optQueueBlockingPop()
894 void GlobalContext::emitQueueBlockingPush( in emitQueueBlockingPush()
905 std::unique_ptr<EmitterWorkItem> GlobalContext::emitQueueBlockingPop() { in emitQueueBlockingPop()
910 void GlobalContext::initParserThread() { in initParserThread()
918 void GlobalContext::startWorkerThreads() { in startWorkerThreads()
926 &GlobalContext::translateFunctionsWrapper, this, WorkerTLS)); in startWorkerThreads()
933 std::thread(&GlobalContext::emitterWrapper, this, WorkerTLS)); in startWorkerThreads()
937 void GlobalContext::resetStats() { in resetStats()
942 void GlobalContext::dumpStats(const Cfg *Func) { in dumpStats()
952 void GlobalContext::statsUpdateEmitted(uint32_t InstCount) { in statsUpdateEmitted()
960 void GlobalContext::statsUpdateRegistersSaved(uint32_t Num) { in statsUpdateRegistersSaved()
968 void GlobalContext::statsUpdateFrameBytes(uint32_t Bytes) { in statsUpdateFrameBytes()
976 void GlobalContext::statsUpdateSpills() { in statsUpdateSpills()
984 void GlobalContext::statsUpdateFills() { in statsUpdateFills()
992 void GlobalContext::statsUpdateRPImms() { in statsUpdateRPImms()
1000 void GlobalContext::dumpTimers(TimerStackIdT StackID, bool DumpCumulative) { in dumpTimers()
1009 void GlobalContext::dumpLocalTimers(const std::string &TimerNameOverride, in dumpLocalTimers()
1029 GlobalStringPoolTraits::getStrings(const GlobalContext *PoolOwner) { in getStrings()
1033 TimerIdT TimerMarker::getTimerIdFromFuncName(GlobalContext *Ctx, in getTimerIdFromFuncName()
1039 return Ctx->getTimerID(GlobalContext::TSK_Funcs, FuncName); in getTimerIdFromFuncName()
1044 case GlobalContext::TSK_Default: in push()
1048 case GlobalContext::TSK_Funcs: in push()
1065 ICE_TLS_DEFINE_FIELD(GlobalContext::ThreadContext *, GlobalContext, TLS);