Home | History | Annotate | Download | only in src

Lines Matching refs:GlobalContext

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");
317 assert(OsError && "OsError is not defined for GlobalContext");
322 GlobalContext::TlsInit();
327 // access yet to this GlobalContext object.
375 void GlobalContext::translateFunctions() {
457 void GlobalContext::emitFileHeader() {
470 void GlobalContext::lowerConstants() { DataLowering->lowerConstants(); }
472 void GlobalContext::lowerJumpTables() { DataLowering->lowerJumpTables(); }
474 void GlobalContext::emitTargetRODataSections() {
478 void GlobalContext::saveBlockInfoPtrs() {
486 void GlobalContext::lowerGlobals(const std::string &SectionSuffix) {
522 void GlobalContext::lowerProfileData() {
559 void GlobalContext::emitItems() {
691 GlobalContext::~GlobalContext() {
699 void GlobalContext::dumpStrings() {
704 Str << "GlobalContext strings:\n";
708 void GlobalContext::dumpConstantLookupCounts() {
741 Constant *GlobalContext::getConstantInt(Type Ty, int64_t Value) {
759 Constant *GlobalContext::getConstantInt1Internal(int8_t ConstantInt1) {
764 Constant *GlobalContext::getConstantInt8Internal(int8_t ConstantInt8) {
768 Constant *GlobalContext::getConstantInt16Internal(int16_t ConstantInt16) {
772 Constant *GlobalContext::getConstantInt32Internal(int32_t ConstantInt32) {
776 Constant *GlobalContext::getConstantInt64Internal(int64_t ConstantInt64) {
780 Constant *GlobalContext::getConstantFloat(float ConstantFloat) {
784 Constant *GlobalContext::getConstantDouble(double ConstantDouble) {
788 Constant *GlobalContext::getConstantSymWithEmitString(
795 Constant *GlobalContext::getConstantSym(RelocOffsetT Offset,
801 Constant *GlobalContext::getConstantExternSym(GlobalString Name) {
807 Constant *GlobalContext::getConstantUndef(Type Ty) {
811 Constant *GlobalContext::getConstantZero(Type Ty) {
819 Constant *GlobalContext::getConstantZeroInternal(Type Ty) {
840 ConstantList GlobalContext::getConstantPool(Type Ty) {
871 ConstantList GlobalContext::getConstantExternSyms() {
875 GlobalString GlobalContext::getGlobalString(const std::string &Name) {
879 JumpTableDataList GlobalContext::getJumpTables() {
904 void GlobalContext::addJumpTableData(JumpTableData JumpTable) {
908 TimerStackIdT GlobalContext::newTimerStackID(const std::string &Name) {
917 TimerIdT GlobalContext::getTimerID(TimerStackIdT StackID,
924 void GlobalContext::pushTimer(TimerIdT ID, TimerStackIdT StackID) {
930 void GlobalContext::popTimer(TimerIdT ID, TimerStackIdT StackID) {
936 void GlobalContext::resetTimer(TimerStackIdT StackID) {
942 std::string GlobalContext::getTimerName(TimerStackIdT StackID) {
948 void GlobalContext::setTimerName(TimerStackIdT StackID,
959 void GlobalContext::optQueueBlockingPush(std::unique_ptr<OptWorkItem> Item) {
969 std::unique_ptr<OptWorkItem> GlobalContext::optQueueBlockingPop() {
974 void GlobalContext::emitQueueBlockingPush(
985 std::unique_ptr<EmitterWorkItem> GlobalContext::emitQueueBlockingPop() {
990 void GlobalContext::dumpStats(const Cfg *Func) {
1000 void GlobalContext::dumpTimers(TimerStackIdT StackID, bool DumpCumulative) {
1009 void GlobalContext::dumpLocalTimers(const std::string &TimerNameOverride,
1029 GlobalStringPoolTraits::getStrings(const GlobalContext *PoolOwner) {
1033 TimerIdT TimerMarker::getTimerIdFromFuncName(GlobalContext *Ctx,
1039 return Ctx->getTimerID(GlobalContext::TSK_Funcs, FuncName);
1044 case GlobalContext::TSK_Default:
1048 case GlobalContext::TSK_Funcs:
1065 ICE_TLS_DEFINE_FIELD(GlobalContext::ThreadContext *, GlobalContext, TLS);