diff --git a/abi_symbols b/abi_symbols --- a/abi_symbols +++ b/abi_symbols @@ -64,6 +64,7 @@ libiga64.so.1:kv_get_opgroup libiga64.so.1:kv_get_predicate libiga64.so.1:kv_get_send_descs +libiga64.so.1:kv_get_send_exbso libiga64.so.1:kv_get_send_indirect_descs libiga64.so.1:kv_get_source_data_type libiga64.so.1:kv_get_source_immediate @@ -112,7 +113,667 @@ libigc.so.1:JITCompile libigc.so.1:JITCompile_v2 libigc.so.1:Register +libigc.so.1:_ZN3lld10DWARFCache13getDILineInfoEmm +libigc.so.1:_ZN3lld10DWARFCache14getVariableLocB5cxx11EN4llvm9StringRefE +libigc.so.1:_ZN3lld10DWARFCacheC1ESt10unique_ptrIN4llvm12DWARFContextESt14default_deleteIS3_EE +libigc.so.1:_ZN3lld10DWARFCacheC2ESt10unique_ptrIN4llvm12DWARFContextESt14default_deleteIS3_EE +libigc.so.1:_ZN3lld10checkErrorEN4llvm5ErrorE +libigc.so.1:_ZN3lld10saveBufferEN4llvm9StringRefERKNS0_5TwineE +libigc.so.1:_ZN3lld11toELFStringB5cxx11ERKN4llvm6object7Archive6SymbolE +libigc.so.1:_ZN3lld11unlinkAsyncEN4llvm9StringRefE +libigc.so.1:_ZN3lld12ErrorHandler11getLocationB5cxx11ERKN4llvm5TwineE +libigc.so.1:_ZN3lld12ErrorHandler3logERKN4llvm5TwineE +libigc.so.1:_ZN3lld12ErrorHandler4warnERKN4llvm5TwineE +libigc.so.1:_ZN3lld12ErrorHandler5errorERKN4llvm5TwineE +libigc.so.1:_ZN3lld12ErrorHandler5errorERKN4llvm5TwineENS_8ErrorTagENS1_8ArrayRefINS1_9StringRefEEE +libigc.so.1:_ZN3lld12ErrorHandler5fatalERKN4llvm5TwineE +libigc.so.1:_ZN3lld12ErrorHandler7messageERKN4llvm5TwineE +libigc.so.1:_ZN3lld12errorHandlerEv +libigc.so.1:_ZN3lld13getLLDVersionB5cxx11Ev +libigc.so.1:_ZN3lld13tryCreateFileEN4llvm9StringRefE +libigc.so.1:_ZN3lld14relativeToRootB5cxx11EN4llvm9StringRefE +libigc.so.1:_ZN3lld15demangleItaniumB5cxx11EN4llvm9StringRefE +libigc.so.1:_ZN3lld17SpecificAllocBase9instancesE +libigc.so.1:_ZN3lld17diagnosticHandlerERKN4llvm14DiagnosticInfoE +libigc.so.1:_ZN3lld18isValidCIdentifierEN4llvm9StringRefE +libigc.so.1:_ZN3lld19SingleStringMatcherC1EN4llvm9StringRefE +libigc.so.1:_ZN3lld19SingleStringMatcherC2EN4llvm9StringRefE +libigc.so.1:_ZN3lld23getCodeModelFromCMModelEv +libigc.so.1:_ZN3lld24getRelocModelFromCMModelEv +libigc.so.1:_ZN3lld33initTargetOptionsFromCodeGenFlagsEv +libigc.so.1:_ZN3lld3elf10BinaryFile5parseEv +libigc.so.1:_ZN3lld3elf10BssSectionC1EN4llvm9StringRefEmj +libigc.so.1:_ZN3lld3elf10BssSectionC2EN4llvm9StringRefEmj +libigc.so.1:_ZN3lld3elf10GotSection11addTlsIndexEv +libigc.so.1:_ZN3lld3elf10GotSection14addDynTlsEntryERNS0_6SymbolE +libigc.so.1:_ZN3lld3elf10GotSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf10GotSection7writeToEPh +libigc.so.1:_ZN3lld3elf10GotSection8addEntryERNS0_6SymbolE +libigc.so.1:_ZN3lld3elf10GotSectionC1Ev +libigc.so.1:_ZN3lld3elf10GotSectionC2Ev +libigc.so.1:_ZN3lld3elf10PltSection10addSymbolsEv +libigc.so.1:_ZN3lld3elf10PltSection7writeToEPh +libigc.so.1:_ZN3lld3elf10PltSection8addEntryERNS0_6SymbolE +libigc.so.1:_ZN3lld3elf10PltSectionC1Ev +libigc.so.1:_ZN3lld3elf10PltSectionC2Ev +libigc.so.1:_ZN3lld3elf10SharedFile10vernauxNumE +libigc.so.1:_ZN3lld3elf10TargetInfoD0Ev +libigc.so.1:_ZN3lld3elf10TargetInfoD1Ev +libigc.so.1:_ZN3lld3elf10TargetInfoD2Ev +libigc.so.1:_ZN3lld3elf10addVerneedEPNS0_6SymbolE +libigc.so.1:_ZN3lld3elf10partitionsE +libigc.so.1:_ZN3lld3elf10readDefsymEN4llvm9StringRefENS1_15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf11ArchiveFile20shouldFetchForCommonERKN4llvm6object7Archive6SymbolE +libigc.so.1:_ZN3lld3elf11ArchiveFile5fetchERKN4llvm6object7Archive6SymbolE +libigc.so.1:_ZN3lld3elf11ArchiveFile5parseEv +libigc.so.1:_ZN3lld3elf11ArchiveFileC1EOSt10unique_ptrIN4llvm6object7ArchiveESt14default_deleteIS5_EE +libigc.so.1:_ZN3lld3elf11ArchiveFileC2EOSt10unique_ptrIN4llvm6object7ArchiveESt14default_deleteIS5_EE +libigc.so.1:_ZN3lld3elf11BitcodeFileC1EN4llvm15MemoryBufferRefENS2_9StringRefEm +libigc.so.1:_ZN3lld3elf11BitcodeFileC2EN4llvm15MemoryBufferRefENS2_9StringRefEm +libigc.so.1:_ZN3lld3elf11ELFFileBaseC1ENS0_9InputFile4KindEN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf11ELFFileBaseC2ENS0_9InputFile4KindEN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf11ELFOptTable5parseEN4llvm8ArrayRefIPKcEE +libigc.so.1:_ZN3lld3elf11ELFOptTableC1Ev +libigc.so.1:_ZN3lld3elf11ELFOptTableC2Ev +libigc.so.1:_ZN3lld3elf11IpltSection10addSymbolsEv +libigc.so.1:_ZN3lld3elf11IpltSection7writeToEPh +libigc.so.1:_ZN3lld3elf11IpltSection8addEntryERNS0_6SymbolE +libigc.so.1:_ZN3lld3elf11IpltSectionC1Ev +libigc.so.1:_ZN3lld3elf11IpltSectionC2Ev +libigc.so.1:_ZN3lld3elf11LazyArchive15getMemberBufferEv +libigc.so.1:_ZN3lld3elf11LazyObjFile20shouldFetchForCommonERKN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11LazyObjFile5fetchEv +libigc.so.1:_ZN3lld3elf11ScriptLexer12consumeLabelEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11ScriptLexer12getCurrentMBEv +libigc.so.1:_ZN3lld3elf11ScriptLexer13getLineNumberEv +libigc.so.1:_ZN3lld3elf11ScriptLexer14maybeSplitExprEv +libigc.so.1:_ZN3lld3elf11ScriptLexer15getColumnNumberEv +libigc.so.1:_ZN3lld3elf11ScriptLexer18getCurrentLocationB5cxx11Ev +libigc.so.1:_ZN3lld3elf11ScriptLexer4nextEv +libigc.so.1:_ZN3lld3elf11ScriptLexer4peekEv +libigc.so.1:_ZN3lld3elf11ScriptLexer4skipEv +libigc.so.1:_ZN3lld3elf11ScriptLexer5atEOFEv +libigc.so.1:_ZN3lld3elf11ScriptLexer5peek2Ev +libigc.so.1:_ZN3lld3elf11ScriptLexer6expectEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11ScriptLexer7consumeEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11ScriptLexer7getLineEv +libigc.so.1:_ZN3lld3elf11ScriptLexer8setErrorERKN4llvm5TwineE +libigc.so.1:_ZN3lld3elf11ScriptLexer8tokenizeEN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf11ScriptLexer9skipSpaceEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11ScriptLexerC1EN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf11ScriptLexerC2EN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf11SectionBase16getOutputSectionEv +libigc.so.1:_ZN3lld3elf11SymbolTable13findByVersionENS0_13SymbolVersionE +libigc.so.1:_ZN3lld3elf11SymbolTable16findAllByVersionENS0_13SymbolVersionE +libigc.so.1:_ZN3lld3elf11SymbolTable16getDemangledSymsEv +libigc.so.1:_ZN3lld3elf11SymbolTable17handleDynamicListEv +libigc.so.1:_ZN3lld3elf11SymbolTable17scanVersionScriptEv +libigc.so.1:_ZN3lld3elf11SymbolTable18assignExactVersionENS0_13SymbolVersionEtN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11SymbolTable21assignWildcardVersionENS0_13SymbolVersionEt +libigc.so.1:_ZN3lld3elf11SymbolTable4findEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11SymbolTable4wrapEPNS0_6SymbolES3_S3_ +libigc.so.1:_ZN3lld3elf11SymbolTable6insertEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11SymbolTable9addSymbolERKNS0_6SymbolE +libigc.so.1:_ZN3lld3elf11binaryFilesE +libigc.so.1:_ZN3lld3elf11getPriorityEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11hasWildcardEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf11isMicroMipsEv +libigc.so.1:_ZN3lld3elf11objectFilesE +libigc.so.1:_ZN3lld3elf11sharedFilesE +libigc.so.1:_ZN3lld3elf12InputSection7classofEPKNS0_11SectionBaseE +libigc.so.1:_ZN3lld3elf12InputSection7replaceEPS1_ +libigc.so.1:_ZN3lld3elf12InputSection9discardedE +libigc.so.1:_ZN3lld3elf12InputSectionC1EPNS0_9InputFileEmjjN4llvm8ArrayRefIhEENS4_9StringRefENS0_11SectionBase4KindE +libigc.so.1:_ZN3lld3elf12InputSectionC2EPNS0_9InputFileEmjjN4llvm8ArrayRefIhEENS4_9StringRefENS0_11SectionBase4KindE +libigc.so.1:_ZN3lld3elf12LinkerDriver10addLibraryEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf12LinkerDriver10linkerMainEN4llvm8ArrayRefIPKcEE +libigc.so.1:_ZN3lld3elf12LinkerDriver11createFilesERN4llvm3opt12InputArgListE +libigc.so.1:_ZN3lld3elf12LinkerDriver16inferMachineTypeEv +libigc.so.1:_ZN3lld3elf12LinkerDriver7addFileEN4llvm9StringRefEb +libigc.so.1:_ZN3lld3elf12LinkerScript10shouldKeepEPNS0_16InputSectionBaseE +libigc.so.1:_ZN3lld3elf12LinkerScript11createPhdrsEv +libigc.so.1:_ZN3lld3elf12LinkerScript12AddressStateC1Ev +libigc.so.1:_ZN3lld3elf12LinkerScript12AddressStateC2Ev +libigc.so.1:_ZN3lld3elf12LinkerScript12assignSymbolEPNS0_16SymbolAssignmentEb +libigc.so.1:_ZN3lld3elf12LinkerScript13assignOffsetsEPNS0_13OutputSectionE +libigc.so.1:_ZN3lld3elf12LinkerScript14declareSymbolsEv +libigc.so.1:_ZN3lld3elf12LinkerScript14getPhdrIndicesEPNS0_13OutputSectionE +libigc.so.1:_ZN3lld3elf12LinkerScript14getSymbolValueEN4llvm9StringRefERKNS2_5TwineE +libigc.so.1:_ZN3lld3elf12LinkerScript15allocateHeadersERSt6vectorIPNS0_9PhdrEntryESaIS4_EE +libigc.so.1:_ZN3lld3elf12LinkerScript15assignAddressesEv +libigc.so.1:_ZN3lld3elf12LinkerScript16discardSyntheticERNS0_13OutputSectionE +libigc.so.1:_ZN3lld3elf12LinkerScript16findMemoryRegionEPNS0_13OutputSectionE +libigc.so.1:_ZN3lld3elf12LinkerScript17addOrphanSectionsEv +libigc.so.1:_ZN3lld3elf12LinkerScript18needsInterpSectionEv +libigc.so.1:_ZN3lld3elf12LinkerScript19createOutputSectionEN4llvm9StringRefES3_ +libigc.so.1:_ZN3lld3elf12LinkerScript19expandMemoryRegionsEm +libigc.so.1:_ZN3lld3elf12LinkerScript19expandOutputSectionEm +libigc.so.1:_ZN3lld3elf12LinkerScript20computeInputSectionsEPKNS0_23InputSectionDescriptionEN4llvm8ArrayRefIPNS0_16InputSectionBaseEEE +libigc.so.1:_ZN3lld3elf12LinkerScript21processInsertCommandsEv +libigc.so.1:_ZN3lld3elf12LinkerScript22createInputSectionListERNS0_13OutputSectionE +libigc.so.1:_ZN3lld3elf12LinkerScript22processSectionCommandsEv +libigc.so.1:_ZN3lld3elf12LinkerScript24getOrCreateOutputSectionEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf12LinkerScript24processSymbolAssignmentsEv +libigc.so.1:_ZN3lld3elf12LinkerScript26adjustSectionsAfterSortingEv +libigc.so.1:_ZN3lld3elf12LinkerScript27adjustSectionsBeforeSortingEv +libigc.so.1:_ZN3lld3elf12LinkerScript6outputEPNS0_12InputSectionE +libigc.so.1:_ZN3lld3elf12LinkerScript6setDotESt8functionIFNS0_9ExprValueEvEERKN4llvm5TwineEb +libigc.so.1:_ZN3lld3elf12LinkerScript7advanceEmj +libigc.so.1:_ZN3lld3elf12LinkerScript7discardEPNS0_16InputSectionBaseE +libigc.so.1:_ZN3lld3elf12LinkerScript8switchToEPNS0_13OutputSectionE +libigc.so.1:_ZN3lld3elf12LinkerScript9addSymbolEPNS0_16SymbolAssignmentE +libigc.so.1:_ZN3lld3elf12ThunkCreator11mergeThunksEN4llvm8ArrayRefIPNS0_13OutputSectionEEE +libigc.so.1:_ZN3lld3elf12ThunkCreator12createThunksEN4llvm8ArrayRefIPNS0_13OutputSectionEEE +libigc.so.1:_ZN3lld3elf12ThunkCreator13getISThunkSecEPNS0_12InputSectionE +libigc.so.1:_ZN3lld3elf12ThunkCreator14getISDThunkSecEPNS0_13OutputSectionEPNS0_12InputSectionEPNS0_23InputSectionDescriptionEjm +libigc.so.1:_ZN3lld3elf12ThunkCreator15addThunkSectionEPNS0_13OutputSectionEPNS0_23InputSectionDescriptionEm +libigc.so.1:_ZN3lld3elf12ThunkCreator22normalizeExistingThunkERNS0_10RelocationEm +libigc.so.1:_ZN3lld3elf12ThunkCreator26createInitialThunkSectionsEN4llvm8ArrayRefIPNS0_13OutputSectionEEE +libigc.so.1:_ZN3lld3elf12ThunkCreator8getThunkEPNS0_12InputSectionERNS0_10RelocationEm +libigc.so.1:_ZN3lld3elf12ThunkSection13assignOffsetsEv +libigc.so.1:_ZN3lld3elf12ThunkSection7writeToEPh +libigc.so.1:_ZN3lld3elf12ThunkSection8addThunkEPNS0_5ThunkE +libigc.so.1:_ZN3lld3elf12ThunkSectionC1EPNS0_13OutputSectionEm +libigc.so.1:_ZN3lld3elf12ThunkSectionC2EPNS0_13OutputSectionEm +libigc.so.1:_ZN3lld3elf12archiveFilesE +libigc.so.1:_ZN3lld3elf12bitcodeFilesE +libigc.so.1:_ZN3lld3elf12isMipsN32AbiEPKNS0_9InputFileE +libigc.so.1:_ZN3lld3elf12lazyObjFilesE +libigc.so.1:_ZN3lld3elf12searchScriptB5cxx11EN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf12writeMapFileEv +libigc.so.1:_ZN3lld3elf13EhFrameHeader5writeEv +libigc.so.1:_ZN3lld3elf13EhFrameHeader7writeToEPh +libigc.so.1:_ZN3lld3elf13EhFrameHeaderC1Ev +libigc.so.1:_ZN3lld3elf13EhFrameHeaderC2Ev +libigc.so.1:_ZN3lld3elf13GotPltSection7writeToEPh +libigc.so.1:_ZN3lld3elf13GotPltSection8addEntryERNS0_6SymbolE +libigc.so.1:_ZN3lld3elf13GotPltSectionC1Ev +libigc.so.1:_ZN3lld3elf13GotPltSectionC2Ev +libigc.so.1:_ZN3lld3elf13IBTPltSection7writeToEPh +libigc.so.1:_ZN3lld3elf13IBTPltSectionC1Ev +libigc.so.1:_ZN3lld3elf13IBTPltSectionC2Ev +libigc.so.1:_ZN3lld3elf13OutputSection12sortInitFiniEv +libigc.so.1:_ZN3lld3elf13OutputSection13commitSectionEPNS0_12InputSectionE +libigc.so.1:_ZN3lld3elf13OutputSection13recordSectionEPNS0_16InputSectionBaseE +libigc.so.1:_ZN3lld3elf13OutputSection14sortCtorsDtorsEv +libigc.so.1:_ZN3lld3elf13OutputSection21finalizeInputSectionsEv +libigc.so.1:_ZN3lld3elf13OutputSection4sortEN4llvm12function_refIFiPNS0_16InputSectionBaseEEEE +libigc.so.1:_ZN3lld3elf13OutputSection7classofEPKNS0_11BaseCommandE +libigc.so.1:_ZN3lld3elf13OutputSection8finalizeEv +libigc.so.1:_ZN3lld3elf13OutputSection9getFillerEv +libigc.so.1:_ZN3lld3elf13OutputSectionC1EN4llvm9StringRefEjm +libigc.so.1:_ZN3lld3elf13OutputSectionC2EN4llvm9StringRefEjm +libigc.so.1:_ZN3lld3elf13getErrorPlaceEPKh +libigc.so.1:_ZN3lld3elf13getHeaderSizeEv +libigc.so.1:_ZN3lld3elf13getPPCDFormOpEj +libigc.so.1:_ZN3lld3elf13inputSectionsE +libigc.so.1:_ZN3lld3elf13searchLibraryB5cxx11EN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf14BuildIdSection12writeBuildIdEN4llvm8ArrayRefIhEE +libigc.so.1:_ZN3lld3elf14BuildIdSection7writeToEPh +libigc.so.1:_ZN3lld3elf14BuildIdSectionC1Ev +libigc.so.1:_ZN3lld3elf14BuildIdSectionC2Ev +libigc.so.1:_ZN3lld3elf14EhFrameSection10addSectionEPNS0_14EhInputSectionE +libigc.so.1:_ZN3lld3elf14EhFrameSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf14EhFrameSection7writeToEPh +libigc.so.1:_ZN3lld3elf14EhFrameSectionC1Ev +libigc.so.1:_ZN3lld3elf14EhFrameSectionC2Ev +libigc.so.1:_ZN3lld3elf14IgotPltSection7writeToEPh +libigc.so.1:_ZN3lld3elf14IgotPltSection8addEntryERNS0_6SymbolE +libigc.so.1:_ZN3lld3elf14IgotPltSectionC1Ev +libigc.so.1:_ZN3lld3elf14IgotPltSectionC2Ev +libigc.so.1:_ZN3lld3elf14MipsGotSection11addTlsIndexERNS0_9InputFileE +libigc.so.1:_ZN3lld3elf14MipsGotSection12tryMergeGotsERNS1_7FileGotES3_b +libigc.so.1:_ZN3lld3elf14MipsGotSection14addDynTlsEntryERNS0_9InputFileERNS0_6SymbolE +libigc.so.1:_ZN3lld3elf14MipsGotSection15updateAllocSizeEv +libigc.so.1:_ZN3lld3elf14MipsGotSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf14MipsGotSection5buildEv +libigc.so.1:_ZN3lld3elf14MipsGotSection6getGotERNS0_9InputFileE +libigc.so.1:_ZN3lld3elf14MipsGotSection7writeToEPh +libigc.so.1:_ZN3lld3elf14MipsGotSection8addEntryERNS0_9InputFileERNS0_6SymbolElNS0_7RelExprE +libigc.so.1:_ZN3lld3elf14MipsGotSectionC1Ev +libigc.so.1:_ZN3lld3elf14MipsGotSectionC2Ev +libigc.so.1:_ZN3lld3elf14getAArch64PageEm +libigc.so.1:_ZN3lld3elf14getFdeEncodingEPNS0_14EhSectionPieceE +libigc.so.1:_ZN3lld3elf14outputSectionsE +libigc.so.1:_ZN3lld3elf14reportBackrefsEv +libigc.so.1:_ZN3lld3elf15BitcodeCompiler3addERNS0_11BitcodeFileE +libigc.so.1:_ZN3lld3elf15BitcodeCompiler7compileEv +libigc.so.1:_ZN3lld3elf15BitcodeCompilerC1Ev +libigc.so.1:_ZN3lld3elf15BitcodeCompilerC2Ev +libigc.so.1:_ZN3lld3elf15BitcodeCompilerD1Ev +libigc.so.1:_ZN3lld3elf15BitcodeCompilerD2Ev +libigc.so.1:_ZN3lld3elf15GdbIndexSection14initOutputSizeEv +libigc.so.1:_ZN3lld3elf15GdbIndexSection7writeToEPh +libigc.so.1:_ZN3lld3elf15GdbIndexSectionC1Ev +libigc.so.1:_ZN3lld3elf15GdbIndexSectionC2Ev +libigc.so.1:_ZN3lld3elf15RelrBaseSectionC2Ev +libigc.so.1:_ZN3lld3elf15getPPC64TocBaseEv +libigc.so.1:_ZN3lld3elf15ppc64noTocRelaxE +libigc.so.1:_ZN3lld3elf15readDynamicListEN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf16HashTableSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf16HashTableSection7writeToEPh +libigc.so.1:_ZN3lld3elf16HashTableSectionC1Ev +libigc.so.1:_ZN3lld3elf16HashTableSectionC2Ev +libigc.so.1:_ZN3lld3elf16InputSectionBase13relocateAllocEPhS2_ +libigc.so.1:_ZN3lld3elf16InputSectionBase16getRelocTargetVAEPKNS0_9InputFileEjlmRKNS0_6SymbolENS0_7RelExprE +libigc.so.1:_ZN3lld3elf16InputSectionBase21parseCompressedHeaderEv +libigc.so.1:_ZN3lld3elf16InputSectionBase9getObjMsgB5cxx11Em +libigc.so.1:_ZN3lld3elf16InputSectionBase9getSrcMsgB5cxx11ERKNS0_6SymbolEm +libigc.so.1:_ZN3lld3elf16InputSectionBaseC1EPNS0_9InputFileEmjmjjjN4llvm8ArrayRefIhEENS4_9StringRefENS0_11SectionBase4KindE +libigc.so.1:_ZN3lld3elf16InputSectionBaseC2EPNS0_9InputFileEmjmjjjN4llvm8ArrayRefIhEENS4_9StringRefENS0_11SectionBase4KindE +libigc.so.1:_ZN3lld3elf16MergeTailSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf16MergeTailSection7writeToEPh +libigc.so.1:_ZN3lld3elf16MergeTailSectionC1EN4llvm9StringRefEjmj +libigc.so.1:_ZN3lld3elf16MergeTailSectionC2EN4llvm9StringRefEjmj +libigc.so.1:_ZN3lld3elf16PPC32Got2Section16finalizeContentsEv +libigc.so.1:_ZN3lld3elf16PPC32Got2SectionC1Ev +libigc.so.1:_ZN3lld3elf16PPC32Got2SectionC2Ev +libigc.so.1:_ZN3lld3elf16createObjectFileEN4llvm15MemoryBufferRefENS1_9StringRefEm +libigc.so.1:_ZN3lld3elf16getARMTargetInfoEv +libigc.so.1:_ZN3lld3elf16getAVRTargetInfoEv +libigc.so.1:_ZN3lld3elf16getInputSectionsEPKNS0_13OutputSectionE +libigc.so.1:_ZN3lld3elf16getMipsFpAbiFlagEhhN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf16getPPCTargetInfoEv +libigc.so.1:_ZN3lld3elf16getX86TargetInfoEv +libigc.so.1:_ZN3lld3elf16printTraceSymbolEPKNS0_6SymbolE +libigc.so.1:_ZN3lld3elf16readEhRecordSizeEPNS0_16InputSectionBaseEm +libigc.so.1:_ZN3lld3elf16readLinkerScriptEN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf16reportRangeErrorEPhRKNS0_10RelocationERKN4llvm5TwineElm +libigc.so.1:_ZN3lld3elf16reportRangeErrorEPhliRKNS0_6SymbolERKN4llvm5TwineE +libigc.so.1:_ZN3lld3elf17MergeInputSection12splitStringsEN4llvm8ArrayRefIhEEm +libigc.so.1:_ZN3lld3elf17MergeInputSection15getSectionPieceEm +libigc.so.1:_ZN3lld3elf17MergeInputSection15splitIntoPiecesEv +libigc.so.1:_ZN3lld3elf17MergeInputSection15splitNonStringsEN4llvm8ArrayRefIhEEm +libigc.so.1:_ZN3lld3elf17MergeInputSectionC1EmjmN4llvm8ArrayRefIhEENS2_9StringRefE +libigc.so.1:_ZN3lld3elf17MergeInputSectionC2EmjmN4llvm8ArrayRefIhEENS2_9StringRefE +libigc.so.1:_ZN3lld3elf17MipsRldMapSectionC1Ev +libigc.so.1:_ZN3lld3elf17MipsRldMapSectionC2Ev +libigc.so.1:_ZN3lld3elf17PPC32GlinkSection7writeToEPh +libigc.so.1:_ZN3lld3elf17PPC32GlinkSectionC1Ev +libigc.so.1:_ZN3lld3elf17PPC32GlinkSectionC2Ev +libigc.so.1:_ZN3lld3elf17addSyntheticLocalEN4llvm9StringRefEhmmRNS0_16InputSectionBaseE +libigc.so.1:_ZN3lld3elf17combineEhSectionsEv +libigc.so.1:_ZN3lld3elf17readVersionScriptEN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf17writeArchiveStatsEv +libigc.so.1:_ZN3lld3elf18GnuPropertySection7writeToEPh +libigc.so.1:_ZN3lld3elf18GnuPropertySectionC1Ev +libigc.so.1:_ZN3lld3elf18GnuPropertySectionC2Ev +libigc.so.1:_ZN3lld3elf18MergeNoTailSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf18MergeNoTailSection7writeToEPh +libigc.so.1:_ZN3lld3elf18MergeNoTailSection9numShardsE +libigc.so.1:_ZN3lld3elf18Patch657417Section7writeToEPh +libigc.so.1:_ZN3lld3elf18Patch657417SectionC1EPNS0_12InputSectionEmjb +libigc.so.1:_ZN3lld3elf18Patch657417SectionC2EPNS0_12InputSectionEmjb +libigc.so.1:_ZN3lld3elf18Patch843419Section7writeToEPh +libigc.so.1:_ZN3lld3elf18Patch843419SectionC1EPNS0_12InputSectionEm +libigc.so.1:_ZN3lld3elf18Patch843419SectionC2EPNS0_12InputSectionEm +libigc.so.1:_ZN3lld3elf18StringTableSection7writeToEPh +libigc.so.1:_ZN3lld3elf18StringTableSection9addStringEN4llvm9StringRefEb +libigc.so.1:_ZN3lld3elf18StringTableSectionC1EN4llvm9StringRefEb +libigc.so.1:_ZN3lld3elf18StringTableSectionC2EN4llvm9StringRefEb +libigc.so.1:_ZN3lld3elf18SymtabShndxSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf18SymtabShndxSection7writeToEPh +libigc.so.1:_ZN3lld3elf18SymtabShndxSectionC1Ev +libigc.so.1:_ZN3lld3elf18SymtabShndxSectionC2Ev +libigc.so.1:_ZN3lld3elf18addReservedSymbolsEv +libigc.so.1:_ZN3lld3elf18backwardReferencesE +libigc.so.1:_ZN3lld3elf18createResponseFileB5cxx11ERKN4llvm3opt12InputArgListE +libigc.so.1:_ZN3lld3elf18getPPC64TargetInfoEv +libigc.so.1:_ZN3lld3elf18getRISCVTargetInfoEv +libigc.so.1:_ZN3lld3elf19ARMErr657417Patcher11createFixesEv +libigc.so.1:_ZN3lld3elf19ARMErr657417Patcher13insertPatchesERNS0_23InputSectionDescriptionERSt6vectorIPNS0_18Patch657417SectionESaIS6_EE +libigc.so.1:_ZN3lld3elf19ARMErr657417Patcher28patchInputSectionDescriptionERNS0_23InputSectionDescriptionE +libigc.so.1:_ZN3lld3elf19ARMErr657417Patcher4initEv +libigc.so.1:_ZN3lld3elf19GnuHashTableSection10addSymbolsERSt6vectorINS0_16SymbolTableEntryESaIS3_EE +libigc.so.1:_ZN3lld3elf19GnuHashTableSection14writeHashTableEPh +libigc.so.1:_ZN3lld3elf19GnuHashTableSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf19GnuHashTableSection16writeBloomFilterEPh +libigc.so.1:_ZN3lld3elf19GnuHashTableSection7writeToEPh +libigc.so.1:_ZN3lld3elf19GnuHashTableSectionC1Ev +libigc.so.1:_ZN3lld3elf19GnuHashTableSectionC2Ev +libigc.so.1:_ZN3lld3elf19VersionTableSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf19VersionTableSection7writeToEPh +libigc.so.1:_ZN3lld3elf19VersionTableSectionC1Ev +libigc.so.1:_ZN3lld3elf19VersionTableSectionC2Ev +libigc.so.1:_ZN3lld3elf19addPPC64SaveRestoreEv +libigc.so.1:_ZN3lld3elf19createInterpSectionEv +libigc.so.1:_ZN3lld3elf19findFromSearchPathsB5cxx11EN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf19getAMDGPUTargetInfoEv +libigc.so.1:_ZN3lld3elf19getMSP430TargetInfoEv +libigc.so.1:_ZN3lld3elf19getX86_64TargetInfoEv +libigc.so.1:_ZN3lld3elf20computeIsPreemptibleERKNS0_6SymbolE +libigc.so.1:_ZN3lld3elf20createCommentSectionEv +libigc.so.1:_ZN3lld3elf20createMergeSyntheticEN4llvm9StringRefEjmj +libigc.so.1:_ZN3lld3elf20getAArch64TargetInfoEv +libigc.so.1:_ZN3lld3elf20getFirstInputSectionEPKNS0_13OutputSectionE +libigc.so.1:_ZN3lld3elf20getHexagonTargetInfoEv +libigc.so.1:_ZN3lld3elf20getOutputSectionNameEPKNS0_16InputSectionBaseE +libigc.so.1:_ZN3lld3elf20getSPARCV9TargetInfoEv +libigc.so.1:_ZN3lld3elf20replaceThinLTOSuffixB5cxx11EN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf21MergeSyntheticSection10addSectionEPNS0_17MergeInputSectionE +libigc.so.1:_ZN3lld3elf21PartitionIndexSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf21PartitionIndexSection7writeToEPh +libigc.so.1:_ZN3lld3elf21PartitionIndexSectionC1Ev +libigc.so.1:_ZN3lld3elf21PartitionIndexSectionC2Ev +libigc.so.1:_ZN3lld3elf21RelocationBaseSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf21RelocationBaseSection8addRelocERKNS0_12DynamicRelocE +libigc.so.1:_ZN3lld3elf21RelocationBaseSection8addRelocEjPNS0_16InputSectionBaseEmPNS0_6SymbolE +libigc.so.1:_ZN3lld3elf21RelocationBaseSection8addRelocEjPNS0_16InputSectionBaseEmPNS0_6SymbolElNS0_7RelExprEj +libigc.so.1:_ZN3lld3elf21RelocationBaseSectionC2EN4llvm9StringRefEjii +libigc.so.1:_ZN3lld3elf21hexagonNeedsTLSSymbolEN4llvm8ArrayRefIPNS0_13OutputSectionEEE +libigc.so.1:_ZN3lld3elf21searchLibraryBaseNameB5cxx11EN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf21writePPC32PltCallStubEPhmPKNS0_9InputFileEl +libigc.so.1:_ZN3lld3elf22SymbolTableBaseSection14getSymbolIndexEPNS0_6SymbolE +libigc.so.1:_ZN3lld3elf22SymbolTableBaseSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf22SymbolTableBaseSection17sortSymTabSymbolsEv +libigc.so.1:_ZN3lld3elf22SymbolTableBaseSection9addSymbolEPNS0_6SymbolE +libigc.so.1:_ZN3lld3elf22SymbolTableBaseSectionC2ERNS0_18StringTableSectionE +libigc.so.1:_ZN3lld3elf22hexagonTLSSymbolUpdateEN4llvm8ArrayRefIPNS0_13OutputSectionEEE +libigc.so.1:_ZN3lld3elf22writePPC32GlinkSectionEPhm +libigc.so.1:_ZN3lld3elf23AArch64Err843419Patcher11createFixesEv +libigc.so.1:_ZN3lld3elf23AArch64Err843419Patcher13insertPatchesERNS0_23InputSectionDescriptionERSt6vectorIPNS0_18Patch843419SectionESaIS6_EE +libigc.so.1:_ZN3lld3elf23AArch64Err843419Patcher28patchInputSectionDescriptionERNS0_23InputSectionDescriptionE +libigc.so.1:_ZN3lld3elf23AArch64Err843419Patcher4initEv +libigc.so.1:_ZN3lld3elf23writePPC64LoadAndBranchEPhl +libigc.so.1:_ZN3lld3elf24ARMExidxSyntheticSection10addSectionEPNS0_12InputSectionE +libigc.so.1:_ZN3lld3elf24ARMExidxSyntheticSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf24ARMExidxSyntheticSection7classofEPKNS0_11SectionBaseE +libigc.so.1:_ZN3lld3elf24ARMExidxSyntheticSection7writeToEPh +libigc.so.1:_ZN3lld3elf24ARMExidxSyntheticSectionC1Ev +libigc.so.1:_ZN3lld3elf24ARMExidxSyntheticSectionC2Ev +libigc.so.1:_ZN3lld3elf24VersionDefinitionSection14getFileDefNameEv +libigc.so.1:_ZN3lld3elf24VersionDefinitionSection16finalizeContentsEv +libigc.so.1:_ZN3lld3elf24VersionDefinitionSection7writeToEPh +libigc.so.1:_ZN3lld3elf24VersionDefinitionSection8writeOneEPhjN4llvm9StringRefEm +libigc.so.1:_ZN3lld3elf24VersionDefinitionSectionC1Ev +libigc.so.1:_ZN3lld3elf24VersionDefinitionSectionC2Ev +libigc.so.1:_ZN3lld3elf24writeCrossReferenceTableEv +libigc.so.1:_ZN3lld3elf24writePrefixedInstructionEPhm +libigc.so.1:_ZN3lld3elf26copySectionsIntoPartitionsEv +libigc.so.1:_ZN3lld3elf26maybeWarnUnorderableSymbolEPKNS0_6SymbolE +libigc.so.1:_ZN3lld3elf27tryRelaxPPC64TocIndirectionERKNS0_10RelocationEPh +libigc.so.1:_ZN3lld3elf28PPC64LongBranchTargetSection10getEntryVAEPKNS0_6SymbolEl +libigc.so.1:_ZN3lld3elf28PPC64LongBranchTargetSection7writeToEPh +libigc.so.1:_ZN3lld3elf28PPC64LongBranchTargetSection8addEntryEPKNS0_6SymbolEl +libigc.so.1:_ZN3lld3elf28PPC64LongBranchTargetSectionC1Ev +libigc.so.1:_ZN3lld3elf28PPC64LongBranchTargetSectionC2Ev +libigc.so.1:_ZN3lld3elf28computeCallGraphProfileOrderEv +libigc.so.1:_ZN3lld3elf29isPPC64SmallCodeModelTocRelocEj +libigc.so.1:_ZN3lld3elf2inE +libigc.so.1:_ZN3lld3elf37getPPC64GlobalEntryToLocalEntryOffsetEh +libigc.so.1:_ZN3lld3elf3Out11bufferStartE +libigc.so.1:_ZN3lld3elf3Out12preinitArrayE +libigc.so.1:_ZN3lld3elf3Out14programHeadersE +libigc.so.1:_ZN3lld3elf3Out5firstE +libigc.so.1:_ZN3lld3elf3Out7tlsPhdrE +libigc.so.1:_ZN3lld3elf3Out9elfHeaderE +libigc.so.1:_ZN3lld3elf3Out9finiArrayE +libigc.so.1:_ZN3lld3elf3Out9initArrayE +libigc.so.1:_ZN3lld3elf3tarE +libigc.so.1:_ZN3lld3elf4linkEN4llvm8ArrayRefIPKcEEbRNS1_11raw_ostreamES7_ +libigc.so.1:_ZN3lld3elf5Thunk9addSymbolEN4llvm9StringRefEhmRNS0_16InputSectionBaseE +libigc.so.1:_ZN3lld3elf5Thunk9setOffsetEm +libigc.so.1:_ZN3lld3elf5ThunkC2ERNS0_6SymbolEl +libigc.so.1:_ZN3lld3elf5ThunkD0Ev +libigc.so.1:_ZN3lld3elf5ThunkD1Ev +libigc.so.1:_ZN3lld3elf5ThunkD2Ev +libigc.so.1:_ZN3lld3elf6ElfSym10mipsGpDispE +libigc.so.1:_ZN3lld3elf6ElfSym11mipsLocalGpE +libigc.so.1:_ZN3lld3elf6ElfSym11relaIpltEndE +libigc.so.1:_ZN3lld3elf6ElfSym13relaIpltStartE +libigc.so.1:_ZN3lld3elf6ElfSym13tlsModuleBaseE +libigc.so.1:_ZN3lld3elf6ElfSym17globalOffsetTableE +libigc.so.1:_ZN3lld3elf6ElfSym18riscvGlobalPointerE +libigc.so.1:_ZN3lld3elf6ElfSym3bssE +libigc.so.1:_ZN3lld3elf6ElfSym4end1E +libigc.so.1:_ZN3lld3elf6ElfSym4end2E +libigc.so.1:_ZN3lld3elf6ElfSym6edata1E +libigc.so.1:_ZN3lld3elf6ElfSym6edata2E +libigc.so.1:_ZN3lld3elf6ElfSym6etext1E +libigc.so.1:_ZN3lld3elf6ElfSym6etext2E +libigc.so.1:_ZN3lld3elf6ElfSym6mipsGpE +libigc.so.1:_ZN3lld3elf6Symbol13resolveCommonERKNS0_12CommonSymbolE +libigc.so.1:_ZN3lld3elf6Symbol13resolveSharedERKNS0_12SharedSymbolE +libigc.so.1:_ZN3lld3elf6Symbol14resolveDefinedERKNS0_7DefinedE +libigc.so.1:_ZN3lld3elf6Symbol15mergePropertiesERKS1_ +libigc.so.1:_ZN3lld3elf6Symbol16resolveUndefinedERKNS0_9UndefinedE +libigc.so.1:_ZN3lld3elf6Symbol18parseSymbolVersionEv +libigc.so.1:_ZN3lld3elf6Symbol7resolveERKS1_ +libigc.so.1:_ZN3lld3elf6configE +libigc.so.1:_ZN3lld3elf6driverE +libigc.so.1:_ZN3lld3elf6scriptE +libigc.so.1:_ZN3lld3elf6symtabE +libigc.so.1:_ZN3lld3elf6targetE +libigc.so.1:_ZN3lld3elf7hasLSDAERKNS0_14EhSectionPieceE +libigc.so.1:_ZN3lld3elf8addThunkERKNS0_12InputSectionERNS0_10RelocationE +libigc.so.1:_ZN3lld3elf8isMipsR6Ev +libigc.so.1:_ZN3lld3elf8mainPartE +libigc.so.1:_ZN3lld3elf8readFileEN4llvm9StringRefE +libigc.so.1:_ZN3lld3elf9InputFile11nextGroupIdE +libigc.so.1:_ZN3lld3elf9InputFile9getSrcMsgB5cxx11ERKNS0_6SymbolERNS0_16InputSectionBaseEm +libigc.so.1:_ZN3lld3elf9InputFile9isInGroupE +libigc.so.1:_ZN3lld3elf9InputFileC1ENS1_4KindEN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf9InputFileC2ENS1_4KindEN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld3elf9PhdrEntry3addEPNS0_13OutputSectionE +libigc.so.1:_ZN3lld3elf9getTargetEv +libigc.so.1:_ZN3lld3elf9parseFileEPNS0_9InputFileE +libigc.so.1:_ZN3lld3elf9printHelpEv +libigc.so.1:_ZN3lld4args10getIntegerERN4llvm3opt12InputArgListEjl +libigc.so.1:_ZN3lld4args10getStringsERN4llvm3opt12InputArgListEi +libigc.so.1:_ZN3lld4args13getCGOptLevelEi +libigc.so.1:_ZN3lld4args15getZOptionValueERN4llvm3opt12InputArgListEiNS1_9StringRefEm +libigc.so.1:_ZN3lld4args21getFilenameWithoutExeEN4llvm9StringRefE +libigc.so.1:_ZN3lld4args6getHexERN4llvm3opt12InputArgListEjl +libigc.so.1:_ZN3lld4args8getLinesEN4llvm15MemoryBufferRefE +libigc.so.1:_ZN3lld4errsEv +libigc.so.1:_ZN3lld4outsEv +libigc.so.1:_ZN3lld5quoteB5cxx11EN4llvm9StringRefE +libigc.so.1:_ZN3lld5saverE +libigc.so.1:_ZN3lld6bAllocE +libigc.so.1:_ZN3lld7exitLldEi +libigc.so.1:_ZN3lld8parseHexEN4llvm9StringRefE +libigc.so.1:_ZN3lld8stderrOSE +libigc.so.1:_ZN3lld8stdoutOSE +libigc.so.1:_ZN3lld8toStringB5cxx11EPKNS_3elf16InputSectionBaseE +libigc.so.1:_ZN3lld8toStringB5cxx11EPKNS_3elf9InputFileE +libigc.so.1:_ZN3lld8toStringB5cxx11ERKN4llvm3opt3ArgE +libigc.so.1:_ZN3lld8toStringB5cxx11ERKNS_3elf6SymbolE +libigc.so.1:_ZN3lld8toStringB5cxx11Ej +libigc.so.1:_ZN3lld9freeArenaEv +libigc.so.1:_ZN3lld9getCPUStrB5cxx11Ev +libigc.so.1:_ZN3lld9getMAttrsB5cxx11Ev libigc.so.1:_ZN4llvm15GenISAIntrinsic14getDeclarationEPNS_6ModuleENS0_2IDENS_8ArrayRefIPNS_4TypeEEE +libigc.so.1:_ZNK3lld13StringMatcher5matchEN4llvm9StringRefE +libigc.so.1:_ZNK3lld19SingleStringMatcher5matchEN4llvm9StringRefE +libigc.so.1:_ZNK3lld3elf10GotSection16getGlobalDynAddrERKNS0_6SymbolE +libigc.so.1:_ZNK3lld3elf10GotSection18getGlobalDynOffsetERKNS0_6SymbolE +libigc.so.1:_ZNK3lld3elf10GotSection8isNeededEv +libigc.so.1:_ZNK3lld3elf10PltSection7getSizeEv +libigc.so.1:_ZNK3lld3elf10PltSection8isNeededEv +libigc.so.1:_ZNK3lld3elf10TargetInfo10needsThunkENS0_7RelExprEjPKNS0_9InputFileEmRKNS0_6SymbolEl +libigc.so.1:_ZNK3lld3elf10TargetInfo12getImageBaseEv +libigc.so.1:_ZNK3lld3elf10TargetInfo13adjustTlsExprEjNS0_7RelExprE +libigc.so.1:_ZNK3lld3elf10TargetInfo13inBranchRangeEjmm +libigc.so.1:_ZNK3lld3elf10TargetInfo14relaxTlsGdToIeEPhRKNS0_10RelocationEm +libigc.so.1:_ZNK3lld3elf10TargetInfo14relaxTlsGdToLeEPhRKNS0_10RelocationEm +libigc.so.1:_ZNK3lld3elf10TargetInfo14relaxTlsIeToLeEPhRKNS0_10RelocationEm +libigc.so.1:_ZNK3lld3elf10TargetInfo14relaxTlsLdToLeEPhRKNS0_10RelocationEm +libigc.so.1:_ZNK3lld3elf10TargetInfo15adjustGotPcExprEjlPKh +libigc.so.1:_ZNK3lld3elf10TargetInfo17getImplicitAddendEPKhj +libigc.so.1:_ZNK3lld3elf10TargetInfo19usesOnlyLowPageBitsEj +libigc.so.1:_ZNK3lld3elf10TargetInfo32adjustPrologueForCrossSplitStackEPhS2_h +libigc.so.1:_ZNK3lld3elf10TargetInfo8relaxGotEPhRKNS0_10RelocationEm +libigc.so.1:_ZNK3lld3elf11ArchiveFile14getMemberCountEv +libigc.so.1:_ZNK3lld3elf11IpltSection7getSizeEv +libigc.so.1:_ZNK3lld3elf11SectionBase5getVAEm +libigc.so.1:_ZNK3lld3elf11SectionBase9getOffsetEm +libigc.so.1:_ZNK3lld3elf12DynamicReloc11getSymIndexEPNS0_22SymbolTableBaseSectionE +libigc.so.1:_ZNK3lld3elf12DynamicReloc13computeAddendEv +libigc.so.1:_ZNK3lld3elf12DynamicReloc9getOffsetEv +libigc.so.1:_ZNK3lld3elf12InputSection19getRelocatedSectionEv +libigc.so.1:_ZNK3lld3elf12InputSection9getParentEv +libigc.so.1:_ZNK3lld3elf12LinkerScript22diagnoseOrphanHandlingEv +libigc.so.1:_ZNK3lld3elf12ThunkSection21getTargetInputSectionEv +libigc.so.1:_ZNK3lld3elf12ThunkSection7getSizeEv +libigc.so.1:_ZNK3lld3elf13EhFrameHeader7getSizeEv +libigc.so.1:_ZNK3lld3elf13EhFrameHeader8isNeededEv +libigc.so.1:_ZNK3lld3elf13GotPltSection7getSizeEv +libigc.so.1:_ZNK3lld3elf13GotPltSection8isNeededEv +libigc.so.1:_ZNK3lld3elf13IBTPltSection7getSizeEv +libigc.so.1:_ZNK3lld3elf13OutputSection12getPhdrFlagsEv +libigc.so.1:_ZNK3lld3elf14EhFrameSection10getFdeDataEv +libigc.so.1:_ZNK3lld3elf14EhFrameSection8getFdePcEPhmh +libigc.so.1:_ZNK3lld3elf14EhInputSection9getParentEv +libigc.so.1:_ZNK3lld3elf14IgotPltSection7getSizeEv +libigc.so.1:_ZNK3lld3elf14MipsGotSection17getSymEntryOffsetEPKNS0_9InputFileERKNS0_6SymbolEl +libigc.so.1:_ZNK3lld3elf14MipsGotSection17getTlsIndexOffsetEPKNS0_9InputFileE +libigc.so.1:_ZNK3lld3elf14MipsGotSection18getGlobalDynOffsetEPKNS0_9InputFileERKNS0_6SymbolE +libigc.so.1:_ZNK3lld3elf14MipsGotSection18getLocalEntriesNumEv +libigc.so.1:_ZNK3lld3elf14MipsGotSection18getPageEntryOffsetEPKNS0_9InputFileERKNS0_6SymbolEl +libigc.so.1:_ZNK3lld3elf14MipsGotSection19getFirstGlobalEntryEv +libigc.so.1:_ZNK3lld3elf14MipsGotSection5getGpEPKNS0_9InputFileE +libigc.so.1:_ZNK3lld3elf14MipsGotSection7FileGot13getEntriesNumEv +libigc.so.1:_ZNK3lld3elf14MipsGotSection7FileGot17getPageEntriesNumEv +libigc.so.1:_ZNK3lld3elf14MipsGotSection7FileGot20getIndexedEntriesNumEv +libigc.so.1:_ZNK3lld3elf14MipsGotSection8isNeededEv +libigc.so.1:_ZNK3lld3elf14SectionPattern12excludesFileEPKNS0_9InputFileE +libigc.so.1:_ZNK3lld3elf15GdbIndexSection17computeSymtabSizeEv +libigc.so.1:_ZNK3lld3elf15GdbIndexSection8isNeededEv +libigc.so.1:_ZNK3lld3elf16InputSectionBase10uncompressEv +libigc.so.1:_ZNK3lld3elf16InputSectionBase15getLinkOrderDepEv +libigc.so.1:_ZNK3lld3elf16InputSectionBase15getOffsetInFileEv +libigc.so.1:_ZNK3lld3elf16InputSectionBase7getSizeEv +libigc.so.1:_ZNK3lld3elf16MergeTailSection7getSizeEv +libigc.so.1:_ZNK3lld3elf16PPC32Got2Section8isNeededEv +libigc.so.1:_ZNK3lld3elf17MergeInputSection15getParentOffsetEm +libigc.so.1:_ZNK3lld3elf17MergeInputSection9getParentEv +libigc.so.1:_ZNK3lld3elf17PPC32GlinkSection7getSizeEv +libigc.so.1:_ZNK3lld3elf18GnuPropertySection7getSizeEv +libigc.so.1:_ZNK3lld3elf18Patch657417Section13getBranchAddrEv +libigc.so.1:_ZNK3lld3elf18Patch843419Section11getLDSTAddrEv +libigc.so.1:_ZNK3lld3elf18SymtabShndxSection7getSizeEv +libigc.so.1:_ZNK3lld3elf18SymtabShndxSection8isNeededEv +libigc.so.1:_ZNK3lld3elf19VersionTableSection7getSizeEv +libigc.so.1:_ZNK3lld3elf19VersionTableSection8isNeededEv +libigc.so.1:_ZNK3lld3elf21PartitionIndexSection7getSizeEv +libigc.so.1:_ZNK3lld3elf23InputSectionDescription11matchesFileEPKNS0_9InputFileE +libigc.so.1:_ZNK3lld3elf24ARMExidxSyntheticSection15getLinkOrderDepEv +libigc.so.1:_ZNK3lld3elf24ARMExidxSyntheticSection8isNeededEv +libigc.so.1:_ZNK3lld3elf24VersionDefinitionSection7getSizeEv +libigc.so.1:_ZNK3lld3elf28PPC64LongBranchTargetSection7getSizeEv +libigc.so.1:_ZNK3lld3elf28PPC64LongBranchTargetSection8isNeededEv +libigc.so.1:_ZNK3lld3elf6Symbol11getGotPltVAEv +libigc.so.1:_ZNK3lld3elf6Symbol12getGotOffsetEv +libigc.so.1:_ZNK3lld3elf6Symbol14computeBindingEv +libigc.so.1:_ZNK3lld3elf6Symbol15getGotPltOffsetEv +libigc.so.1:_ZNK3lld3elf6Symbol15includeInDynsymEv +libigc.so.1:_ZNK3lld3elf6Symbol16getOutputSectionEv +libigc.so.1:_ZNK3lld3elf6Symbol5fetchEv +libigc.so.1:_ZNK3lld3elf6Symbol5getVAEl +libigc.so.1:_ZNK3lld3elf6Symbol7compareEPKS1_ +libigc.so.1:_ZNK3lld3elf6Symbol7getSizeEv +libigc.so.1:_ZNK3lld3elf6Symbol8getGotVAEv +libigc.so.1:_ZNK3lld3elf6Symbol8getPltVAEv +libigc.so.1:_ZNK3lld3elf9ExprValue10getSecAddrEv +libigc.so.1:_ZNK3lld3elf9ExprValue16getSectionOffsetEv +libigc.so.1:_ZNK3lld3elf9ExprValue8getValueEv +libigc.so.1:_ZNK3lld3elf9InputFile16getNameForScriptEv +libigc.so.1:_ZTIN3lld3elf10GotSectionE +libigc.so.1:_ZTIN3lld3elf10PltSectionE +libigc.so.1:_ZTIN3lld3elf10TargetInfoE +libigc.so.1:_ZTIN3lld3elf11IpltSectionE +libigc.so.1:_ZTIN3lld3elf12ThunkSectionE +libigc.so.1:_ZTIN3lld3elf13EhFrameHeaderE +libigc.so.1:_ZTIN3lld3elf13GotPltSectionE +libigc.so.1:_ZTIN3lld3elf13IBTPltSectionE +libigc.so.1:_ZTIN3lld3elf14BuildIdSectionE +libigc.so.1:_ZTIN3lld3elf14EhFrameSectionE +libigc.so.1:_ZTIN3lld3elf14IgotPltSectionE +libigc.so.1:_ZTIN3lld3elf14MipsGotSectionE +libigc.so.1:_ZTIN3lld3elf15GdbIndexSectionE +libigc.so.1:_ZTIN3lld3elf16HashTableSectionE +libigc.so.1:_ZTIN3lld3elf16MergeTailSectionE +libigc.so.1:_ZTIN3lld3elf16PPC32Got2SectionE +libigc.so.1:_ZTIN3lld3elf17PPC32GlinkSectionE +libigc.so.1:_ZTIN3lld3elf18GnuPropertySectionE +libigc.so.1:_ZTIN3lld3elf18MergeNoTailSectionE +libigc.so.1:_ZTIN3lld3elf18Patch657417SectionE +libigc.so.1:_ZTIN3lld3elf18Patch843419SectionE +libigc.so.1:_ZTIN3lld3elf18StringTableSectionE +libigc.so.1:_ZTIN3lld3elf18SymtabShndxSectionE +libigc.so.1:_ZTIN3lld3elf19GnuHashTableSectionE +libigc.so.1:_ZTIN3lld3elf19VersionTableSectionE +libigc.so.1:_ZTIN3lld3elf21PartitionIndexSectionE +libigc.so.1:_ZTIN3lld3elf21RelocationBaseSectionE +libigc.so.1:_ZTIN3lld3elf22SymbolTableBaseSectionE +libigc.so.1:_ZTIN3lld3elf24ARMExidxSyntheticSectionE +libigc.so.1:_ZTIN3lld3elf24VersionDefinitionSectionE +libigc.so.1:_ZTIN3lld3elf28PPC64LongBranchTargetSectionE +libigc.so.1:_ZTIN3lld3elf5ThunkE +libigc.so.1:_ZTSN3lld3elf10GotSectionE +libigc.so.1:_ZTSN3lld3elf10PltSectionE +libigc.so.1:_ZTSN3lld3elf10TargetInfoE +libigc.so.1:_ZTSN3lld3elf11IpltSectionE +libigc.so.1:_ZTSN3lld3elf12ThunkSectionE +libigc.so.1:_ZTSN3lld3elf13EhFrameHeaderE +libigc.so.1:_ZTSN3lld3elf13GotPltSectionE +libigc.so.1:_ZTSN3lld3elf13IBTPltSectionE +libigc.so.1:_ZTSN3lld3elf14BuildIdSectionE +libigc.so.1:_ZTSN3lld3elf14EhFrameSectionE +libigc.so.1:_ZTSN3lld3elf14IgotPltSectionE +libigc.so.1:_ZTSN3lld3elf14MipsGotSectionE +libigc.so.1:_ZTSN3lld3elf15GdbIndexSectionE +libigc.so.1:_ZTSN3lld3elf16HashTableSectionE +libigc.so.1:_ZTSN3lld3elf16MergeTailSectionE +libigc.so.1:_ZTSN3lld3elf16PPC32Got2SectionE +libigc.so.1:_ZTSN3lld3elf17PPC32GlinkSectionE +libigc.so.1:_ZTSN3lld3elf18GnuPropertySectionE +libigc.so.1:_ZTSN3lld3elf18MergeNoTailSectionE +libigc.so.1:_ZTSN3lld3elf18Patch657417SectionE +libigc.so.1:_ZTSN3lld3elf18Patch843419SectionE +libigc.so.1:_ZTSN3lld3elf18StringTableSectionE +libigc.so.1:_ZTSN3lld3elf18SymtabShndxSectionE +libigc.so.1:_ZTSN3lld3elf19GnuHashTableSectionE +libigc.so.1:_ZTSN3lld3elf19VersionTableSectionE +libigc.so.1:_ZTSN3lld3elf21PartitionIndexSectionE +libigc.so.1:_ZTSN3lld3elf21RelocationBaseSectionE +libigc.so.1:_ZTSN3lld3elf22SymbolTableBaseSectionE +libigc.so.1:_ZTSN3lld3elf24ARMExidxSyntheticSectionE +libigc.so.1:_ZTSN3lld3elf24VersionDefinitionSectionE +libigc.so.1:_ZTSN3lld3elf28PPC64LongBranchTargetSectionE +libigc.so.1:_ZTSN3lld3elf5ThunkE +libigc.so.1:_ZTVN3lld3elf10GotSectionE +libigc.so.1:_ZTVN3lld3elf10PltSectionE +libigc.so.1:_ZTVN3lld3elf10TargetInfoE +libigc.so.1:_ZTVN3lld3elf11IpltSectionE +libigc.so.1:_ZTVN3lld3elf12ThunkSectionE +libigc.so.1:_ZTVN3lld3elf13EhFrameHeaderE +libigc.so.1:_ZTVN3lld3elf13GotPltSectionE +libigc.so.1:_ZTVN3lld3elf13IBTPltSectionE +libigc.so.1:_ZTVN3lld3elf14BuildIdSectionE +libigc.so.1:_ZTVN3lld3elf14EhFrameSectionE +libigc.so.1:_ZTVN3lld3elf14IgotPltSectionE +libigc.so.1:_ZTVN3lld3elf14MipsGotSectionE +libigc.so.1:_ZTVN3lld3elf15GdbIndexSectionE +libigc.so.1:_ZTVN3lld3elf16HashTableSectionE +libigc.so.1:_ZTVN3lld3elf16MergeTailSectionE +libigc.so.1:_ZTVN3lld3elf16PPC32Got2SectionE +libigc.so.1:_ZTVN3lld3elf17PPC32GlinkSectionE +libigc.so.1:_ZTVN3lld3elf18GnuPropertySectionE +libigc.so.1:_ZTVN3lld3elf18MergeNoTailSectionE +libigc.so.1:_ZTVN3lld3elf18Patch657417SectionE +libigc.so.1:_ZTVN3lld3elf18Patch843419SectionE +libigc.so.1:_ZTVN3lld3elf18StringTableSectionE +libigc.so.1:_ZTVN3lld3elf18SymtabShndxSectionE +libigc.so.1:_ZTVN3lld3elf19GnuHashTableSectionE +libigc.so.1:_ZTVN3lld3elf19VersionTableSectionE +libigc.so.1:_ZTVN3lld3elf21PartitionIndexSectionE +libigc.so.1:_ZTVN3lld3elf21RelocationBaseSectionE +libigc.so.1:_ZTVN3lld3elf22SymbolTableBaseSectionE +libigc.so.1:_ZTVN3lld3elf24ARMExidxSyntheticSectionE +libigc.so.1:_ZTVN3lld3elf24VersionDefinitionSectionE +libigc.so.1:_ZTVN3lld3elf28PPC64LongBranchTargetSectionE +libigc.so.1:_ZTVN3lld3elf5ThunkE libigc.so.1:_igc_bif_BC_120 libigc.so.1:_igc_bif_BC_120_size libigc.so.1:_igc_bif_BC_121 @@ -187,6 +848,7 @@ libigc.so.1:kv_get_opgroup libigc.so.1:kv_get_predicate libigc.so.1:kv_get_send_descs +libigc.so.1:kv_get_send_exbso libigc.so.1:kv_get_send_indirect_descs libigc.so.1:kv_get_source_data_type libigc.so.1:kv_get_source_immediate diff --git a/abi_used_libs b/abi_used_libs --- a/abi_used_libs +++ b/abi_used_libs @@ -1,4 +1,3 @@ -UNKNOWN ld-linux-x86-64.so.2 libLLVM-12.so libc.so.6 @@ -6,4 +5,5 @@ libgcc_s.so.1 libm.so.6 libopencl-clang.so.12 +libpthread.so.0 libstdc++.so.6 diff --git a/abi_used_symbols b/abi_used_symbols --- a/abi_used_symbols +++ b/abi_used_symbols @@ -1,5 +1,24 @@ -UNKNOWN:Compile ld-linux-x86-64.so.2:__tls_get_addr +libLLVM-12.so:LLVMInitializeAMDGPUAsmParser +libLLVM-12.so:LLVMInitializeAMDGPUAsmPrinter +libLLVM-12.so:LLVMInitializeAMDGPUTarget +libLLVM-12.so:LLVMInitializeAMDGPUTargetInfo +libLLVM-12.so:LLVMInitializeAMDGPUTargetMC +libLLVM-12.so:LLVMInitializeAVRAsmParser +libLLVM-12.so:LLVMInitializeAVRAsmPrinter +libLLVM-12.so:LLVMInitializeAVRTarget +libLLVM-12.so:LLVMInitializeAVRTargetInfo +libLLVM-12.so:LLVMInitializeAVRTargetMC +libLLVM-12.so:LLVMInitializeBPFAsmParser +libLLVM-12.so:LLVMInitializeBPFAsmPrinter +libLLVM-12.so:LLVMInitializeBPFTarget +libLLVM-12.so:LLVMInitializeBPFTargetInfo +libLLVM-12.so:LLVMInitializeBPFTargetMC +libLLVM-12.so:LLVMInitializeX86AsmParser +libLLVM-12.so:LLVMInitializeX86AsmPrinter +libLLVM-12.so:LLVMInitializeX86Target +libLLVM-12.so:LLVMInitializeX86TargetInfo +libLLVM-12.so:LLVMInitializeX86TargetMC libLLVM-12.so:_ZN4llvm10AllocaInstC1EPNS_4TypeEjPNS_5ValueENS_5AlignERKNS_5TwineEPNS_11InstructionE libLLVM-12.so:_ZN4llvm10AllocaInstC1EPNS_4TypeEjPNS_5ValueERKNS_5TwineEPNS_10BasicBlockE libLLVM-12.so:_ZN4llvm10AllocaInstC1EPNS_4TypeEjRKNS_5TwineEPNS_11InstructionE @@ -32,6 +51,7 @@ libLLVM-12.so:_ZN4llvm10MCStreamer9emitValueEPKNS_6MCExprEjNS_5SMLocE libLLVM-12.so:_ZN4llvm10ModulePass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE libLLVM-12.so:_ZN4llvm10ModulePassD2Ev +libLLVM-12.so:_ZN4llvm10RISCVAttrs18RISCVAttributeTagsE libLLVM-12.so:_ZN4llvm10ReturnInstC1ERNS_11LLVMContextEPNS_10BasicBlockE libLLVM-12.so:_ZN4llvm10ReturnInstC1ERNS_11LLVMContextEPNS_5ValueEPNS_10BasicBlockE libLLVM-12.so:_ZN4llvm10ReturnInstC1ERNS_11LLVMContextEPNS_5ValueEPNS_11InstructionE @@ -48,6 +68,7 @@ libLLVM-12.so:_ZN4llvm10UndefValue3getEPNS_4TypeE libLLVM-12.so:_ZN4llvm10VectorType3getEPNS_4TypeENS_12ElementCountE libLLVM-12.so:_ZN4llvm10hash_valueENS_9StringRefE +libLLVM-12.so:_ZN4llvm10pruneCacheENS_9StringRefENS_18CachePruningPolicyE libLLVM-12.so:_ZN4llvm11APFloatBase10IEEEdoubleEv libLLVM-12.so:_ZN4llvm11APFloatBase10IEEEsingleEv libLLVM-12.so:_ZN4llvm11APFloatBase15PPCDoubleDoubleEv @@ -65,6 +86,7 @@ libLLVM-12.so:_ZN4llvm11ConstantInt7getTrueERNS_11LLVMContextE libLLVM-12.so:_ZN4llvm11ConstantInt8getFalseEPNS_4TypeE libLLVM-12.so:_ZN4llvm11ConstantInt8getFalseERNS_11LLVMContextE +libLLVM-12.so:_ZN4llvm11GlobPattern6createENS_9StringRefE libLLVM-12.so:_ZN4llvm11GlobalValue11materializeEv libLLVM-12.so:_ZN4llvm11Instruction10moveBeforeEPS0_ libLLVM-12.so:_ZN4llvm11Instruction10moveBeforeERNS_10BasicBlockENS_14ilist_iteratorINS_12ilist_detail12node_optionsIS0_Lb0ELb0EvEELb0ELb0EEE @@ -97,6 +119,9 @@ libLLVM-12.so:_ZN4llvm11NamedMDNode13clearOperandsEv libLLVM-12.so:_ZN4llvm11NamedMDNode15eraseFromParentEv libLLVM-12.so:_ZN4llvm11PointerType3getEPNS_4TypeEj +libLLVM-12.so:_ZN4llvm11StringError2IDE +libLLVM-12.so:_ZN4llvm11StringErrorC1ERKNS_5TwineESt10error_code +libLLVM-12.so:_ZN4llvm11StringSaver4saveENS_9StringRefE libLLVM-12.so:_ZN4llvm11raw_ostream11write_zerosEj libLLVM-12.so:_ZN4llvm11raw_ostream14flush_nonemptyEv libLLVM-12.so:_ZN4llvm11raw_ostream16SetBufferAndModeEPcmNS0_10BufferKindE @@ -105,7 +130,10 @@ libLLVM-12.so:_ZN4llvm11raw_ostream6anchorEv libLLVM-12.so:_ZN4llvm11raw_ostream6indentEj libLLVM-12.so:_ZN4llvm11raw_ostreamD2Ev +libLLVM-12.so:_ZN4llvm11raw_ostreamlsENS0_6ColorsE libLLVM-12.so:_ZN4llvm11raw_ostreamlsERKNS_15FormattedNumberE +libLLVM-12.so:_ZN4llvm11raw_ostreamlsERKNS_15FormattedStringE +libLLVM-12.so:_ZN4llvm11raw_ostreamlsERKNS_18format_object_baseE libLLVM-12.so:_ZN4llvm11raw_ostreamlsEl libLLVM-12.so:_ZN4llvm11raw_ostreamlsEm libLLVM-12.so:_ZN4llvm12ConstantExpr10getBitCastEPNS_8ConstantEPNS_4TypeEb @@ -127,6 +155,10 @@ libLLVM-12.so:_ZN4llvm12ConstantExpr8getTruncEPNS_8ConstantEPNS_4TypeEb libLLVM-12.so:_ZN4llvm12ConstantExpr9getFPCastEPNS_8ConstantEPNS_4TypeE libLLVM-12.so:_ZN4llvm12ConstantExpr9getUIToFPEPNS_8ConstantEPNS_4TypeEb +libLLVM-12.so:_ZN4llvm12DWARFContext16parseNormalUnitsEv +libLLVM-12.so:_ZN4llvm12DWARFContext19getLineTableForUnitEPNS_9DWARFUnitENS_12function_refIFvNS_5ErrorEEEE +libLLVM-12.so:_ZN4llvm12DWARFContextC1ESt10unique_ptrIKNS_11DWARFObjectESt14default_deleteIS3_EENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt8functionIFvNS_5ErrorEEESG_ +libLLVM-12.so:_ZN4llvm12DWARFContextD1Ev libLLVM-12.so:_ZN4llvm12DebugCounter8instanceEv libLLVM-12.so:_ZN4llvm12FunctionPass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE libLLVM-12.so:_ZN4llvm12FunctionType3getEPNS_4TypeENS_8ArrayRefIS2_EEb @@ -139,12 +171,14 @@ libLLVM-12.so:_ZN4llvm12MCAsmInfoELF6anchorEv libLLVM-12.so:_ZN4llvm12MCAsmInfoELFC2Ev libLLVM-12.so:_ZN4llvm12MCBinaryExpr6createENS0_6OpcodeEPKNS_6MCExprES4_RNS_9MCContextENS_5SMLocE +libLLVM-12.so:_ZN4llvm12MemoryBuffer11getOpenFileEiRKNS_5TwineEmbb libLLVM-12.so:_ZN4llvm12MemoryBuffer12getMemBufferENS_9StringRefES1_b libLLVM-12.so:_ZN4llvm12MemoryBuffer14getFileOrSTDINERKNS_5TwineElb libLLVM-12.so:_ZN4llvm12MemoryBuffer16getMemBufferCopyENS_9StringRefERKNS_5TwineE libLLVM-12.so:_ZN4llvm12MemoryBuffer7getFileERKNS_5TwineElbb libLLVM-12.so:_ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb libLLVM-12.so:_ZN4llvm12PassRegistry15getPassRegistryEv +libLLVM-12.so:_ZN4llvm13ARMBuildAttrs16ARMAttributeTagsE libLLVM-12.so:_ZN4llvm13AnalysisUsage13addRequiredIDERc libLLVM-12.so:_ZN4llvm13AnalysisUsage15setPreservesCFGEv libLLVM-12.so:_ZN4llvm13AttributeList3getERNS_11LLVMContextENS_12AttributeSetES3_NS_8ArrayRefIS3_EE @@ -173,6 +207,8 @@ libLLVM-12.so:_ZN4llvm13UnaryOperator6CreateENS_11Instruction8UnaryOpsEPNS_5ValueERKNS_5TwineEPS1_ libLLVM-12.so:_ZN4llvm13createGVNPassEb libLLVM-12.so:_ZN4llvm13getSplatValueEPKNS_5ValueE +libLLVM-12.so:_ZN4llvm13llvm_shutdownEv +libLLVM-12.so:_ZN4llvm13raw_fd_streamC1ENS_9StringRefERSt10error_code libLLVM-12.so:_ZN4llvm14BinaryOperator12CreateNSWNegEPNS_5ValueERKNS_5TwineEPNS_10BasicBlockE libLLVM-12.so:_ZN4llvm14BinaryOperator12swapOperandsEv libLLVM-12.so:_ZN4llvm14BinaryOperator6CreateENS_11Instruction9BinaryOpsEPNS_5ValueES4_RKNS_5TwineEPNS_10BasicBlockE @@ -201,12 +237,16 @@ libLLVM-12.so:_ZN4llvm14createLICMPassEv libLLVM-12.so:_ZN4llvm14createSCCPPassEv libLLVM-12.so:_ZN4llvm14createSROAPassEv +libLLVM-12.so:_ZN4llvm14getRandomBytesEPvm libLLVM-12.so:_ZN4llvm14getSLEB128SizeEl libLLVM-12.so:_ZN4llvm14getULEB128SizeEm +libLLVM-12.so:_ZN4llvm14identify_magicENS_9StringRefE libLLVM-12.so:_ZN4llvm14isInlineViableERNS_8FunctionE libLLVM-12.so:_ZN4llvm14isKnownNonZeroEPKNS_5ValueERKNS_10DataLayoutEjPNS_15AssumptionCacheEPKNS_11InstructionEPKNS_13DominatorTreeEb libLLVM-12.so:_ZN4llvm14raw_fd_ostream5closeEv libLLVM-12.so:_ZN4llvm14raw_fd_ostreamC1ENS_9StringRefERSt10error_code +libLLVM-12.so:_ZN4llvm14raw_fd_ostreamC1ENS_9StringRefERSt10error_codeNS_3sys2fs9OpenFlagsE +libLLVM-12.so:_ZN4llvm14raw_fd_ostreamC1EibbNS_11raw_ostream11OStreamKindE libLLVM-12.so:_ZN4llvm14raw_fd_ostreamD1Ev libLLVM-12.so:_ZN4llvm15AnalysisManagerINS_8FunctionEJEEC1Eb libLLVM-12.so:_ZN4llvm15AssumptionCache18registerAssumptionEPNS_8CallInstE @@ -217,6 +257,8 @@ libLLVM-12.so:_ZN4llvm15IRBuilderFolderD2Ev libLLVM-12.so:_ZN4llvm15InsertValueInst4initEPNS_5ValueES2_NS_8ArrayRefIjEERKNS_5TwineE libLLVM-12.so:_ZN4llvm15MCSymbolRefExpr6createEPKNS_8MCSymbolENS0_11VariantKindERNS_9MCContextENS_5SMLocE +libLLVM-12.so:_ZN4llvm15MCTargetOptionsC1Ev +libLLVM-12.so:_ZN4llvm15MemoryBufferRefC1ERKNS_12MemoryBufferE libLLVM-12.so:_ZN4llvm15MetadataAsValue11getIfExistsERNS_11LLVMContextEPNS_8MetadataE libLLVM-12.so:_ZN4llvm15MetadataAsValue3getERNS_11LLVMContextEPNS_8MetadataE libLLVM-12.so:_ZN4llvm15ScalarEvolution10getAddExprERNS_15SmallVectorImplIPKNS_4SCEVEEENS2_11NoWrapFlagsEj @@ -241,6 +283,7 @@ libLLVM-12.so:_ZN4llvm16CallGraphSCCPass17assignPassManagerERNS_7PMStackENS_15PassManagerTypeE libLLVM-12.so:_ZN4llvm16ExtractValueInst14getIndexedTypeEPNS_4TypeENS_8ArrayRefIjEE libLLVM-12.so:_ZN4llvm16ExtractValueInst4initENS_8ArrayRefIjEERKNS_5TwineE +libLLVM-12.so:_ZN4llvm16FileOutputBuffer6createENS_9StringRefEmj libLLVM-12.so:_ZN4llvm16FoldingSetNodeID10AddIntegerEi libLLVM-12.so:_ZN4llvm16FoldingSetNodeID10AddIntegerEj libLLVM-12.so:_ZN4llvm16MCObjectFileInfo20InitMCObjectFileInfoERKNS_6TripleEbRNS_9MCContextEb @@ -248,8 +291,10 @@ libLLVM-12.so:_ZN4llvm16MetadataTracking7retrackEPvRNS_8MetadataES1_ libLLVM-12.so:_ZN4llvm16MetadataTracking7untrackEPvRNS_8MetadataE libLLVM-12.so:_ZN4llvm16TargetIRAnalysisC1ESt8functionIFNS_19TargetTransformInfoERKNS_8FunctionEEE +libLLVM-12.so:_ZN4llvm16WriteIndexToFileERKNS_18ModuleSummaryIndexERNS_11raw_ostreamEPKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_8DenseMapImPNS_18GlobalValueSummaryENS_12DenseMapInfoImEENS_6detail12DenseMapPairImSE_EEEESt4lessISB_ESaISt4pairIKSB_SK_EEE libLLVM-12.so:_ZN4llvm16computeKnownBitsEPKNS_5ValueERKNS_10DataLayoutEjPNS_15AssumptionCacheEPKNS_11InstructionEPKNS_13DominatorTreeEPNS_25OptimizationRemarkEmitterEb libLLVM-12.so:_ZN4llvm16createIPSCCPPassEv +libLLVM-12.so:_ZN4llvm16errorToErrorCodeENS_5ErrorE libLLVM-12.so:_ZN4llvm16parseBitcodeFileENS_15MemoryBufferRefERNS_11LLVMContextENS_12function_refIFNS_8OptionalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9StringRefEEEE libLLVM-12.so:_ZN4llvm17AddrSpaceCastInstC1EPNS_5ValueEPNS_4TypeERKNS_5TwineEPNS_11InstructionE libLLVM-12.so:_ZN4llvm17CloneFunctionIntoEPNS_8FunctionEPKS0_RNS_8ValueMapIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS7_NS_3sys10SmartMutexILb0EEEEEEEbRNS_15SmallVectorImplIPNS_10ReturnInstEEEPKcPNS_14ClonedCodeInfoEPNS_20ValueMapTypeRemapperEPNS_17ValueMaterializerE @@ -277,16 +322,22 @@ libLLVM-12.so:_ZN4llvm17ShuffleVectorInstC1EPNS_5ValueES2_S2_RKNS_5TwineEPNS_10BasicBlockE libLLVM-12.so:_ZN4llvm17ShuffleVectorInstC1EPNS_5ValueES2_S2_RKNS_5TwineEPNS_11InstructionE libLLVM-12.so:_ZN4llvm17createELFStreamerERNS_9MCContextEOSt10unique_ptrINS_12MCAsmBackendESt14default_deleteIS3_EEOS2_INS_14MCObjectWriterES4_IS8_EEOS2_INS_13MCCodeEmitterES4_ISC_EEb +libLLVM-12.so:_ZN4llvm17createSinkingPassEv libLLVM-12.so:_ZN4llvm17deallocate_bufferEPvmm libLLVM-12.so:_ZN4llvm18ConstantDataVector3getERNS_11LLVMContextENS_8ArrayRefIjEE +libLLVM-12.so:_ZN4llvm18DWARFDebugPubTable7extractENS_18DWARFDataExtractorEbNS_12function_refIFvNS_5ErrorEEEE +libLLVM-12.so:_ZN4llvm18ELFAttributeParser5parseENS_8ArrayRefIhEENS_7support10endiannessE libLLVM-12.so:_ZN4llvm18ExtractElementInstC1EPNS_5ValueES2_RKNS_5TwineEPNS_10BasicBlockE libLLVM-12.so:_ZN4llvm18ExtractElementInstC1EPNS_5ValueES2_RKNS_5TwineEPNS_11InstructionE libLLVM-12.so:_ZN4llvm18StringTableBuilder15finalizeInOrderEv libLLVM-12.so:_ZN4llvm18StringTableBuilder3addENS_19CachedHashStringRefE +libLLVM-12.so:_ZN4llvm18StringTableBuilder8finalizeEv libLLVM-12.so:_ZN4llvm18StringTableBuilderC1ENS0_4KindEj libLLVM-12.so:_ZN4llvm18StringTableBuilderD1Ev libLLVM-12.so:_ZN4llvm18WriteBitcodeToFileERKNS_6ModuleERNS_11raw_ostreamEbPKNS_18ModuleSummaryIndexEbPSt5arrayIjLm5EE libLLVM-12.so:_ZN4llvm18createEarlyCSEPassEb +libLLVM-12.so:_ZN4llvm18format_object_base4homeEv +libLLVM-12.so:_ZN4llvm18getAsSignedIntegerENS_9StringRefEjRx libLLVM-12.so:_ZN4llvm18raw_string_ostreamD1Ev libLLVM-12.so:_ZN4llvm19ConstantPointerNull3getEPNS_11PointerTypeE libLLVM-12.so:_ZN4llvm19LoopInfoWrapperPass2IDE @@ -307,11 +358,15 @@ libLLVM-12.so:_ZN4llvm19createMemCpyOptPassEv libLLVM-12.so:_ZN4llvm20AAResultsWrapperPass2IDE libLLVM-12.so:_ZN4llvm20CallGraphWrapperPass2IDE +libLLVM-12.so:_ZN4llvm20CrashRecoveryContext10GetCurrentEv +libLLVM-12.so:_ZN4llvm20CrashRecoveryContext12throwIfCrashEi libLLVM-12.so:_ZN4llvm20createLoopRotatePassEib libLLVM-12.so:_ZN4llvm20createLoopUnrollPassEibbiiiiii libLLVM-12.so:_ZN4llvm20getAsUnsignedIntegerENS_9StringRefEjRy libLLVM-12.so:_ZN4llvm20getLazyBitcodeModuleENS_15MemoryBufferRefERNS_11LLVMContextEbb +libLLVM-12.so:_ZN4llvm20timeTraceProfilerEndEv libLLVM-12.so:_ZN4llvm21ConstantAggregateZero3getEPNS_4TypeE +libLLVM-12.so:_ZN4llvm21PipelineTuningOptionsC1Ev libLLVM-12.so:_ZN4llvm21SymbolTableListTraitsINS_10BasicBlockEE13addNodeToListEPS1_ libLLVM-12.so:_ZN4llvm21SymbolTableListTraitsINS_10BasicBlockEE21transferNodesFromListERS2_NS_14ilist_iteratorINS_12ilist_detail12node_optionsIS1_Lb0ELb0EvEELb0ELb0EEES8_ libLLVM-12.so:_ZN4llvm21SymbolTableListTraitsINS_11InstructionEE13addNodeToListEPS1_ @@ -335,20 +390,30 @@ libLLVM-12.so:_ZN4llvm22cloneLoopWithPreheaderEPNS_10BasicBlockES1_PNS_4LoopERNS_8ValueMapIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS7_NS_3sys10SmartMutexILb0EEEEEEERKNS_5TwineEPNS_8LoopInfoEPNS_13DominatorTreeERNS_15SmallVectorImplIS1_EE libLLVM-12.so:_ZN4llvm22createLoopDeletionPassEv libLLVM-12.so:_ZN4llvm22createLoopSimplifyPassEv +libLLVM-12.so:_ZN4llvm22inconvertibleErrorCodeEv libLLVM-12.so:_ZN4llvm22report_bad_alloc_errorEPKcb +libLLVM-12.so:_ZN4llvm22timeTraceProfilerBeginENS_9StringRefES0_ +libLLVM-12.so:_ZN4llvm22timeTraceProfilerWriteENS_9StringRefES0_ libLLVM-12.so:_ZN4llvm23ConstantFoldInstructionEPNS_11InstructionERKNS_10DataLayoutEPKNS_17TargetLibraryInfoE libLLVM-12.so:_ZN4llvm23IntrinsicCostAttributesC1EjRKNS_8CallBaseE +libLLVM-12.so:_ZN4llvm23ItaniumPartialDemangler15partialDemangleEPKc +libLLVM-12.so:_ZN4llvm23ItaniumPartialDemanglerC1Ev +libLLVM-12.so:_ZN4llvm23ItaniumPartialDemanglerD1Ev libLLVM-12.so:_ZN4llvm23MCELFObjectTargetWriter10sortRelocsERKNS_11MCAssemblerERSt6vectorINS_18ELFRelocationEntryESaIS5_EE libLLVM-12.so:_ZN4llvm23MCELFObjectTargetWriter21addTargetSectionFlagsERNS_9MCContextERNS_12MCSectionELFE libLLVM-12.so:_ZN4llvm23MCELFObjectTargetWriterC2Ebhtbh libLLVM-12.so:_ZN4llvm23MemoryDependenceResults24getPointerDependencyFromERKNS_14MemoryLocationEbNS_14ilist_iteratorINS_12ilist_detail12node_optionsINS_11InstructionELb0ELb0EvEELb0ELb0EEEPNS_10BasicBlockEPS7_Pj libLLVM-12.so:_ZN4llvm23createAggressiveDCEPassEv libLLVM-12.so:_ZN4llvm23createJumpThreadingPassEbi +libLLVM-12.so:_ZN4llvm23get_threadpool_strategyENS_9StringRefENS_18ThreadPoolStrategyE +libLLVM-12.so:_ZN4llvm23parseCachePruningPolicyENS_9StringRefE libLLVM-12.so:_ZN4llvm24AssemblyAnnotationWriterD2Ev libLLVM-12.so:_ZN4llvm24DisableABIBreakingChecksE libLLVM-12.so:_ZN4llvm24DominatorTreeWrapperPass2IDE libLLVM-12.so:_ZN4llvm24IRBuilderDefaultInserterD1Ev libLLVM-12.so:_ZN4llvm24createBasicAAWrapperPassEv +libLLVM-12.so:_ZN4llvm24timeTraceProfilerCleanupEv +libLLVM-12.so:_ZN4llvm25MergeBlockIntoPredecessorEPNS_10BasicBlockEPNS_14DomTreeUpdaterEPNS_8LoopInfoEPNS_16MemorySSAUpdaterEPNS_23MemoryDependenceResultsEb libLLVM-12.so:_ZN4llvm25SplitBlockAndInsertIfThenEPNS_5ValueEPNS_11InstructionEbPNS_6MDNodeEPNS_14DomTreeUpdaterEPNS_8LoopInfoEPNS_10BasicBlockE libLLVM-12.so:_ZN4llvm25findDefsUsedOutsideOfLoopEPNS_4LoopE libLLVM-12.so:_ZN4llvm25remapInstructionsInBlocksERKNS_15SmallVectorImplIPNS_10BasicBlockEEERNS_8ValueMapIPKNS_5ValueENS_14WeakTrackingVHENS_14ValueMapConfigIS9_NS_3sys10SmartMutexILb0EEEEEEE @@ -362,12 +427,14 @@ libLLVM-12.so:_ZN4llvm27createExternalAAWrapperPassESt8functionIFvRNS_4PassERNS_8FunctionERNS_9AAResultsEEE libLLVM-12.so:_ZN4llvm27initializeLiveVariablesPassERNS_12PassRegistryE libLLVM-12.so:_ZN4llvm27install_fatal_error_handlerEPFvPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbES0_ +libLLVM-12.so:_ZN4llvm27timeTraceProfilerInitializeEjNS_9StringRefE libLLVM-12.so:_ZN4llvm28ConstantFoldBinaryOpOperandsEjPNS_8ConstantES1_RKNS_10DataLayoutE libLLVM-12.so:_ZN4llvm28PostDominatorTreeWrapperPass2IDE libLLVM-12.so:_ZN4llvm28TargetLibraryInfoWrapperPass2IDE libLLVM-12.so:_ZN4llvm28TargetLibraryInfoWrapperPassC1ERKNS_21TargetLibraryInfoImplE libLLVM-12.so:_ZN4llvm28createBreakCriticalEdgesPassEv libLLVM-12.so:_ZN4llvm28createInstSimplifyLegacyPassEv +libLLVM-12.so:_ZN4llvm28getTimeTraceProfilerInstanceEv libLLVM-12.so:_ZN4llvm28isSafeToSpeculativelyExecuteEPKNS_5ValueEPKNS_11InstructionEPKNS_13DominatorTreeE libLLVM-12.so:_ZN4llvm29SplitBlockAndInsertIfThenElseEPNS_5ValueEPNS_11InstructionEPS3_S4_PNS_6MDNodeE libLLVM-12.so:_ZN4llvm29createAlwaysInlinerLegacyPassEb @@ -375,8 +442,12 @@ libLLVM-12.so:_ZN4llvm2cl15GeneralCategoryE libLLVM-12.so:_ZN4llvm2cl18GenericOptionValue6anchorEv libLLVM-12.so:_ZN4llvm2cl18TopLevelSubCommandE +libLLVM-12.so:_ZN4llvm2cl19ExpandResponseFilesERNS_11StringSaverEPFvNS_9StringRefES2_RNS_15SmallVectorImplIPKcEEbES8_bbRNS_3vfs10FileSystemENS_8OptionalIS3_EE libLLVM-12.so:_ZN4llvm2cl20getRegisteredOptionsERNS0_10SubCommandE +libLLVM-12.so:_ZN4llvm2cl22TokenizeGNUCommandLineENS_9StringRefERNS_11StringSaverERNS_15SmallVectorImplIPKcEEb libLLVM-12.so:_ZN4llvm2cl23ParseCommandLineOptionsEiPKPKcNS_9StringRefEPNS_11raw_ostreamES2_b +libLLVM-12.so:_ZN4llvm2cl25ResetAllOptionOccurrencesEv +libLLVM-12.so:_ZN4llvm2cl26TokenizeWindowsCommandLineENS_9StringRefERNS_11StringSaverERNS_15SmallVectorImplIPKcEEb libLLVM-12.so:_ZN4llvm2cl6Option11addArgumentEv libLLVM-12.so:_ZN4llvm2cl6Option9setArgStrENS_9StringRefE libLLVM-12.so:_ZN4llvm30TargetTransformInfoWrapperPassC1ENS_16TargetIRAnalysisE @@ -393,7 +464,47 @@ libLLVM-12.so:_ZN4llvm38createPostOrderFunctionAttrsLegacyPassEv libLLVM-12.so:_ZN4llvm38initializeDominatorTreeWrapperPassPassERNS_12PassRegistryE libLLVM-12.so:_ZN4llvm3EVT6getEVTEPNS_4TypeEb +libLLVM-12.so:_ZN4llvm3MD54hashENS_8ArrayRefIhEE +libLLVM-12.so:_ZN4llvm3lto10localCacheENS_9StringRefESt8functionIFvjSt10unique_ptrINS_12MemoryBufferESt14default_deleteIS4_EEEE +libLLVM-12.so:_ZN4llvm3lto20getThinLTOOutputFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_S8_ +libLLVM-12.so:_ZN4llvm3lto26createInProcessThinBackendENS_18ThreadPoolStrategyE +libLLVM-12.so:_ZN4llvm3lto29createWriteIndexesThinBackendENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_bPNS_14raw_fd_ostreamESt8functionIFvRKS6_EE +libLLVM-12.so:_ZN4llvm3lto3LTO24getRuntimeLibcallSymbolsEv +libLLVM-12.so:_ZN4llvm3lto3LTO3addESt10unique_ptrINS0_9InputFileESt14default_deleteIS3_EENS_8ArrayRefINS0_16SymbolResolutionEEE +libLLVM-12.so:_ZN4llvm3lto3LTO3runESt8functionIFSt10unique_ptrINS0_18NativeObjectStreamESt14default_deleteIS4_EEjEES2_IFS9_jNS_9StringRefEEE +libLLVM-12.so:_ZN4llvm3lto3LTOC1ENS0_6ConfigESt8functionIFSt10unique_ptrINS0_15ThinBackendProcESt14default_deleteIS5_EERKS2_RNS_18ModuleSummaryIndexERNS_9StringMapINS_8DenseMapImPNS_18GlobalValueSummaryENS_12DenseMapInfoImEENS_6detail12DenseMapPairImSG_EEEENS_15MallocAllocatorEEES3_IFS4_INS0_18NativeObjectStreamES6_ISQ_EEjEES3_IFSU_jNS_9StringRefEEEEEj +libLLVM-12.so:_ZN4llvm3lto3LTOD1Ev +libLLVM-12.so:_ZN4llvm3lto6Config12addSaveTempsENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb +libLLVM-12.so:_ZN4llvm3lto9InputFile6createENS_15MemoryBufferRefE +libLLVM-12.so:_ZN4llvm3lto9InputFileD1Ev +libLLVM-12.so:_ZN4llvm3opt12InputArgList13releaseMemoryEv +libLLVM-12.so:_ZN4llvm3opt8OptTableC2ENS_8ArrayRefINS1_4InfoEEEb +libLLVM-12.so:_ZN4llvm3opt8OptTableD2Ev +libLLVM-12.so:_ZN4llvm3sys14ExecuteAndWaitENS_9StringRefENS_8ArrayRefIS1_EENS_8OptionalIS3_EENS2_INS4_IS1_EEEEjjPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPbPNS4_INS0_17ProcessStatisticsEEEPNS_9BitVectorE +libLLVM-12.so:_ZN4llvm3sys16getProcessTripleB5cxx11Ev +libLLVM-12.so:_ZN4llvm3sys2fs10equivalentERKNS_5TwineES4_Rb +libLLVM-12.so:_ZN4llvm3sys2fs13make_absoluteERNS_15SmallVectorImplIcEE +libLLVM-12.so:_ZN4llvm3sys2fs15is_regular_fileERKNS_5TwineERb +libLLVM-12.so:_ZN4llvm3sys2fs15openFileForReadERKNS_5TwineERiNS1_9OpenFlagsEPNS_15SmallVectorImplIcEE +libLLVM-12.so:_ZN4llvm3sys2fs16createUniqueFileERKNS_5TwineERiRNS_15SmallVectorImplIcEEj +libLLVM-12.so:_ZN4llvm3sys2fs21openNativeFileForReadERKNS_5TwineENS1_9OpenFlagsEPNS_15SmallVectorImplIcEE +libLLVM-12.so:_ZN4llvm3sys2fs6accessERKNS_5TwineENS1_10AccessModeE +libLLVM-12.so:_ZN4llvm3sys2fs6removeERKNS_5TwineEb +libLLVM-12.so:_ZN4llvm3sys2fs6statusERKNS_5TwineERNS1_11file_statusEb +libLLVM-12.so:_ZN4llvm3sys2fs8openFileERKNS_5TwineERiNS1_19CreationDispositionENS1_10FileAccessENS1_9OpenFlagsEj +libLLVM-12.so:_ZN4llvm3sys2fs9closeFileERi +libLLVM-12.so:_ZN4llvm3sys4path11parent_pathENS_9StringRefENS1_5StyleE +libLLVM-12.so:_ZN4llvm3sys4path11remove_dotsERNS_15SmallVectorImplIcEEbNS1_5StyleE +libLLVM-12.so:_ZN4llvm3sys4path13relative_pathENS_9StringRefENS1_5StyleE +libLLVM-12.so:_ZN4llvm3sys4path16convert_to_slashB5cxx11ENS_9StringRefENS1_5StyleE +libLLVM-12.so:_ZN4llvm3sys4path21system_temp_directoryEbRNS_15SmallVectorImplIcEE +libLLVM-12.so:_ZN4llvm3sys4path4stemENS_9StringRefENS1_5StyleE libLLVM-12.so:_ZN4llvm3sys4path6appendERNS_15SmallVectorImplIcEERKNS_5TwineES7_S7_S7_ +libLLVM-12.so:_ZN4llvm3sys4path6nativeERKNS_5TwineERNS_15SmallVectorImplIcEENS1_5StyleE +libLLVM-12.so:_ZN4llvm3sys4path8filenameENS_9StringRefENS1_5StyleE +libLLVM-12.so:_ZN4llvm3sys4path9root_nameENS_9StringRefENS1_5StyleE +libLLVM-12.so:_ZN4llvm3sys7Process4ExitEib +libLLVM-12.so:_ZN4llvm3vfs17getRealFileSystemEv libLLVM-12.so:_ZN4llvm40initializeScalarEvolutionWrapperPassPassERNS_12PassRegistryE libLLVM-12.so:_ZN4llvm41initializeMemoryDependenceWrapperPassPassERNS_12PassRegistryE libLLVM-12.so:_ZN4llvm42RecursivelyDeleteTriviallyDeadInstructionsEPNS_5ValueEPKNS_17TargetLibraryInfoEPNS_16MemorySSAUpdaterESt8functionIFvS1_EE @@ -408,6 +519,7 @@ libLLVM-12.so:_ZN4llvm4Pass18preparePassManagerERNS_7PMStackE libLLVM-12.so:_ZN4llvm4Pass26getAdjustedAnalysisPointerEPKv libLLVM-12.so:_ZN4llvm4PassD2Ev +libLLVM-12.so:_ZN4llvm4SHA14hashENS_8ArrayRefIhEE libLLVM-12.so:_ZN4llvm4Type10getFloatTyERNS_11LLVMContextE libLLVM-12.so:_ZN4llvm4Type10getInt16TyERNS_11LLVMContextE libLLVM-12.so:_ZN4llvm4Type10getInt32TyERNS_11LLVMContextE @@ -449,6 +561,9 @@ libLLVM-12.so:_ZN4llvm4yaml6Output18postflightDocumentEv libLLVM-12.so:_ZN4llvm4yaml6OutputC1ERNS_11raw_ostreamEPvi libLLVM-12.so:_ZN4llvm4yaml6OutputD1Ev +libLLVM-12.so:_ZN4llvm4zlib10uncompressENS_9StringRefEPcRm +libLLVM-12.so:_ZN4llvm4zlib11isAvailableEv +libLLVM-12.so:_ZN4llvm4zlib8compressENS_9StringRefERNS_15SmallVectorImplIcEEi libLLVM-12.so:_ZN4llvm5APInt11shlSlowCaseEj libLLVM-12.so:_ZN4llvm5APInt12ashrSlowCaseEj libLLVM-12.so:_ZN4llvm5APInt12initSlowCaseERKS0_ @@ -478,6 +593,7 @@ libLLVM-12.so:_ZN4llvm6Linker11linkModulesERNS_6ModuleESt10unique_ptrIS1_St14default_deleteIS1_EEjSt8functionIFvS2_RKNS_9StringSetINS_15MallocAllocatorEEEEE libLLVM-12.so:_ZN4llvm6Linker12linkInModuleESt10unique_ptrINS_6ModuleESt14default_deleteIS2_EEjSt8functionIFvRS2_RKNS_9StringSetINS_15MallocAllocatorEEEEE libLLVM-12.so:_ZN4llvm6LinkerC1ERNS_6ModuleE +libLLVM-12.so:_ZN4llvm6MDNode11concatenateEPS0_S1_ libLLVM-12.so:_ZN4llvm6MDNode15deleteTemporaryEPS0_ libLLVM-12.so:_ZN4llvm6MDNode18replaceOperandWithEjPNS_8MetadataE libLLVM-12.so:_ZN4llvm6MDNode23replaceWithDistinctImplEv @@ -531,6 +647,11 @@ libLLVM-12.so:_ZN4llvm6legacy11PassManagerC2Ev libLLVM-12.so:_ZN4llvm6legacy11PassManagerD1Ev libLLVM-12.so:_ZN4llvm6legacy11PassManagerD2Ev +libLLVM-12.so:_ZN4llvm6object12readIRSymtabENS_15MemoryBufferRefE +libLLVM-12.so:_ZN4llvm6object15object_categoryEv +libLLVM-12.so:_ZN4llvm6object21getELFSectionTypeNameEjj +libLLVM-12.so:_ZN4llvm6object24getELFRelocationTypeNameEjj +libLLVM-12.so:_ZN4llvm6object7Archive6createENS_15MemoryBufferRefE libLLVM-12.so:_ZN4llvm7APFloat7StorageC1ENS_6detail9IEEEFloatERKNS_12fltSemanticsE libLLVM-12.so:_ZN4llvm7APFloat7convertERKNS_12fltSemanticsENS_12RoundingModeEPb libLLVM-12.so:_ZN4llvm7CmpInst10isUnsignedENS0_9PredicateE @@ -549,7 +670,16 @@ libLLVM-12.so:_ZN4llvm7MDTuple7getImplERNS_11LLVMContextENS_8ArrayRefIPNS_8MetadataEEENS4_11StorageTypeEb libLLVM-12.so:_ZN4llvm7PHINode12growOperandsEv libLLVM-12.so:_ZN4llvm7PHINode19removeIncomingValueEjb +libLLVM-12.so:_ZN4llvm7codegen20RegisterCodeGenFlagsC1Ev +libLLVM-12.so:_ZN4llvm7codegen20getExplicitCodeModelEv +libLLVM-12.so:_ZN4llvm7codegen21getExplicitRelocModelEv +libLLVM-12.so:_ZN4llvm7codegen33InitTargetOptionsFromCodeGenFlagsERKNS_6TripleE +libLLVM-12.so:_ZN4llvm7codegen9getCPUStrB5cxx11Ev +libLLVM-12.so:_ZN4llvm7codegen9getMAttrsB5cxx11Ev +libLLVM-12.so:_ZN4llvm7hashing6detail19fixed_seed_overrideE libLLVM-12.so:_ZN4llvm7parseIRENS_15MemoryBufferRefERNS_12SMDiagnosticERNS_11LLVMContextENS_12function_refIFNS_8OptionalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9StringRefEEEE +libLLVM-12.so:_ZN4llvm8Argument10removeAttrENS_9Attribute8AttrKindE +libLLVM-12.so:_ZN4llvm8Argument7addAttrENS_9Attribute8AttrKindE libLLVM-12.so:_ZN4llvm8Argument7addAttrENS_9AttributeE libLLVM-12.so:_ZN4llvm8CallBase9getCallerEv libLLVM-12.so:_ZN4llvm8CallInst4initEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EENS5_INS_17OperandBundleDefTIS4_EEEERKNS_5TwineE @@ -600,6 +730,12 @@ libLLVM-12.so:_ZN4llvm8SExtInstC1EPNS_5ValueEPNS_4TypeERKNS_5TwineEPNS_11InstructionE libLLVM-12.so:_ZN4llvm8ZExtInstC1EPNS_5ValueEPNS_4TypeERKNS_5TwineEPNS_11InstructionE libLLVM-12.so:_ZN4llvm8demangleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +libLLVM-12.so:_ZN4llvm8parallel6detail9TaskGroup5spawnESt8functionIFvvEE +libLLVM-12.so:_ZN4llvm8parallel6detail9TaskGroupC1Ev +libLLVM-12.so:_ZN4llvm8parallel6detail9TaskGroupD1Ev +libLLVM-12.so:_ZN4llvm8parallel8strategyE +libLLVM-12.so:_ZN4llvm8xxHash64ENS_8ArrayRefIhEE +libLLVM-12.so:_ZN4llvm8xxHash64ENS_9StringRefE libLLVM-12.so:_ZN4llvm9AAResults5aliasERKNS_14MemoryLocationES3_ libLLVM-12.so:_ZN4llvm9AAResults7ConceptD2Ev libLLVM-12.so:_ZN4llvm9ArrayType3getEPNS_4TypeEm @@ -652,6 +788,9 @@ libLLVM-12.so:_ZN4llvm9DIBuilder8finalizeEv libLLVM-12.so:_ZN4llvm9DIBuilderC1ERNS_6ModuleEbPNS_13DICompileUnitE libLLVM-12.so:_ZN4llvm9DIBuilderC2ERNS_6ModuleEbPNS_13DICompileUnitE +libLLVM-12.so:_ZN4llvm9DWARFUnit19extractDIEsIfNeededEb +libLLVM-12.so:_ZN4llvm9DWARFUnit20collectAddressRangesEv +libLLVM-12.so:_ZN4llvm9DWARFUnit22tryExtractDIEsIfNeededEb libLLVM-12.so:_ZN4llvm9ErrorList2IDE libLLVM-12.so:_ZN4llvm9FPExtInstC1EPNS_5ValueEPNS_4TypeERKNS_5TwineEPNS_11InstructionE libLLVM-12.so:_ZN4llvm9InlineAsm3getEPNS_12FunctionTypeENS_9StringRefES3_bbNS0_10AsmDialectE @@ -661,12 +800,17 @@ libLLVM-12.so:_ZN4llvm9MCContext17getOrCreateSymbolERKNS_5TwineE libLLVM-12.so:_ZN4llvm9MCContextC1EPKNS_9MCAsmInfoEPKNS_14MCRegisterInfoEPKNS_16MCObjectFileInfoEPKNS_9SourceMgrEPKNS_15MCTargetOptionsEb libLLVM-12.so:_ZN4llvm9MCContextD1Ev +libLLVM-12.so:_ZN4llvm9MDBuilder21createAnonymousAARootENS_9StringRefEPNS_6MDNodeE libLLVM-12.so:_ZN4llvm9SourceMgr9SrcBufferD1Ev libLLVM-12.so:_ZN4llvm9StoreInstC1EPNS_5ValueES2_PNS_11InstructionE libLLVM-12.so:_ZN4llvm9StoreInstC1EPNS_5ValueES2_bNS_5AlignENS_14AtomicOrderingEhPNS_11InstructionE libLLVM-12.so:_ZN4llvm9StoreInstC1EPNS_5ValueES2_bNS_5AlignEPNS_10BasicBlockE libLLVM-12.so:_ZN4llvm9StoreInstC1EPNS_5ValueES2_bNS_5AlignEPNS_11InstructionE +libLLVM-12.so:_ZN4llvm9TarWriter6appendENS_9StringRefES1_ +libLLVM-12.so:_ZN4llvm9TarWriter6createENS_9StringRefES1_ libLLVM-12.so:_ZN4llvm9TruncInstC1EPNS_5ValueEPNS_4TypeERKNS_5TwineEPNS_11InstructionE +libLLVM-12.so:_ZN4llvm9WithColor19defaultErrorHandlerENS_5ErrorE +libLLVM-12.so:_ZN4llvm9WithColor21defaultWarningHandlerENS_5ErrorE libLLVM-12.so:_ZN4llvm9WithColor7warningEv libLLVM-12.so:_ZNK4llvm10AllocaInst14isStaticAllocaEv libLLVM-12.so:_ZNK4llvm10AllocaInst17isArrayAllocationEv @@ -706,6 +850,7 @@ libLLVM-12.so:_ZNK4llvm10StructType7getNameEv libLLVM-12.so:_ZNK4llvm11GEPOperator20getSourceElementTypeEv libLLVM-12.so:_ZNK4llvm11GEPOperator24accumulateConstantOffsetERKNS_10DataLayoutERNS_5APIntENS_12function_refIFbRNS_5ValueES5_EEE +libLLVM-12.so:_ZNK4llvm11GlobPattern5matchENS_9StringRefE libLLVM-12.so:_ZNK4llvm11GlobalValue13isDeclarationEv libLLVM-12.so:_ZNK4llvm11GlobalValue14isInterposableEv libLLVM-12.so:_ZNK4llvm11Instruction11getFunctionEv @@ -768,6 +913,11 @@ libLLVM-12.so:_ZNK4llvm13DominatorTree9dominatesEPKNS_11InstructionEPKNS_10BasicBlockE libLLVM-12.so:_ZNK4llvm13DominatorTree9dominatesEPKNS_5ValueEPKNS_11InstructionE libLLVM-12.so:_ZNK4llvm13StringMapImpl7FindKeyENS_9StringRefE +libLLVM-12.so:_ZNK4llvm14DWARFDebugLine8Prologue14hasFileAtIndexEm +libLLVM-12.so:_ZNK4llvm14DWARFDebugLine8Prologue18getFileNameByIndexEmNS_9StringRefENS_19DILineInfoSpecifier16FileLineInfoKindERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_3sys4path5StyleE +libLLVM-12.so:_ZNK4llvm14DWARFDebugLine9LineTable25getFileLineInfoForAddressENS_6object16SectionedAddressEPKcNS_19DILineInfoSpecifier16FileLineInfoKindERNS_10DILineInfoE +libLLVM-12.so:_ZNK4llvm14DWARFFormValue12getAsCStringEv +libLLVM-12.so:_ZNK4llvm14DWARFFormValue21getAsUnsignedConstantEv libLLVM-12.so:_ZNK4llvm14GlobalVariable12getDebugInfoERNS_15SmallVectorImplIPNS_26DIGlobalVariableExpressionEEE libLLVM-12.so:_ZNK4llvm14SCEVAddRecExpr14getPostIncExprERNS_15ScalarEvolutionE libLLVM-12.so:_ZNK4llvm16AnalysisResolver22getAnalysisIfAvailableEPKv @@ -783,7 +933,10 @@ libLLVM-12.so:_ZNK4llvm17GetElementPtrInst21hasAllConstantIndicesEv libLLVM-12.so:_ZNK4llvm17LegacyInlinerBase16getAnalysisUsageERNS_13AnalysisUsageE libLLVM-12.so:_ZNK4llvm17ManagedStaticBase21RegisterManagedStaticEPFPvvEPFvS1_E +libLLVM-12.so:_ZNK4llvm18StringTableBuilder5writeEPh libLLVM-12.so:_ZNK4llvm18StringTableBuilder5writeERNS_11raw_ostreamE +libLLVM-12.so:_ZNK4llvm18StringTableBuilder9getOffsetENS_19CachedHashStringRefE +libLLVM-12.so:_ZNK4llvm18ThreadPoolStrategy20compute_thread_countEv libLLVM-12.so:_ZNK4llvm19SmallPtrSetImplBase13FindBucketForEPKv libLLVM-12.so:_ZNK4llvm20DbgVariableIntrinsic19getVariableLocationEb libLLVM-12.so:_ZNK4llvm21ConstantAggregateZero15getElementValueEj @@ -794,9 +947,20 @@ libLLVM-12.so:_ZNK4llvm22ConstantDataSequential20getElementAsConstantEj libLLVM-12.so:_ZNK4llvm22ConstantDataSequential8isStringEj libLLVM-12.so:_ZNK4llvm22ConstantDataSequential9isCStringEv +libLLVM-12.so:_ZNK4llvm23ItaniumPartialDemangler15getFunctionNameEPcPm libLLVM-12.so:_ZNK4llvm23MCELFObjectTargetWriter23needsRelocateWithSymbolERKNS_8MCSymbolEj libLLVM-12.so:_ZNK4llvm3EVT12getEVTStringB5cxx11Ev libLLVM-12.so:_ZNK4llvm3Use12getOperandNoEv +libLLVM-12.so:_ZNK4llvm3lto3LTO11getMaxTasksEv +libLLVM-12.so:_ZNK4llvm3lto9InputFile7getNameEv +libLLVM-12.so:_ZNK4llvm3opt3Arg11getAsStringB5cxx11ERKNS0_7ArgListE +libLLVM-12.so:_ZNK4llvm3opt6Option7matchesENS0_12OptSpecifierE +libLLVM-12.so:_ZNK4llvm3opt7ArgList15getLastArgValueENS0_12OptSpecifierENS_9StringRefE +libLLVM-12.so:_ZNK4llvm3opt7ArgList7hasFlagENS0_12OptSpecifierES2_b +libLLVM-12.so:_ZNK4llvm3opt7ArgList8getRangeESt16initializer_listINS0_12OptSpecifierEE +libLLVM-12.so:_ZNK4llvm3opt8OptTable11findNearestENS_9StringRefERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjjj +libLLVM-12.so:_ZNK4llvm3opt8OptTable9ParseArgsENS_8ArrayRefIPKcEERjS6_jj +libLLVM-12.so:_ZNK4llvm3opt8OptTable9PrintHelpERNS_11raw_ostreamEPKcS5_bb libLLVM-12.so:_ZNK4llvm4Loop11isLCSSAFormERKNS_13DominatorTreeE libLLVM-12.so:_ZNK4llvm4Loop13isSafeToCloneEv libLLVM-12.so:_ZNK4llvm4Loop15isLoopInvariantEPKNS_5ValueE @@ -831,6 +995,7 @@ libLLVM-12.so:_ZNK4llvm5APInt8toStringB5cxx11Ejb libLLVM-12.so:_ZNK4llvm5Twine3strB5cxx11Ev libLLVM-12.so:_ZNK4llvm5Twine5printERNS_11raw_ostreamE +libLLVM-12.so:_ZNK4llvm5Twine8toVectorERNS_15SmallVectorImplIcEE libLLVM-12.so:_ZNK4llvm5Value10getContextEv libLLVM-12.so:_ZNK4llvm5Value10getNumUsesEv libLLVM-12.so:_ZNK4llvm5Value11getMetadataENS_9StringRefE @@ -854,6 +1019,8 @@ libLLVM-12.so:_ZNK4llvm6Module17getGlobalVariableENS_9StringRefEb libLLVM-12.so:_ZNK4llvm6Module22getModuleFlagsMetadataEv libLLVM-12.so:_ZNK4llvm6Module5printERNS_11raw_ostreamEPNS_24AssemblyAnnotationWriterEbb +libLLVM-12.so:_ZNK4llvm6Triple11isArch64BitEv +libLLVM-12.so:_ZNK4llvm6Triple14isLittleEndianEv libLLVM-12.so:_ZNK4llvm6detail13DoubleAPFloat10isDenormalEv libLLVM-12.so:_ZNK4llvm6detail13DoubleAPFloat14bitcastToAPIntEv libLLVM-12.so:_ZNK4llvm6detail13DoubleAPFloat7compareERKS1_ @@ -862,6 +1029,20 @@ libLLVM-12.so:_ZNK4llvm6detail9IEEEFloat14convertToFloatEv libLLVM-12.so:_ZNK4llvm6detail9IEEEFloat15convertToDoubleEv libLLVM-12.so:_ZNK4llvm6detail9IEEEFloat7compareERKS1_ +libLLVM-12.so:_ZNK4llvm6object6Binary18getMemoryBufferRefEv +libLLVM-12.so:_ZNK4llvm6object7Archive10symbol_endEv +libLLVM-12.so:_ZNK4llvm6object7Archive11child_beginERNS_5ErrorEb +libLLVM-12.so:_ZNK4llvm6object7Archive12symbol_beginEv +libLLVM-12.so:_ZNK4llvm6object7Archive14hasSymbolTableEv +libLLVM-12.so:_ZNK4llvm6object7Archive5Child11getFullNameB5cxx11Ev +libLLVM-12.so:_ZNK4llvm6object7Archive5Child14getChildOffsetEv +libLLVM-12.so:_ZNK4llvm6object7Archive5Child18getMemoryBufferRefEv +libLLVM-12.so:_ZNK4llvm6object7Archive5Child7getNextEv +libLLVM-12.so:_ZNK4llvm6object7Archive6Symbol7getNameEv +libLLVM-12.so:_ZNK4llvm6object7Archive6Symbol7getNextEv +libLLVM-12.so:_ZNK4llvm6object7Archive6Symbol9getMemberEv +libLLVM-12.so:_ZNK4llvm6object7Archive7isEmptyEv +libLLVM-12.so:_ZNK4llvm6object7Archive9child_endEv libLLVM-12.so:_ZNK4llvm7CmpInst13isCommutativeEv libLLVM-12.so:_ZNK4llvm7DIScope7getNameEv libLLVM-12.so:_ZNK4llvm7DIScope8getScopeEv @@ -882,6 +1063,7 @@ libLLVM-12.so:_ZNK4llvm8Constant19getAggregateElementEPS0_ libLLVM-12.so:_ZNK4llvm8Constant19getAggregateElementEj libLLVM-12.so:_ZNK4llvm8Constant23removeDeadConstantUsersEv +libLLVM-12.so:_ZNK4llvm8DWARFDie4findENS_5dwarf9AttributeE libLLVM-12.so:_ZNK4llvm8DebugLoc12getInlinedAtEv libLLVM-12.so:_ZNK4llvm8DebugLoc3getEv libLLVM-12.so:_ZNK4llvm8DebugLoc6getColEv @@ -913,24 +1095,31 @@ libLLVM-12.so:_ZNK4llvm9MCAsmInfo28isSectionAtomizableBySymbolsERKNS_9MCSectionE libLLVM-12.so:_ZNK4llvm9StringRef13compare_lowerES0_ libLLVM-12.so:_ZNK4llvm9StringRef13find_first_ofES0_m +libLLVM-12.so:_ZNK4llvm9StringRef14endswith_lowerES0_ libLLVM-12.so:_ZNK4llvm9StringRef16find_last_not_ofES0_m libLLVM-12.so:_ZNK4llvm9StringRef16find_last_not_ofEcm +libLLVM-12.so:_ZNK4llvm9StringRef16startswith_lowerES0_ libLLVM-12.so:_ZNK4llvm9StringRef17find_first_not_ofES0_m libLLVM-12.so:_ZNK4llvm9StringRef4findES0_m +libLLVM-12.so:_ZNK4llvm9StringRef5lowerB5cxx11Ev libLLVM-12.so:_ZNK4llvm9StringRef5rfindES0_ libLLVM-12.so:_ZNK4llvm9StringRef5splitERNS_15SmallVectorImplIS0_EES0_ib libLLVM-12.so:_ZNK4llvm9StringRef5splitERNS_15SmallVectorImplIS0_EEcib +libLLVM-12.so:_ZTIN4llvm18format_object_baseE libLLVM-12.so:_ZTVN4llvm12TargetFolderE libLLVM-12.so:_ZTVN4llvm14ConstantFolderE libLLVM-12.so:_ZTVN4llvm17LegacyInlinerBaseE +libLLVM-12.so:_ZTVN4llvm18ARMAttributeParserE libLLVM-12.so:_ZTVN4llvm18raw_string_ostreamE libLLVM-12.so:_ZTVN4llvm19raw_svector_ostreamE +libLLVM-12.so:_ZTVN4llvm20RISCVAttributeParserE libLLVM-12.so:_ZTVN4llvm21formatted_raw_ostreamE libLLVM-12.so:_ZTVN4llvm24IRBuilderDefaultInserterE libLLVM-12.so:_ZTVN4llvm27DiagnosticPrinterRawOStreamE libLLVM-12.so:_ZTVN4llvm2cl3optIbLb0ENS0_6parserIbEEEE libLLVM-12.so:_ZTVN4llvm2cl6OptionE libLLVM-12.so:_ZTVN4llvm2cl6parserIbEE +libLLVM-12.so:_ZTVN4llvm3opt12InputArgListE libLLVM-12.so:_ZTVN4llvm8NoFolderE libLLVM-12.so:_ZTVN4llvm9ErrorListE libc.so.6:__cxa_atexit @@ -939,7 +1128,6 @@ libc.so.6:__memcpy_chk libc.so.6:__stack_chk_fail libc.so.6:__strncpy_chk -libc.so.6:__vfprintf_chk libc.so.6:__vsnprintf_chk libc.so.6:abort libc.so.6:clearerr @@ -1023,14 +1211,20 @@ libm.so.6:sinf libm.so.6:sqrt libm.so.6:sqrtf +libopencl-clang.so.12:Compile +libpthread.so.0:__errno_location +libpthread.so.0:close +libpthread.so.0:pthread_create libstdc++.so.6:_ZNKSt12__basic_fileIcE7is_openEv libstdc++.so.6:_ZNKSt13runtime_error4whatEv libstdc++.so.6:_ZNKSt5ctypeIcE13_M_widen_initEv +libstdc++.so.6:_ZNKSt6locale2id5_M_idEv libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12find_last_ofEPKcmm libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcmm libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4copyEPcmm libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcmm libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm +libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcmm libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEcm libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmRKS4_ @@ -1038,6 +1232,7 @@ libstdc++.so.6:_ZNKSt8__detail20_Prime_rehash_policy11_M_next_bktEm libstdc++.so.6:_ZNKSt8__detail20_Prime_rehash_policy14_M_need_rehashEmmm libstdc++.so.6:_ZNKSt9exception4whatEv +libstdc++.so.6:_ZNSi10_M_extractIlEERSiRT_ libstdc++.so.6:_ZNSi3getERc libstdc++.so.6:_ZNSi3getEv libstdc++.so.6:_ZNSi4readEPcl @@ -1061,9 +1256,11 @@ libstdc++.so.6:_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode libstdc++.so.6:_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv libstdc++.so.6:_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev -libstdc++.so.6:_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode libstdc++.so.6:_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode libstdc++.so.6:_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev +libstdc++.so.6:_ZNSt13random_device7_M_finiEv +libstdc++.so.6:_ZNSt13random_device7_M_initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE +libstdc++.so.6:_ZNSt13random_device9_M_getvalEv libstdc++.so.6:_ZNSt13runtime_errorC2EPKc libstdc++.so.6:_ZNSt13runtime_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE libstdc++.so.6:_ZNSt13runtime_errorC2ERKS_ @@ -1077,10 +1274,21 @@ libstdc++.so.6:_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev libstdc++.so.6:_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev libstdc++.so.6:_ZNSt16invalid_argumentD1Ev +libstdc++.so.6:_ZNSt18condition_variable10notify_allEv +libstdc++.so.6:_ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE +libstdc++.so.6:_ZNSt18condition_variableC1Ev +libstdc++.so.6:_ZNSt18condition_variableD1Ev libstdc++.so.6:_ZNSt19_Sp_make_shared_tag5_S_eqERKSt9type_info libstdc++.so.6:_ZNSt3_V215system_categoryEv +libstdc++.so.6:_ZNSt5ctypeIcE2idE libstdc++.so.6:_ZNSt6chrono3_V212system_clock3nowEv +libstdc++.so.6:_ZNSt6localeC1ERKS_ +libstdc++.so.6:_ZNSt6localeC1Ev libstdc++.so.6:_ZNSt6localeD1Ev +libstdc++.so.6:_ZNSt6localeaSERKS_ +libstdc++.so.6:_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE +libstdc++.so.6:_ZNSt6thread6_StateD2Ev +libstdc++.so.6:_ZNSt6thread6detachEv libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc @@ -1126,6 +1334,7 @@ libstdc++.so.6:_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base libstdc++.so.6:_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base libstdc++.so.6:_ZSt19__throw_logic_errorPKc +libstdc++.so.6:_ZSt19__throw_regex_errorNSt15regex_constants10error_typeE libstdc++.so.6:_ZSt20__throw_length_errorPKc libstdc++.so.6:_ZSt20__throw_out_of_rangePKc libstdc++.so.6:_ZSt20__throw_system_errori @@ -1141,9 +1350,13 @@ libstdc++.so.6:_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_ libstdc++.so.6:_ZSt7nothrow libstdc++.so.6:_ZSt9terminatev +libstdc++.so.6:_ZSt9use_facetINSt7__cxx117collateIcEEERKT_RKSt6locale +libstdc++.so.6:_ZSt9use_facetISt5ctypeIcEERKT_RKSt6locale libstdc++.so.6:_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc -libstdc++.so.6:_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE libstdc++.so.6:_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE +libstdc++.so.6:_ZTINSt6locale5facetE +libstdc++.so.6:_ZTINSt6thread6_StateE +libstdc++.so.6:_ZTISt5ctypeIcE libstdc++.so.6:_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE libstdc++.so.6:_ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE libstdc++.so.6:_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE @@ -1151,7 +1364,10 @@ libstdc++.so.6:_ZTTSt14basic_ifstreamIcSt11char_traitsIcEE libstdc++.so.6:_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE libstdc++.so.6:_ZTVN10__cxxabiv117__class_type_infoE +libstdc++.so.6:_ZTVN10__cxxabiv119__pointer_type_infoE +libstdc++.so.6:_ZTVN10__cxxabiv120__function_type_infoE libstdc++.so.6:_ZTVN10__cxxabiv120__si_class_type_infoE +libstdc++.so.6:_ZTVN10__cxxabiv121__vmi_class_type_infoE libstdc++.so.6:_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE libstdc++.so.6:_ZTVSt12out_of_range libstdc++.so.6:_ZTVSt15basic_streambufIcSt11char_traitsIcEE @@ -1164,6 +1380,7 @@ libstdc++.so.6:_Znwm libstdc++.so.6:_ZnwmRKSt9nothrow_t libstdc++.so.6:__cxa_allocate_exception +libstdc++.so.6:__cxa_bad_cast libstdc++.so.6:__cxa_begin_catch libstdc++.so.6:__cxa_call_unexpected libstdc++.so.6:__cxa_end_catch @@ -1175,5 +1392,6 @@ libstdc++.so.6:__cxa_pure_virtual libstdc++.so.6:__cxa_rethrow libstdc++.so.6:__cxa_throw +libstdc++.so.6:__dynamic_cast libstdc++.so.6:__gxx_personality_v0 libstdc++.so.6:__once_proxy diff --git a/files/0003-Port-to-LLVM-12.patch b/files/0003-Port-to-LLVM-12.patch new file mode 100644 --- /dev/null +++ b/files/0003-Port-to-LLVM-12.patch @@ -0,0 +1,456 @@ +From 0a11c43e061db8b485498d990d02ad3470d1434b Mon Sep 17 00:00:00 2001 +From: liushuyu +Date: Tue, 25 May 2021 17:21:37 -0600 +Subject: [PATCH] Port to LLVM 12 + +--- + IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp | 4 +-- + IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp | 2 +- + IGC/AdaptorOCL/dllInterfaceCompute.cpp | 2 +- + IGC/Compiler/CISACodeGen/AdvMemOpt.cpp | 2 +- + IGC/Compiler/CISACodeGen/LdShrink.cpp | 7 +++-- + IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp | 8 +++--- + .../CISACodeGen/Simd32Profitability.cpp | 2 +- + IGC/Compiler/GenTTI.cpp | 2 +- + .../AddressSpaceAliasAnalysis.cpp | 1 + + .../DeviceEnqueueFuncs/TransformBlocks.cpp | 2 +- + .../OpenCLPasses/WIFuncs/WIFuncResolution.cpp | 1 + + IGC/DebugInfo/DebugInfoUtils.hpp | 2 +- + IGC/DebugInfo/DwarfDebug.cpp | 4 +-- + .../lib/GenXCodeGen/GenXCFSimplification.cpp | 4 +-- + .../lib/GenXCodeGen/GenXSubtarget.cpp | 10 +++---- + .../lib/GenXCodeGen/GenXSubtarget.h | 6 ++--- + .../lib/GenXCodeGen/GenXTargetMachine.cpp | 2 +- + .../lib/GenXOpts/CMPacketize/gen_builder.hpp | 26 ++++++++++++++----- + .../lib/Utils/General/Types.cpp | 2 +- + .../include/llvmWrapper/Support/TypeSize.h | 5 +++- + .../include/llvmWrapper/Transforms/Scalar.h | 4 +-- + IGC/common/igc_resourceDimTypes.h | 5 ++-- + 22 files changed, 63 insertions(+), 40 deletions(-) + +diff --git a/IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp b/IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp +index 464741638..7dc79dad7 100644 +--- a/IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp ++++ b/IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp +@@ -1561,7 +1561,7 @@ void SPIRVToLLVMDbgTran::transDbgInfo(SPIRVValue *SV, Value *V) { + Line->getColumn(), scope, iat); + + if(scope && !isa(scope)) +- I->setDebugLoc(DebugLoc::get(Line->getLine(), Line->getColumn(), ++ I->setDebugLoc(DILocation::get(scope->getContext(), Line->getLine(), Line->getColumn(), + scope, iat)); + } + } +@@ -1977,7 +1977,7 @@ SPIRVToLLVM::transType(SPIRVType *T) { + auto name = isSubgroupAvcINTELTypeOpCode(OC) ? + OCLSubgroupINTELTypeOpCodeMap::rmap(OC) : + BuiltinOpaqueGenericTypeOpCodeMap::rmap(OC); +- auto *pST = M->getTypeByName(name); ++ auto *pST = StructType::getTypeByName(M->getContext(), name); + pST = pST ? pST : StructType::create(*Context, name); + + return mapType(T, PointerType::get(pST, getOCLOpaqueTypeAddrSpace(OC))); +diff --git a/IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp b/IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp +index 7616669e2..64c43ebe5 100644 +--- a/IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp ++++ b/IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp +@@ -76,7 +76,7 @@ saveLLVMModule(Module *M, const std::string &OutputFile) { + PointerType* + getOrCreateOpaquePtrType(Module *M, const std::string &Name, + unsigned AddrSpace) { +- auto OpaqueType = M->getTypeByName(Name); ++ auto OpaqueType = StructType::getTypeByName(M->getContext(), Name); + if (!OpaqueType) + OpaqueType = StructType::create(M->getContext(), Name); + return PointerType::get(OpaqueType, AddrSpace); +diff --git a/IGC/AdaptorOCL/dllInterfaceCompute.cpp b/IGC/AdaptorOCL/dllInterfaceCompute.cpp +index db763d016..b8e4abfa5 100644 +--- a/IGC/AdaptorOCL/dllInterfaceCompute.cpp ++++ b/IGC/AdaptorOCL/dllInterfaceCompute.cpp +@@ -401,7 +401,7 @@ bool TranslateSPIRVToLLVM( + std::string& stringErrMsg) + { + bool success = true; +- std::istringstream IS(SPIRVBinary); ++ std::istringstream IS(SPIRVBinary.str()); + std::unordered_map specIDToSpecValueMap = UnpackSpecConstants( + InputArgs.pSpecConstantsIds, + InputArgs.pSpecConstantsValues, +diff --git a/IGC/Compiler/CISACodeGen/AdvMemOpt.cpp b/IGC/Compiler/CISACodeGen/AdvMemOpt.cpp +index 876cb0a30..61f1ebc16 100644 +--- a/IGC/Compiler/CISACodeGen/AdvMemOpt.cpp ++++ b/IGC/Compiler/CISACodeGen/AdvMemOpt.cpp +@@ -118,7 +118,7 @@ bool AdvMemOpt::runOnFunction(Function& F) { + for (auto I = LI->begin(), E = LI->end(); I != E; ++I) + for (auto DFI = df_begin(*I), DFE = df_end(*I); DFI != DFE; ++DFI) { + Loop* L = *DFI; +- if (L->empty()) ++ if (L->getSubLoops().empty()) + InnermostLoops.push_back(L); + } + +diff --git a/IGC/Compiler/CISACodeGen/LdShrink.cpp b/IGC/Compiler/CISACodeGen/LdShrink.cpp +index 91226eeb2..038be17da 100644 +--- a/IGC/Compiler/CISACodeGen/LdShrink.cpp ++++ b/IGC/Compiler/CISACodeGen/LdShrink.cpp +@@ -10,6 +10,7 @@ SPDX-License-Identifier: MIT + #include + #include + #include ++#include + #include + #include + #include +@@ -75,9 +76,11 @@ unsigned LdShrink::getExtractIndexMask(LoadInst* LI) const { + Type* Ty = VTy->getScalarType(); + // Skip non-BYTE addressable data types. So far, check integer types + // only. +- if (IntegerType * ITy = dyn_cast(Ty)) +- if (!ITy->isPowerOf2ByteWidth()) ++ if (IntegerType * ITy = dyn_cast(Ty)) { ++ auto BitWidth = ITy->getBitWidth(); ++ if (!((BitWidth > 7) && isPowerOf2_32(BitWidth))) + return 0; ++ } + + unsigned Mask = 0; // Maxmimally 32 elements. + +diff --git a/IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp b/IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp +index ebe0a7c7f..e15b89250 100644 +--- a/IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp ++++ b/IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp +@@ -631,9 +631,9 @@ static void AddLegalizationPasses(CodeGenContext& ctx, IGCPassManager& mpm, PSSi + if (IGC_GET_FLAG_VALUE(FunctionControl) == FLAG_FCALL_DEFAULT) + { + // Don't run IPConstantProp when debugging function calls, to avoid folding function arg/ret constants +- mpm.add(createIPConstantPropagationPass()); ++ mpm.add(createIPSCCPPass()); + } +- mpm.add(createConstantPropagationPass()); ++ mpm.add(createInstSimplifyLegacyPass()); + mpm.add(createDeadCodeEliminationPass()); + mpm.add(createCFGSimplificationPass()); + } +@@ -1537,8 +1537,8 @@ void OptimizeIR(CodeGenContext* const pContext) + // possible which potentially allows late stage code sinking of + // those calls by the instruction combiner. + mpm.add(createPostOrderFunctionAttrsLegacyPass()); +- mpm.add(createConstantPropagationPass()); +- mpm.add(createIPConstantPropagationPass()); ++ mpm.add(createInstSimplifyLegacyPass()); ++ mpm.add(createIPSCCPPass()); + } + + // enable this only when Pooled EU is not supported +diff --git a/IGC/Compiler/CISACodeGen/Simd32Profitability.cpp b/IGC/Compiler/CISACodeGen/Simd32Profitability.cpp +index e1d1a8e60..a0c5c2973 100644 +--- a/IGC/Compiler/CISACodeGen/Simd32Profitability.cpp ++++ b/IGC/Compiler/CISACodeGen/Simd32Profitability.cpp +@@ -982,7 +982,7 @@ static bool hasLongStridedLdStInLoop(Function* F, LoopInfo* LI, WIAnalysis* WI) + // Collect innermost simple loop. + for (auto I = LI->begin(), E = LI->end(); I != E; ++I) { + auto L = *I; +- if (!L->empty()) ++ if (!L->getSubLoops().empty()) + continue; + if (L->getNumBlocks() != 2) + continue; +diff --git a/IGC/Compiler/GenTTI.cpp b/IGC/Compiler/GenTTI.cpp +index d51396080..44c81aeac 100644 +--- a/IGC/Compiler/GenTTI.cpp ++++ b/IGC/Compiler/GenTTI.cpp +@@ -201,7 +201,7 @@ namespace llvm { + + // Skip non-simple loop. + if (L->getNumBlocks() != 1) { +- if (IGC_IS_FLAG_ENABLED(EnableAdvRuntimeUnroll) && L->empty()) { ++ if (IGC_IS_FLAG_ENABLED(EnableAdvRuntimeUnroll) && L->getSubLoops().empty()) { + auto countNonPHI = [](BasicBlock* BB) { + unsigned Total = BB->size(); + unsigned PHIs = 0; +diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.cpp +index b22e14bd5..bc9d6e55d 100644 +--- a/IGC/Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.cpp ++++ b/IGC/Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.cpp +@@ -6,6 +6,7 @@ SPDX-License-Identifier: MIT + + ============================= end_copyright_notice ===========================*/ + ++#include + #include "llvm/Config/llvm-config.h" + #include "Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.h" + #include "Compiler/CodeGenPublic.h" +diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/DeviceEnqueueFuncs/TransformBlocks.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/DeviceEnqueueFuncs/TransformBlocks.cpp +index 3fa686524..a4b6746b4 100644 +--- a/IGC/Compiler/Optimizer/OpenCLPasses/DeviceEnqueueFuncs/TransformBlocks.cpp ++++ b/IGC/Compiler/Optimizer/OpenCLPasses/DeviceEnqueueFuncs/TransformBlocks.cpp +@@ -936,7 +936,7 @@ namespace //Anonymous + { + auto ndrangeStructName = "struct.ndrange_t"; + auto module = _deviceExecCall->getModule(); +- auto ndrangeTy = module->getTypeByName(ndrangeStructName); ++ auto ndrangeTy = llvm::StructType::getTypeByName(module->getContext(), ndrangeStructName); + if (ndrangeTy == nullptr) + { + //create struct type +diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/WIFuncs/WIFuncResolution.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/WIFuncs/WIFuncResolution.cpp +index e4aa2290d..fddd6d95a 100644 +--- a/IGC/Compiler/Optimizer/OpenCLPasses/WIFuncs/WIFuncResolution.cpp ++++ b/IGC/Compiler/Optimizer/OpenCLPasses/WIFuncs/WIFuncResolution.cpp +@@ -12,6 +12,7 @@ SPDX-License-Identifier: MIT + #include "common/LLVMWarningsPush.hpp" + #include + #include ++#include + #include "common/LLVMWarningsPop.hpp" + #include "Probe/Assertion.h" + #include +diff --git a/IGC/DebugInfo/DebugInfoUtils.hpp b/IGC/DebugInfo/DebugInfoUtils.hpp +index 5c19ecc95..d90066f39 100644 +--- a/IGC/DebugInfo/DebugInfoUtils.hpp ++++ b/IGC/DebugInfo/DebugInfoUtils.hpp +@@ -92,7 +92,7 @@ namespace IGC + IGCLLVM::DIBuilder Builder(M); + llvm::DIGlobalVariable* GV = GVs[j]->getVariable(); + llvm::DIScope* scopeToUse = GV->getScope(); +- llvm::DILocation* locToUse = llvm::DebugLoc::get(GV->getLine(), 0, scopeToUse, loc); ++ llvm::DILocation* locToUse = llvm::DILocation::get(scopeToUse->getContext(), GV->getLine(), 0, scopeToUse, loc); + if (llvm::isa(GV->getScope())) + { + // Function has no DebugLoc so it is either internal +diff --git a/IGC/DebugInfo/DwarfDebug.cpp b/IGC/DebugInfo/DwarfDebug.cpp +index 01720a900..90500b1f8 100644 +--- a/IGC/DebugInfo/DwarfDebug.cpp ++++ b/IGC/DebugInfo/DwarfDebug.cpp +@@ -2151,9 +2151,9 @@ static DebugLoc getFnDebugLoc(DebugLoc DL, const LLVMContext& Ctx) + // Check for number of operands since the compatibility is cheap here. + if (SP->getNumOperands() > 19) + { +- return DebugLoc::get(SP->getScopeLine(), 0, SP); ++ return DILocation::get(SP->getContext(), SP->getScopeLine(), 0, SP); + } +- return DebugLoc::get(SP->getLine(), 0, SP); ++ return DILocation::get(SP->getContext(), SP->getLine(), 0, SP); + } + + return DebugLoc(); +diff --git a/IGC/VectorCompiler/lib/GenXCodeGen/GenXCFSimplification.cpp b/IGC/VectorCompiler/lib/GenXCodeGen/GenXCFSimplification.cpp +index eb8d4fc44..2a5b11a2a 100644 +--- a/IGC/VectorCompiler/lib/GenXCodeGen/GenXCFSimplification.cpp ++++ b/IGC/VectorCompiler/lib/GenXCodeGen/GenXCFSimplification.cpp +@@ -285,8 +285,8 @@ BasicBlock *GenXCFSimplification::processBranchedOverBlock(BasicBlock *BB) + while (Restart) { + Restart = false; + for (auto ui = I->use_begin(), ue = I->use_end(); ui != ue; ++ui) +- if (recursivelySimplifyInstruction( +- cast(ui->getUser()))) { ++ if (replaceAndRecursivelySimplify( ++ cast(ui->getUser()), nullptr, nullptr, nullptr, nullptr, nullptr)) { + Restart = true; + break; + } +diff --git a/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.cpp b/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.cpp +index 1b08e8495..abca58f0b 100644 +--- a/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.cpp ++++ b/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.cpp +@@ -38,7 +38,7 @@ static cl::opt + cl::desc("Specify what surface should be used for stack"), + cl::init(true)); + +-void GenXSubtarget::resetSubtargetFeatures(StringRef CPU, StringRef FS) { ++void GenXSubtarget::resetSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS) { + + DumpRegAlloc = false; + EmitCisa = false; +@@ -80,13 +80,13 @@ void GenXSubtarget::resetSubtargetFeatures(StringRef CPU, StringRef FS) { + if (CPUName.empty()) + CPUName = "generic"; + +- ParseSubtargetFeatures(CPUName, FS); ++ ParseSubtargetFeatures(CPUName, TuneCPU, FS); + } + + GenXSubtarget::GenXSubtarget(const Triple &TT, const std::string &CPU, +- const std::string &FS) +- : GenXGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT) { ++ const std::string &TC, const std::string &FS) ++ : GenXGenSubtargetInfo(TT, CPU, TC, FS), TargetTriple(TT) { + +- resetSubtargetFeatures(CPU, FS); ++ resetSubtargetFeatures(CPU, TC, FS); + } + +diff --git a/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.h b/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.h +index 9e9675110..670672b7f 100644 +--- a/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.h ++++ b/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.h +@@ -123,7 +123,7 @@ public: + // of the specified triple. + // + GenXSubtarget(const Triple &TT, const std::string &CPU, +- const std::string &FS); ++ const std::string &TC, const std::string &FS); + + unsigned getGRFWidth() const { return 32; } + +@@ -131,10 +131,10 @@ public: + + // ParseSubtargetFeatures - Parses features string setting specified + // subtarget options. Definition of function is auto generated by tblgen. +- void ParseSubtargetFeatures(StringRef CPU, StringRef FS); ++ void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS); + + // \brief Reset the features for the GenX target. +- void resetSubtargetFeatures(StringRef CPU, StringRef FS); ++ void resetSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS); + + public: + +diff --git a/IGC/VectorCompiler/lib/GenXCodeGen/GenXTargetMachine.cpp b/IGC/VectorCompiler/lib/GenXCodeGen/GenXTargetMachine.cpp +index a56c8217b..1a409cb77 100644 +--- a/IGC/VectorCompiler/lib/GenXCodeGen/GenXTargetMachine.cpp ++++ b/IGC/VectorCompiler/lib/GenXCodeGen/GenXTargetMachine.cpp +@@ -193,7 +193,7 @@ GenXTargetMachine::GenXTargetMachine(const Target &T, const Triple &TT, + RM ? RM.getValue() : Reloc::Model::Static, + CM ? CM.getValue() : CodeModel::Model::Small, + OL), +- Is64Bit(Is64Bit), Subtarget(TT, CPU.str(), FS.str()) {} ++ Is64Bit(Is64Bit), Subtarget(TT, CPU.str(), CPU.str(), FS.str()) {} + + GenXTargetMachine::~GenXTargetMachine() = default; + +diff --git a/IGC/VectorCompiler/lib/GenXOpts/CMPacketize/gen_builder.hpp b/IGC/VectorCompiler/lib/GenXOpts/CMPacketize/gen_builder.hpp +index 76b6dd3f7..f54ac3eb5 100644 +--- a/IGC/VectorCompiler/lib/GenXOpts/CMPacketize/gen_builder.hpp ++++ b/IGC/VectorCompiler/lib/GenXOpts/CMPacketize/gen_builder.hpp +@@ -122,12 +122,24 @@ CallInst* INT_MIN_REDUCE(Value *Src, bool IsSigned = false) + + CallInst* FP_MAX_REDUCE(Value *Src, bool NoNaN = false) + { +- return IRB()->CreateFPMaxReduce(Src, NoNaN); ++ auto Rdx = IRB()->CreateFPMaxReduce(Src); ++ if (NoNaN) { ++ FastMathFlags FMF; ++ FMF.setNoNaNs(); ++ Rdx->setFastMathFlags(FMF); ++ } ++ return Rdx; + } + + CallInst* FP_MIN_REDUCE(Value *Src, bool NoNaN = false) + { +- return IRB()->CreateFPMinReduce(Src, NoNaN); ++ auto Rdx = IRB()->CreateFPMinReduce(Src); ++ if (NoNaN) { ++ FastMathFlags FMF; ++ FMF.setNoNaNs(); ++ Rdx->setFastMathFlags(FMF); ++ } ++ return Rdx; + } + + CallInst* LIFETIME_START(Value *Ptr, ConstantInt *Size = nullptr) +@@ -170,9 +182,10 @@ CallInst* GC_STATEPOINT_CALL(uint64_t ID, uint32_t NumPatchBytes, Value *ActualC + return IRB()->CreateGCStatepointCall(ID, NumPatchBytes, ActualCallee, CallArgs, DeoptArgs, GCArgs, Name); + } + +-CallInst* GC_STATEPOINT_CALL(uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, uint32_t Flags, ArrayRef CallArgs, ArrayRef TransitionArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") ++CallInst* GC_STATEPOINT_CALL(uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, uint32_t Flags, ArrayRef CallArgs, ArrayRef TransitionArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") + { +- return IRB()->CreateGCStatepointCall(ID, NumPatchBytes, ActualCallee, Flags, CallArgs, TransitionArgs, DeoptArgs, GCArgs, Name); ++ // ! ++ return IRB()->CreateGCStatepointCall(ID, NumPatchBytes, ActualCallee, Flags, CallArgs, Optional(TransitionArgs), Optional(DeoptArgs), GCArgs, Name); + } + + CallInst* GC_STATEPOINT_CALL(uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, ArrayRef CallArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") +@@ -185,9 +198,10 @@ InvokeInst* GC_STATEPOINT_INVOKE(uint64_t ID, uint32_t NumPatchBytes, Value *Act + return IRB()->CreateGCStatepointInvoke(ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, InvokeArgs, DeoptArgs, GCArgs, Name); + } + +-InvokeInst* GC_STATEPOINT_INVOKE(uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, ArrayRef InvokeArgs, ArrayRef TransitionArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") ++InvokeInst* GC_STATEPOINT_INVOKE(uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, ArrayRef InvokeArgs, ArrayRef TransitionArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") + { +- return IRB()->CreateGCStatepointInvoke(ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, Flags, InvokeArgs, TransitionArgs, DeoptArgs, GCArgs, Name); ++ // ! ++ return IRB()->CreateGCStatepointInvoke(ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, Flags, InvokeArgs, Optional(TransitionArgs), Optional(DeoptArgs), GCArgs, Name); + } + + InvokeInst* GC_STATEPOINT_INVOKE(uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef InvokeArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") +diff --git a/IGC/VectorCompiler/lib/Utils/General/Types.cpp b/IGC/VectorCompiler/lib/Utils/General/Types.cpp +index 577edef09..b284cc9ef 100644 +--- a/IGC/VectorCompiler/lib/Utils/General/Types.cpp ++++ b/IGC/VectorCompiler/lib/Utils/General/Types.cpp +@@ -96,7 +96,7 @@ Type *vc::getNewTypeForCast(Type *OldOutType, Type *OldInType, + "Error: wrong combination of input/output"); + // element count changed, scalar type as previous + NewOutType = IGCLLVM::FixedVectorType::get( +- OldOutType->getVectorElementType(), IGCLLVM::getElementCount(NewOutEC)); ++ cast(OldOutType)->getElementType(), NewOutEC); + } + + IGC_ASSERT(NewOutType); +diff --git a/IGC/WrapperLLVM/include/llvmWrapper/Support/TypeSize.h b/IGC/WrapperLLVM/include/llvmWrapper/Support/TypeSize.h +index 19c5183eb..ef7640a65 100644 +--- a/IGC/WrapperLLVM/include/llvmWrapper/Support/TypeSize.h ++++ b/IGC/WrapperLLVM/include/llvmWrapper/Support/TypeSize.h +@@ -17,9 +17,12 @@ using namespace llvm; + namespace IGCLLVM { + #if LLVM_VERSION_MAJOR < 11 + inline unsigned getElementCount(unsigned EC) { return EC; } +-#else ++#elif LLVM_VERSION_MAJOR < 12 + inline ElementCount getElementCount(unsigned EC) { + return ElementCount(EC, false); ++#elif LLVM_VERSION_MAJOR < 13 ++inline ElementCount getElementCount(unsigned EC) { ++ return LinearPolySize::getFixed(EC); + } + #endif + } // namespace IGCLLVM +diff --git a/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Scalar.h b/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Scalar.h +index 74841ddc1..f9cd5d41b 100644 +--- a/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Scalar.h ++++ b/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Scalar.h +@@ -26,7 +26,7 @@ namespace IGCLLVM + { + return llvm::createLoopUnrollPass(OptLevel, false, Threshold, Count, AllowPartial, Runtime, UpperBound, AllowPeeling); + } +-#elif LLVM_VERSION_MAJOR == 9 || LLVM_VERSION_MAJOR == 10 || LLVM_VERSION_MAJOR == 11 ++#elif LLVM_VERSION_MAJOR == 9 || LLVM_VERSION_MAJOR == 10 || LLVM_VERSION_MAJOR == 11 || LLVM_VERSION_MAJOR == 12 + inline static llvm::Pass * createLoopUnrollPass( + int OptLevel = 2, int Threshold = -1, int Count = -1, + int AllowPartial = -1, int Runtime = -1, +@@ -34,7 +34,7 @@ namespace IGCLLVM + { + return llvm::createLoopUnrollPass(OptLevel, false, false, Threshold, Count, AllowPartial, Runtime, UpperBound, AllowPeeling); + } +-#elif LLVM_VERSION_MAJOR >= 12 ++#elif LLVM_VERSION_MAJOR >= 13 + //DO NOT assume same function signature for all incoming llvm versions! Double check to upgrade! + #error Not supported llvm version. + #endif +diff --git a/IGC/common/igc_resourceDimTypes.h b/IGC/common/igc_resourceDimTypes.h +index a9a6a1871..c0978676c 100644 +--- a/IGC/common/igc_resourceDimTypes.h ++++ b/IGC/common/igc_resourceDimTypes.h +@@ -11,6 +11,7 @@ SPDX-License-Identifier: MIT + #include "common/LLVMWarningsPush.hpp" + #include + #include ++#include + #include "common/LLVMWarningsPop.hpp" + #include "Probe/Assertion.h" + +@@ -50,6 +51,6 @@ namespace IGC + resourceDimTypeId == DIM_2D_TYPE || resourceDimTypeId == DIM_2D_ARRAY_TYPE || + resourceDimTypeId == DIM_3D_TYPE || resourceDimTypeId == DIM_CUBE_TYPE || resourceDimTypeId == DIM_CUBE_ARRAY_TYPE)); + +- return module.getTypeByName(ResourceDimensionTypeName[resourceDimTypeId]); ++ return llvm::StructType::getTypeByName(module.getContext(), ResourceDimensionTypeName[resourceDimTypeId]); + } +-} +\ No newline at end of file ++} +-- +2.32.0 + diff --git a/files/0004-link-pthread.patch b/files/0004-link-pthread.patch new file mode 100644 --- /dev/null +++ b/files/0004-link-pthread.patch @@ -0,0 +1,25 @@ +From 6aa2a6bac25a3a0f8fed240bb956c89aee68ee16 Mon Sep 17 00:00:00 2001 +From: liushuyu +Date: Sat, 10 Jul 2021 20:54:31 -0600 +Subject: [PATCH] IGC: linking to pthread + +--- + IGC/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/IGC/CMakeLists.txt b/IGC/CMakeLists.txt +index fd05f0ba4..92644d8e2 100644 +--- a/IGC/CMakeLists.txt ++++ b/IGC/CMakeLists.txt +@@ -1493,7 +1493,7 @@ target_include_directories(${IGC_BUILD__PROJ__igc_dll} INTERFACE + "${CMAKE_CURRENT_SOURCE_DIR}/AdaptorOCL/" + "${IGC_BUILD__IGC_BIN_DIR}/AdaptorOCL/" + ) +- ++target_link_libraries(${IGC_BUILD__PROJ__igc_dll} PRIVATE pthread) + + #IGC_DLL + igc_target_flag_property_add_once_config_var("${IGC_BUILD__PROJ__igc_dll}" LINK_FLAGS IGC_BUILD__EXPORT_SYMBOLS_LINK_FLAGS) +-- +2.32.0 + diff --git a/files/llvm12.patch b/files/llvm12.patch deleted file mode 100644 --- a/files/llvm12.patch +++ /dev/null @@ -1,2397 +0,0 @@ -From 1c28c742daac3e2d2a3188716d913dd515f18acb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= - -Date: Mon, 26 Apr 2021 11:10:59 +0000 -Subject: [PATCH] Fix build with LLVM 12 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Removed TargetLibraryInfo.h include from AddressSpaceAliasAnalysis.cpp -as this was causing treat-warning-as-error buildbreak, -Added casts to fix warnings, -Replaced ConstantPropagation and IPConstantPropagation passes with -IPSCCP passes, -reasoning here: -https://lists.llvm.org/pipermail/llvm-dev/2020-July/143788.html - -Original pull-request: -intel/intel-graphics-compiler#171 - -Signed-off-by: Zoltán Böszörményi zboszor@gmail.com -Co-authored-by: Pawel Szymichowski pawel.szymichowski@intel.com - -Co-authored-by: Zoltán Böszörményi zboszor@pr.hu ---- - .../LegalizeFunctionSignatures.cpp | 2 +- - IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp | 22 ++++++------ - IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp | 4 +-- - IGC/Compiler/CISACodeGen/AdvMemOpt.cpp | 3 +- - IGC/Compiler/CISACodeGen/CShader.cpp | 12 +++---- - .../CISACodeGen/ConstantCoalescing.cpp | 14 ++++---- - IGC/Compiler/CISACodeGen/DeSSA.cpp | 3 +- - IGC/Compiler/CISACodeGen/EmitVISAPass.cpp | 35 ++++++++++--------- - IGC/Compiler/CISACodeGen/Emu64OpsPass.cpp | 4 +-- - IGC/Compiler/CISACodeGen/GenIRLowering.cpp | 4 +-- - .../CISACodeGen/GenSimplification.cpp | 5 +-- - .../CISACodeGen/GeometryShaderLowering.cpp | 3 +- - IGC/Compiler/CISACodeGen/LdShrink.cpp | 10 ++++-- - .../CISACodeGen/LowerGEPForPrivMem.cpp | 8 ++--- - IGC/Compiler/CISACodeGen/MemOpt.cpp | 8 ++--- - IGC/Compiler/CISACodeGen/MemOpt2.cpp | 5 +-- - .../CISACodeGen/OpenCLKernelCodeGen.cpp | 2 +- - IGC/Compiler/CISACodeGen/PatternMatchPass.cpp | 4 +-- - IGC/Compiler/CISACodeGen/PushAnalysis.cpp | 4 +-- - .../CISACodeGen/RegisterEstimator.cpp | 3 +- - .../CISACodeGen/RegisterPressureEstimate.hpp | 3 +- - IGC/Compiler/CISACodeGen/SLMConstProp.cpp | 3 +- - .../CISACodeGen/ScalarizerCodeGen.cpp | 4 +-- - IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp | 10 ++++++ - .../CISACodeGen/Simd32Profitability.cpp | 10 +++--- - IGC/Compiler/CISACodeGen/SimplifyConstant.cpp | 12 +++---- - IGC/Compiler/CISACodeGen/TypeDemote.cpp | 3 +- - .../CISACodeGen/VariableReuseAnalysis.cpp | 5 +-- - .../CISACodeGen/VariableReuseAnalysis.hpp | 3 +- - IGC/Compiler/CISACodeGen/VectorPreProcess.cpp | 24 ++++++------- - IGC/Compiler/CISACodeGen/VectorProcess.cpp | 4 +-- - IGC/Compiler/CISACodeGen/helper.cpp | 10 +++--- - IGC/Compiler/ConvertMSAAPayloadTo16Bit.cpp | 10 +++--- - IGC/Compiler/CustomSafeOptPass.cpp | 26 +++++++------- - IGC/Compiler/DebugInfo/ScalarVISAModule.cpp | 3 +- - IGC/Compiler/GenTTI.cpp | 3 +- - IGC/Compiler/GenUpdateCB.cpp | 3 +- - IGC/Compiler/HandleFRemInstructions.cpp | 3 +- - IGC/Compiler/HandleLoadStoreInstructions.cpp | 4 +-- - IGC/Compiler/LegalizationPass.cpp | 28 +++++++-------- - IGC/Compiler/Legalizer/InstPromoter.cpp | 5 +-- - IGC/Compiler/Legalizer/InstScalarizer.cpp | 6 ++-- - .../Legalizer/PeepholeTypeLegalizer.cpp | 6 ++-- - IGC/Compiler/Legalizer/TypeLegalizer.cpp | 3 +- - IGC/Compiler/Legalizer/TypeLegalizer.h | 3 +- - IGC/Compiler/LowPrecisionOptPass.cpp | 2 +- - .../AggregateArguments/AggregateArguments.cpp | 3 +- - .../CorrectlyRoundedDivSqrt.cpp | 3 +- - .../DeviceEnqueueFuncs/TransformBlocks.cpp | 4 +-- - .../Optimizer/OpenCLPasses/KernelArgs.cpp | 3 +- - .../OpenCLPrintf/OpenCLPrintfResolution.cpp | 4 +-- - .../PrivateMemory/PrivateMemoryResolution.cpp | 9 +++-- - .../ReplaceUnsupportedIntrinsics.cpp | 4 +-- - .../OpenCLPasses/WIFuncs/WIFuncResolution.cpp | 2 +- - .../Optimizer/PreCompiledFuncImport.cpp | 4 +-- - IGC/Compiler/Optimizer/Scalarizer.cpp | 32 ++++++++--------- - IGC/Compiler/Optimizer/ValueTracker.cpp | 2 +- - IGC/Compiler/VerificationPass.cpp | 2 +- - IGC/DebugInfo/DebugInfoUtils.hpp | 2 +- - IGC/DebugInfo/DwarfDebug.cpp | 4 +-- - IGC/GenISAIntrinsics/GenIntrinsics.cpp | 6 ++-- - .../BuiltinsFrontendDefinitions.hpp | 2 +- - .../include/llvmWrapper/IR/DerivedTypes.h | 10 ++++++ - .../include/llvmWrapper/Support/TypeSize.h | 6 +++- - .../include/llvmWrapper/Transforms/Scalar.h | 4 +-- - .../llvmWrapper/Transforms/Utils/LoopUtils.h | 8 +++++ - IGC/common/igc_resourceDimTypes.h | 5 +++ - 67 files changed, 269 insertions(+), 201 deletions(-) - -diff --git a/IGC/AdaptorCommon/LegalizeFunctionSignatures.cpp b/IGC/AdaptorCommon/LegalizeFunctionSignatures.cpp -index 767f6b462b..fe0d578b9e 100644 ---- a/IGC/AdaptorCommon/LegalizeFunctionSignatures.cpp -+++ b/IGC/AdaptorCommon/LegalizeFunctionSignatures.cpp -@@ -140,7 +140,7 @@ inline Type* LegalizedIntVectorType(Module& M, const Type* const oldTy) - else if (size <= 64) newSize = 64; - else IGC_ASSERT_MESSAGE(0, "Currently don't support upscaling int sizes > 64 bits"); - -- return IGCLLVM::FixedVectorType::get(IntegerType::get(M.getContext(), newSize), (unsigned)cast(oldTy)->getNumElements()); -+ return IGCLLVM::FixedVectorType::get(IntegerType::get(M.getContext(), newSize), (unsigned)cast(oldTy)->getNumElements()); - } - - void LegalizeFunctionSignatures::FixFunctionSignatures() -diff --git a/IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp b/IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp -index fbdb12333b..c334ee3c50 100644 ---- a/IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp -+++ b/IGC/AdaptorOCL/SPIRV/SPIRVReader.cpp -@@ -1577,7 +1577,7 @@ void SPIRVToLLVMDbgTran::transDbgInfo(SPIRVValue *SV, Value *V) { - Line->getColumn(), scope, iat); - - if(scope && !isa(scope)) -- I->setDebugLoc(DebugLoc::get(Line->getLine(), Line->getColumn(), -+ I->setDebugLoc(DILocation::get(scope->getContext(), Line->getLine(), Line->getColumn(), - scope, iat)); - } - } -@@ -1929,7 +1929,7 @@ SPIRVToLLVM::transType(SPIRVType *T) { - auto name = isSubgroupAvcINTELTypeOpCode(OC) ? - OCLSubgroupINTELTypeOpCodeMap::rmap(OC) : - BuiltinOpaqueGenericTypeOpCodeMap::rmap(OC); -- auto *pST = M->getTypeByName(name); -+ auto *pST = IGCLLVM::getTypeByName(M, name); - pST = pST ? pST : StructType::create(*Context, name); - - return mapType(T, PointerType::get(pST, getOCLOpaqueTypeAddrSpace(OC))); -@@ -2407,7 +2407,7 @@ Value *SPIRVToLLVM::promoteBool(Value *pVal, BasicBlock *BB) - - auto *PromoType = isa(pVal->getType()) ? - cast(IGCLLVM::FixedVectorType::get(Type::getInt8Ty(pVal->getContext()), -- (unsigned)cast(pVal->getType())->getNumElements())) : -+ (unsigned)cast(pVal->getType())->getNumElements())) : - Type::getInt8Ty(pVal->getContext()); - - if (auto *C = dyn_cast(pVal)) -@@ -2449,7 +2449,7 @@ Value *SPIRVToLLVM::truncBool(Value *pVal, BasicBlock *BB) - - auto *TruncType = isa(pVal->getType()) ? - cast(IGCLLVM::FixedVectorType::get(Type::getInt1Ty(pVal->getContext()), -- (unsigned)cast(pVal->getType())->getNumElements())) : -+ (unsigned)cast(pVal->getType())->getNumElements())) : - Type::getInt1Ty(pVal->getContext()); - - if (auto *C = dyn_cast(pVal)) -@@ -2495,7 +2495,7 @@ Type *SPIRVToLLVM::truncBoolType(SPIRVType *SPVType, Type *LLType) - - return isa(LLType) ? - cast(IGCLLVM::FixedVectorType::get(Type::getInt1Ty(LLType->getContext()), -- (unsigned)cast(LLType)->getNumElements())) : -+ (unsigned)cast(LLType)->getNumElements())) : - Type::getInt1Ty(LLType->getContext()); - } - -@@ -2652,7 +2652,7 @@ SPIRVToLLVM::transValueWithoutDecoration(SPIRVValue *BV, Function *F, - { - if(CV[i]->getType()->isVectorTy()) - { -- for(uint32_t j = 0; j < cast(CV[i]->getType())->getNumElements(); j++) -+ for(uint32_t j = 0; j < cast(CV[i]->getType())->getNumElements(); j++) - { - Value *v = ExtractElementInst::Create( CV[i],ConstantInt::get( *Context,APInt( 32,j ) ),BCC->getName(),BB ); - elm1 = CreateCompositeConstruct( elm1,v,pos++ ); -@@ -3346,7 +3346,7 @@ SPIRVToLLVM::transValueWithoutDecoration(SPIRVValue *BV, Function *F, - auto Vector = transValue(BI->getOperand(0), F, BB); - auto Scalar = transValue(BI->getOperand(1), F, BB); - -- auto VecType = cast(Vector->getType()); -+ auto VecType = cast(Vector->getType()); - auto Undef = UndefValue::get(VecType); - - auto ScalarVec = InsertElementInst::Create(Undef, Scalar, -@@ -3371,7 +3371,7 @@ SPIRVToLLVM::transValueWithoutDecoration(SPIRVValue *BV, Function *F, - a->getType()->getScalarSizeInBits() - 1); - auto *ShiftOp = isa(a->getType()) ? - ConstantVector::getSplat( -- IGCLLVM::getElementCount((unsigned)cast(a->getType())->getNumElements()), ShiftAmt) : -+ IGCLLVM::getElementCount((unsigned)cast(a->getType())->getNumElements()), ShiftAmt) : - ShiftAmt; - - // OCL C: -@@ -3715,15 +3715,15 @@ SPIRVToLLVM::transSPIRVBuiltinFromInst(SPIRVInstruction *BI, BasicBlock *BB) { - "", - BB); - } -- else if (cast(coordType)->getNumElements() != 4) -+ else if (cast(coordType)->getNumElements() != 4) - { - Value *undef = UndefValue::get(coordType); - - SmallVector shuffleIdx; -- for (unsigned i = 0; i < cast(coordType)->getNumElements(); i++) -+ for (unsigned i = 0; i < cast(coordType)->getNumElements(); i++) - shuffleIdx.push_back(ConstantInt::get(Type::getInt32Ty(*Context), i)); - -- for (uint64_t i = (unsigned)cast(coordType)->getNumElements(); i < 4; i++) -+ for (uint64_t i = (unsigned)cast(coordType)->getNumElements(); i < 4; i++) - shuffleIdx.push_back(ConstantInt::get(Type::getInt32Ty(*Context), 0)); - - imageCoordinateWiden = new ShuffleVectorInst( -diff --git a/IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp b/IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp -index 57821556d3..f4f0dee5af 100644 ---- a/IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp -+++ b/IGC/AdaptorOCL/SPIRV/SPIRVUtil.cpp -@@ -93,7 +93,7 @@ saveLLVMModule(Module *M, const std::string &OutputFile) { - PointerType* - getOrCreateOpaquePtrType(Module *M, const std::string &Name, - unsigned AddrSpace) { -- auto OpaqueType = M->getTypeByName(Name); -+ auto OpaqueType = IGCLLVM::getTypeByName(M, Name); - if (!OpaqueType) - OpaqueType = StructType::create(M->getContext(), Name); - return PointerType::get(OpaqueType, AddrSpace); -@@ -159,7 +159,7 @@ std::string recursive_mangle(const Type* pType) - return "i" + utostr(pType->getIntegerBitWidth()); - case IGCLLVM::VectorTyID: - { -- unsigned vecLen = (unsigned)cast(pType)->getNumElements(); -+ unsigned vecLen = (unsigned)cast(pType)->getNumElements(); - Type* pEltType = cast(pType)->getElementType(); - return "v" + utostr(vecLen) + recursive_mangle(pEltType); - } -diff --git a/IGC/Compiler/CISACodeGen/AdvMemOpt.cpp b/IGC/Compiler/CISACodeGen/AdvMemOpt.cpp -index 81acc6ce6a..a612a4739a 100644 ---- a/IGC/Compiler/CISACodeGen/AdvMemOpt.cpp -+++ b/IGC/Compiler/CISACodeGen/AdvMemOpt.cpp -@@ -33,6 +33,7 @@ IN THE SOFTWARE. - #include - #include - #include -+#include "llvmWrapper/Transforms/Utils/LoopUtils.h" - #include "common/LLVMWarningsPop.hpp" - #include "GenISAIntrinsics/GenIntrinsics.h" - #include "Compiler/CISACodeGen/ShaderCodeGen.hpp" -@@ -134,7 +135,7 @@ bool AdvMemOpt::runOnFunction(Function& F) { - for (auto I = LI->begin(), E = LI->end(); I != E; ++I) - for (auto DFI = df_begin(*I), DFE = df_end(*I); DFI != DFE; ++DFI) { - Loop* L = *DFI; -- if (L->empty()) -+ if (IGCLLVM::isInnermost(L)) - InnermostLoops.push_back(L); - } - -diff --git a/IGC/Compiler/CISACodeGen/CShader.cpp b/IGC/Compiler/CISACodeGen/CShader.cpp -index 86b7bfe663..e55a36ef9f 100644 ---- a/IGC/Compiler/CISACodeGen/CShader.cpp -+++ b/IGC/Compiler/CISACodeGen/CShader.cpp -@@ -434,7 +434,7 @@ void CShader::CreateAliasVars() - continue; - - Type* Ty = V->getType(); -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - Type* BTy = VTy ? VTy->getElementType() : Ty; - int nelts = (VTy ? (int)VTy->getNumElements() : 1); - -@@ -984,7 +984,7 @@ bool CShader::InsideDivergentCF(llvm::Instruction* inst) - uint CShader::GetNbVectorElementAndMask(llvm::Value* val, uint32_t& mask) - { - llvm::Type* type = val->getType(); -- uint nbElement = int_cast(cast(type)->getNumElements()); -+ uint nbElement = int_cast(cast(type)->getNumElements()); - mask = 0; - // we don't process vector bigger than 31 elements as the mask has only 32bits - // If we want to support longer vectors we need to extend the mask size -@@ -1189,7 +1189,7 @@ uint32_t CShader::GetExtractMask(llvm::Value* vecVal) - { - return it->second; - } -- const unsigned int numChannels = vecVal->getType()->isVectorTy() ? (unsigned)cast(vecVal->getType())->getNumElements() : 1; -+ const unsigned int numChannels = vecVal->getType()->isVectorTy() ? (unsigned)cast(vecVal->getType())->getNumElements() : 1; - IGC_ASSERT_MESSAGE(numChannels <= 32, "Mask has 32 bits maximally!"); - return (1ULL << numChannels) - 1; - } -@@ -1197,7 +1197,7 @@ uint32_t CShader::GetExtractMask(llvm::Value* vecVal) - uint16_t CShader::AdjustExtractIndex(llvm::Value* vecVal, uint16_t index) - { - uint16_t result = index; -- if (cast(vecVal->getType())->getNumElements() < 32) -+ if (cast(vecVal->getType())->getNumElements() < 32) - { - uint32_t mask = GetExtractMask(vecVal); - for (uint i = 0; i < index; ++i) -@@ -1614,7 +1614,7 @@ auto sizeToSIMDMode = [](uint32_t size) - - CVariable* CShader::GetConstant(llvm::Constant* C, CVariable* dstVar) - { -- llvm::VectorType* VTy = llvm::dyn_cast(C->getType()); -+ IGCLLVM::FixedVectorType* VTy = llvm::dyn_cast(C->getType()); - if (C && VTy) - { // Vector constant - llvm::Type* eTy = VTy->getElementType(); -@@ -1839,7 +1839,7 @@ uint32_t CShader::GetNumElts(llvm::Type* type, bool isUniform) - { - IGC_ASSERT(type->getContainedType(0)->isIntegerTy() || type->getContainedType(0)->isFloatingPointTy()); - -- auto VT = cast(type); -+ auto VT = cast(type); - numElts *= (uint16_t)VT->getNumElements(); - } - return numElts; -diff --git a/IGC/Compiler/CISACodeGen/ConstantCoalescing.cpp b/IGC/Compiler/CISACodeGen/ConstantCoalescing.cpp -index 9a7b61834e..a9b75bc2f5 100644 ---- a/IGC/Compiler/CISACodeGen/ConstantCoalescing.cpp -+++ b/IGC/Compiler/CISACodeGen/ConstantCoalescing.cpp -@@ -224,7 +224,7 @@ static void checkInsertExtractMatch(InsertElementInst* insertInst, Value* base, - - static bool canReplaceInsert(InsertElementInst* insertElt) - { -- VectorType* VTy = cast(insertElt->getOperand(0)->getType()); -+ IGCLLVM::FixedVectorType* VTy = cast(insertElt->getOperand(0)->getType()); - ConstantInt* index = dyn_cast(insertElt->getOperand(2)); - if (!index || index->getZExtValue() != VTy->getNumElements() - 1) - { -@@ -312,7 +312,7 @@ void ConstantCoalescing::VectorizePrep(llvm::BasicBlock* bb) - { - if (load->getType()->isVectorTy() && wiAns->isUniform(load)) - { -- srcNElts = (uint32_t)cast(load->getType())->getNumElements(); -+ srcNElts = (uint32_t)cast(load->getType())->getNumElements(); - DenseMap extractElementMap; - - for (auto iter = load->user_begin(); iter != load->user_end(); iter++) -@@ -396,7 +396,7 @@ bool ConstantCoalescing::isProfitableLoad( - (isa(I) && wiAns->isUniform(I)) ? - 16 : 4; - -- if (cast(LoadTy)->getNumElements() > MaxVectorInput) -+ if (cast(LoadTy)->getNumElements() > MaxVectorInput) - return false; - - MaxEltPlus = CheckVectorElementUses(I); -@@ -1843,7 +1843,7 @@ void ConstantCoalescing::AdjustChunk(BufChunk* cov_chunk, uint start_adj, uint s - WIAnalysis::WIDependancy loadDep = wiAns->whichDepend(cov_chunk->chunkIO); - irBuilder->SetInsertPoint(cov_chunk->chunkIO->getNextNode()); - Value* vec = UndefValue::get(originalType); -- for (unsigned i = 0; i < cast(originalType)->getNumElements(); i++) -+ for (unsigned i = 0; i < cast(originalType)->getNumElements(); i++) - { - Value* channel = irBuilder->CreateExtractElement( - cov_chunk->chunkIO, irBuilder->getInt32(i + start_adj)); -@@ -1907,7 +1907,7 @@ void ConstantCoalescing::MoveExtracts(BufChunk* cov_chunk, Instruction* load, ui - irBuilder->SetInsertPoint(load->getNextNode()); - Type* vecType = load->getType(); - Value* vec = UndefValue::get(vecType); -- for (unsigned i = 0; i < cast(vecType)->getNumElements(); i++) -+ for (unsigned i = 0; i < cast(vecType)->getNumElements(); i++) - { - Value* channel = irBuilder->CreateExtractElement( - cov_chunk->chunkIO, irBuilder->getInt32(i + start_adj)); -@@ -1971,7 +1971,7 @@ void ConstantCoalescing::EnlargeChunk(BufChunk* cov_chunk, uint size_adj) - WIAnalysis::WIDependancy loadDep = wiAns->whichDepend(cov_chunk->chunkIO); - irBuilder->SetInsertPoint(cov_chunk->chunkIO->getNextNode()); - Value* vec = UndefValue::get(originalType); -- for (unsigned i = 0; i < cast(originalType)->getNumElements(); i++) -+ for (unsigned i = 0; i < cast(originalType)->getNumElements(); i++) - { - Value* channel = irBuilder->CreateExtractElement( - cov_chunk->chunkIO, irBuilder->getInt32(i)); -@@ -2408,7 +2408,7 @@ void ConstantCoalescing::ReplaceLoadWithSamplerLoad( - if (dstTy->isVectorTy()) - { - result = UndefValue::get(dstTy); -- for (uint i = 0; i < cast(dstTy)->getNumElements(); i++) -+ for (uint i = 0; i < cast(dstTy)->getNumElements(); i++) - { - Value* tmpData = ExtractFromSamplerData(cast(dstTy)->getElementType(), i); - result = irBuilder->CreateInsertElement(result, tmpData, irBuilder->getInt32(i)); -diff --git a/IGC/Compiler/CISACodeGen/DeSSA.cpp b/IGC/Compiler/CISACodeGen/DeSSA.cpp -index b5d718cc6e..ce89fa53dd 100644 ---- a/IGC/Compiler/CISACodeGen/DeSSA.cpp -+++ b/IGC/Compiler/CISACodeGen/DeSSA.cpp -@@ -85,6 +85,7 @@ IN THE SOFTWARE. - #include "llvmWrapper/IR/Instructions.h" - #include - #include -+#include - #include "common/LLVMWarningsPop.hpp" - #include - #include "Probe/Assertion.h" -@@ -1319,7 +1320,7 @@ int DeSSA::checkInsertElementAlias( - // - // If found, return the actual vector size; - // otherwise, return 0. -- VectorType* VTy = cast(IEI->getType()); -+ IGCLLVM::FixedVectorType* VTy = cast(IEI->getType()); - IGC_ASSERT(nullptr != VTy); - int nelts = (int)VTy->getNumElements(); - AllIEIs.resize(nelts, nullptr); -diff --git a/IGC/Compiler/CISACodeGen/EmitVISAPass.cpp b/IGC/Compiler/CISACodeGen/EmitVISAPass.cpp -index c68692f74e..318d290d81 100644 ---- a/IGC/Compiler/CISACodeGen/EmitVISAPass.cpp -+++ b/IGC/Compiler/CISACodeGen/EmitVISAPass.cpp -@@ -53,6 +53,7 @@ IN THE SOFTWARE. - #include "Compiler/IGCPassSupport.h" - #include "common/LLVMWarningsPush.hpp" - #include "llvmWrapper/IR/Instructions.h" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "llvm/Support/Path.h" - #include "llvm/Support/FormattedStream.h" - #include "llvm/IR/AssemblyAnnotationWriter.h" -@@ -1229,7 +1230,7 @@ bool EmitPass::canRelocatePhiMov( - if (dst != src) - { - int numElt = 1; -- if (VectorType * vTy = dyn_cast(PN->getType())) -+ if (IGCLLVM::FixedVectorType * vTy = dyn_cast(PN->getType())) - { - numElt = int_cast(vTy->getNumElements()); - } -@@ -1366,7 +1367,7 @@ void EmitPass::MovPhiSources(llvm::BasicBlock* aBB) - phiSrcDstList.push_back(phiInfo); - - int numElt = 0; -- if (VectorType * vTy = dyn_cast(PN->getType())) -+ if (IGCLLVM::FixedVectorType * vTy = dyn_cast(PN->getType())) - { - numElt = int_cast(vTy->getNumElements()); - } -@@ -5455,7 +5456,7 @@ void EmitPass::emitLegacySimdBlockWrite(llvm::Instruction* inst, llvm::Value* pt - bool useA64 = isA64Ptr(ptrType, m_currShader->GetContext()); - - Type* Ty = dataPtr->getType(); -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - uint32_t nbElements = VTy ? int_cast(VTy->getNumElements()) : 1; - - uint32_t typeSizeInBytes = Ty->getScalarSizeInBits() / 8; -@@ -5701,7 +5702,7 @@ void EmitPass::emitLegacySimdBlockRead(llvm::Instruction* inst, llvm::Value* ptr - bool useA64 = isA64Ptr(ptrType, m_currShader->GetContext()); - - Type* Ty = inst->getType(); -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - uint32_t nbElements = VTy ? int_cast(VTy->getNumElements()) : 1; - - uint32_t typeSizeInBytes = Ty->getScalarSizeInBits() / 8; -@@ -5993,7 +5994,7 @@ void EmitPass::emitMediaBlockIO(const llvm::GenIntrinsicInst* inst, bool isRead) - }; - - uint nElts = isa(pDataType) ? -- (uint)cast(pDataType)->getNumElements() : -+ (uint)cast(pDataType)->getNumElements() : - 1; - - // Now, do the copies. -@@ -6083,7 +6084,7 @@ void EmitPass::emitSimdMediaBlockRead(llvm::Instruction* inst) - uint32_t nbElements = 1; - if (inst->getType()->isVectorTy()) - { -- nbElements = (uint32_t)cast(inst->getType())->getNumElements(); -+ nbElements = (uint32_t)cast(inst->getType())->getNumElements(); - } - IGC_ASSERT_MESSAGE(nbElements <= 8, "InValid Vector Size"); - -@@ -6327,7 +6328,7 @@ void EmitPass::emitSimdMediaBlockWrite(llvm::Instruction* inst) - uint32_t nbElements = 1; - if (dataPtr->getType()->isVectorTy()) - { -- nbElements = (uint32_t)cast(dataPtr->getType())->getNumElements(); -+ nbElements = (uint32_t)cast(dataPtr->getType())->getNumElements(); - } - IGC_ASSERT_MESSAGE(nbElements <= 8, "InValid Vector Size"); - -@@ -9139,8 +9140,8 @@ void EmitPass::emitBitCast(llvm::BitCastInst* btCst) - { - Type* srcType = btCst->getOperand(0)->getType(); - Type* dstType = btCst->getType(); -- unsigned int numSrcElement = srcType->isVectorTy() ? (unsigned)cast(srcType)->getNumElements() : 1; -- unsigned int numDstElement = dstType->isVectorTy() ? (unsigned)cast(dstType)->getNumElements() : 1; -+ unsigned int numSrcElement = srcType->isVectorTy() ? (unsigned)cast(srcType)->getNumElements() : 1; -+ unsigned int numDstElement = dstType->isVectorTy() ? (unsigned)cast(dstType)->getNumElements() : 1; - - if (srcType->isPointerTy()) - { -@@ -9587,7 +9588,7 @@ void EmitPass::emitLoad3DInner(LdRawIntrinsic* inst, ResourceDescriptor& resourc - { - IGC_ASSERT_MESSAGE(predDefSurface != ESURFACE_STATELESS, "scratch cannot be uniform"); - Type* loadType = inst->getType(); -- uint numElement = loadType->isVectorTy() ? (uint)cast(loadType)->getNumElements() : 1; -+ uint numElement = loadType->isVectorTy() ? (uint)cast(loadType)->getNumElements() : 1; - if (predDefSurface == ESURFACE_SLM) - { - IGC_ASSERT(numElement <= 4); -@@ -10919,7 +10920,7 @@ void EmitPass::emitInsert(llvm::Instruction* inst) - pVecVar = GetSymbol(pVec); - if (pVecVar != pInstVar) - { -- emitVectorCopy(pInstVar, pVecVar, int_cast(dyn_cast(pVecType)->getNumElements())); -+ emitVectorCopy(pInstVar, pVecVar, int_cast(dyn_cast(pVecType)->getNumElements())); - } - } - } -@@ -14753,7 +14754,7 @@ bool EmitPass::isUniformStoreOCL(llvm::StoreInst* SI) - - Value* storeVal = SI->getValueOperand(); - Type* Ty = storeVal->getType(); -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - uint32_t elts = VTy ? int_cast(VTy->getNumElements()) : 1; - Type* eltTy = VTy ? VTy->getElementType() : Ty; - -@@ -14783,7 +14784,7 @@ void EmitPass::emitVectorBitCast(llvm::BitCastInst* BCI) - if (srcTy->isVectorTy()) - { - srcEltTy = cast(srcTy)->getElementType(); -- srcNElts = (uint32_t)cast(srcTy)->getNumElements(); -+ srcNElts = (uint32_t)cast(srcTy)->getNumElements(); - } - else - { -@@ -14793,7 +14794,7 @@ void EmitPass::emitVectorBitCast(llvm::BitCastInst* BCI) - if (dstTy->isVectorTy()) - { - dstEltTy = cast(dstTy)->getElementType(); -- dstNElts = (uint32_t)cast(dstTy)->getNumElements(); -+ dstNElts = (uint32_t)cast(dstTy)->getNumElements(); - } - else - { -@@ -15372,7 +15373,7 @@ void EmitPass::emitVectorLoad(LoadInst* inst, Value* offset, ConstantInt* immOff - } - - Type* Ty = inst->getType(); -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - Type* eltTy = VTy ? VTy->getElementType() : Ty; - uint32_t eltBytes = GetScalarTypeSizeInRegister(eltTy); - IGC_ASSERT_MESSAGE((eltBytes == 1) || (eltBytes == 2) || (eltBytes == 4) || (eltBytes == 8), -@@ -15824,7 +15825,7 @@ void EmitPass::emitVectorStore(StoreInst* inst, Value* offset, ConstantInt* immO - - Value* storedVal = inst->getValueOperand(); - Type* Ty = storedVal->getType(); -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - Type* eltTy = VTy ? VTy->getElementType() : Ty; - uint32_t eltBytes = GetScalarTypeSizeInRegister(eltTy); - -@@ -16628,7 +16629,7 @@ void EmitPass::emitCopyAll(CVariable* Dst, CVariable* Src, llvm::Type* Ty) - } - else if (Ty->isVectorTy()) - { -- unsigned NElts = (unsigned)cast(Ty)->getNumElements(); -+ unsigned NElts = (unsigned)cast(Ty)->getNumElements(); - emitVectorCopy(Dst, Src, NElts); - } - else -diff --git a/IGC/Compiler/CISACodeGen/Emu64OpsPass.cpp b/IGC/Compiler/CISACodeGen/Emu64OpsPass.cpp -index 28248f3062..767b477af1 100644 ---- a/IGC/Compiler/CISACodeGen/Emu64OpsPass.cpp -+++ b/IGC/Compiler/CISACodeGen/Emu64OpsPass.cpp -@@ -1961,7 +1961,7 @@ bool InstExpander::visitExtractElement(ExtractElementInst& EEI) { - // later. - - Value* V = EEI.getVectorOperand(); -- unsigned NumElts = (unsigned)cast(V->getType())->getNumElements(); -+ unsigned NumElts = (unsigned)cast(V->getType())->getNumElements(); - V = IRB->CreateBitCast(V, Emu->getV2Int32Ty(NumElts)); - // Re-calculate indices to Lo and Hi parts. - Value* Idx = EEI.getIndexOperand(); -@@ -1998,7 +1998,7 @@ bool InstExpander::visitInsertElement(InsertElementInst& IEI) { - - // Create the emulated vector. - Value* NewVal = IEI.getOperand(0); -- unsigned NumElts = (unsigned)cast(NewVal->getType())->getNumElements(); -+ unsigned NumElts = (unsigned)cast(NewVal->getType())->getNumElements(); - NewVal = IRB->CreateBitCast(NewVal, Emu->getV2Int32Ty(NumElts)); - // Re-calculate indices to Lo and Hi parts. - Value* Idx = IEI.getOperand(2); -diff --git a/IGC/Compiler/CISACodeGen/GenIRLowering.cpp b/IGC/Compiler/CISACodeGen/GenIRLowering.cpp -index c74a2ac6ef..78e8a4aa30 100644 ---- a/IGC/Compiler/CISACodeGen/GenIRLowering.cpp -+++ b/IGC/Compiler/CISACodeGen/GenIRLowering.cpp -@@ -453,7 +453,7 @@ Value* GEPLowering::getSExtOrTrunc(Value* Val, Type* NewTy) const { - - IGC_ASSERT_MESSAGE(OldTy->isIntOrIntVectorTy(), "Index should be Integer or vector of Integer!"); - -- if (auto OldVecTy = dyn_cast(OldTy)) { -+ if (auto OldVecTy = dyn_cast(OldTy)) { - OldWidth = (unsigned)OldVecTy->getNumElements() * OldVecTy->getElementType()->getIntegerBitWidth(); - NewWidth = (unsigned)OldVecTy->getNumElements() * NewTy->getIntegerBitWidth(); - } -@@ -805,7 +805,7 @@ bool GEPLowering::lowerGetElementPtrInst(GetElementPtrInst* GEP) const - } - else - { -- if (auto NewIdxVT = dyn_cast(NewIdx->getType())) { -+ if (auto NewIdxVT = dyn_cast(NewIdx->getType())) { - Value* result = llvm::UndefValue::get(FixedVectorType::get(PtrMathTy, (unsigned)NewIdxVT->getNumElements())); - for (uint32_t j = 0; j < (uint32_t)NewIdxVT->getNumElements(); j++) { - result = Builder->CreateInsertElement(result, PointerValue, Builder->getInt32(j)); -diff --git a/IGC/Compiler/CISACodeGen/GenSimplification.cpp b/IGC/Compiler/CISACodeGen/GenSimplification.cpp -index 8c38f2292e..f432061e64 100644 ---- a/IGC/Compiler/CISACodeGen/GenSimplification.cpp -+++ b/IGC/Compiler/CISACodeGen/GenSimplification.cpp -@@ -35,6 +35,7 @@ IN THE SOFTWARE. - #include - #include - #include -+#include - #include "common/LLVMWarningsPop.hpp" - #include "Probe/Assertion.h" - -@@ -164,7 +165,7 @@ bool GenSimplification::simplifyVectorPHINodeCase2(PHINode& PN) const { - - Type* Ty = PN.getType(); - Type* EltTy = Ty->getScalarType(); -- unsigned NumElts = (unsigned)cast(Ty)->getNumElements(); -+ unsigned NumElts = (unsigned)cast(Ty)->getNumElements(); - - SmallVector Lanes; - SmallVector, 4> Values; -@@ -238,7 +239,7 @@ void GenSimplification::visitPHINode(PHINode& PN) { - void GenSimplification::visitExtractElement(ExtractElementInst& EEI) { - // Skip non-2-element vector. - Value* Vec = EEI.getVectorOperand(); -- VectorType* VTy = cast(Vec->getType()); -+ IGCLLVM::FixedVectorType* VTy = cast(Vec->getType()); - if (VTy->getNumElements() != 2) - return; - -diff --git a/IGC/Compiler/CISACodeGen/GeometryShaderLowering.cpp b/IGC/Compiler/CISACodeGen/GeometryShaderLowering.cpp -index a5d6594820..32c4759fdb 100644 ---- a/IGC/Compiler/CISACodeGen/GeometryShaderLowering.cpp -+++ b/IGC/Compiler/CISACodeGen/GeometryShaderLowering.cpp -@@ -33,6 +33,7 @@ IN THE SOFTWARE. - #include - #include - #include -+#include - #include "common/LLVMWarningsPop.hpp" - #include "Compiler/InitializePasses.h" - #include "Probe/Assertion.h" -@@ -507,7 +508,7 @@ void GeometryShaderLowering::AddURBRead( - { - Value* vec = UndefValue::get(inst->getType()); - IRBuilder<> builder(inst); -- for (unsigned int i = 0; i < cast(inst->getType())->getNumElements(); i++) -+ for (unsigned int i = 0; i < cast(inst->getType())->getNumElements(); i++) - { - Value* vecElement = builder.CreateExtractElement(urbRead, builder.getInt32(i)); - vec = builder.CreateInsertElement(vec, vecElement, builder.getInt32(i)); -diff --git a/IGC/Compiler/CISACodeGen/LdShrink.cpp b/IGC/Compiler/CISACodeGen/LdShrink.cpp -index d89fbd0e82..2df06df2fd 100644 ---- a/IGC/Compiler/CISACodeGen/LdShrink.cpp -+++ b/IGC/Compiler/CISACodeGen/LdShrink.cpp -@@ -30,6 +30,7 @@ IN THE SOFTWARE. - #include - #include - #include -+#include - #include "common/LLVMWarningsPop.hpp" - #include "Compiler/CISACodeGen/ShaderCodeGen.hpp" - #include "Compiler/IGCPassSupport.h" -@@ -79,7 +80,7 @@ IGC_INITIALIZE_PASS_BEGIN(LdShrink, PASS_FLAG, PASS_DESC, PASS_CFG_ONLY, PASS_AN - IGC_INITIALIZE_PASS_END(LdShrink, PASS_FLAG, PASS_DESC, PASS_CFG_ONLY, PASS_ANALYSIS) - - unsigned LdShrink::getExtractIndexMask(LoadInst* LI) const { -- VectorType* VTy = dyn_cast(LI->getType()); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(LI->getType()); - // Skip non-vector loads. - if (!VTy) - return 0; -@@ -91,9 +92,12 @@ unsigned LdShrink::getExtractIndexMask(LoadInst* LI) const { - Type* Ty = VTy->getScalarType(); - // Skip non-BYTE addressable data types. So far, check integer types - // only. -- if (IntegerType * ITy = dyn_cast(Ty)) -- if (!ITy->isPowerOf2ByteWidth()) -+ if (IntegerType * ITy = dyn_cast(Ty)) { -+ // Unroll isPowerOf2ByteWidth, it was removed in LLVM 12. -+ unsigned BitWidth = ITy->getBitWidth(); -+ if (!((BitWidth > 7) && isPowerOf2_32(BitWidth))) - return 0; -+ } - - unsigned Mask = 0; // Maxmimally 32 elements. - -diff --git a/IGC/Compiler/CISACodeGen/LowerGEPForPrivMem.cpp b/IGC/Compiler/CISACodeGen/LowerGEPForPrivMem.cpp -index 43febc955a..d9c2fb3ad8 100644 ---- a/IGC/Compiler/CISACodeGen/LowerGEPForPrivMem.cpp -+++ b/IGC/Compiler/CISACodeGen/LowerGEPForPrivMem.cpp -@@ -617,7 +617,7 @@ void TransposeHelper::handleGEPInst( - } - else - { -- arr_sz = (unsigned)cast(T)->getNumElements(); -+ arr_sz = (unsigned)cast(T)->getNumElements(); - } - T = cast(T)->getElementType(); - } -@@ -639,7 +639,7 @@ void TransposeHelper::handleGEPInst( - } - else if (T->isVectorTy()) - { -- arr_sz = (unsigned)cast(T)->getNumElements(); -+ arr_sz = (unsigned)cast(T)->getNumElements(); - T = cast(T)->getElementType(); - } - else -@@ -699,7 +699,7 @@ void TransposeHelperPromote::handleLoadInst( - IRBuilder<> IRB(pLoad); - IGC_ASSERT(nullptr != pLoad->getType()); - unsigned N = pLoad->getType()->isVectorTy() -- ? (unsigned)cast(pLoad->getType())->getNumElements() -+ ? (unsigned)cast(pLoad->getType())->getNumElements() - : 1; - Value* Val = loadEltsFromVecAlloca(N, pVecAlloca, pScalarizedIdx, IRB, pLoad->getType()->getScalarType()); - pLoad->replaceAllUsesWith(Val); -@@ -731,7 +731,7 @@ void TransposeHelperPromote::handleStoreInst( - // %v1 = extractelement <2 x float> %v, i32 1 - // %w1 = insertelement <32 x float> %w0, float %v1, i32 %idx+1 - // store <32 x float> %w1, <32 x float>* %ptr1 -- for (unsigned i = 0, e = (unsigned)cast(pStoreVal->getType())->getNumElements(); i < e; ++i) -+ for (unsigned i = 0, e = (unsigned)cast(pStoreVal->getType())->getNumElements(); i < e; ++i) - { - Value* VectorIdx = ConstantInt::get(pScalarizedIdx->getType(), i); - auto Val = IRB.CreateExtractElement(pStoreVal, VectorIdx); -diff --git a/IGC/Compiler/CISACodeGen/MemOpt.cpp b/IGC/Compiler/CISACodeGen/MemOpt.cpp -index 027734c105..debb7e22ba 100644 ---- a/IGC/Compiler/CISACodeGen/MemOpt.cpp -+++ b/IGC/Compiler/CISACodeGen/MemOpt.cpp -@@ -125,7 +125,7 @@ namespace { - MemRefListTy& MemRefs, TrivialMemRefListTy& ToOpt); - - unsigned getNumElements(Type* Ty) const { -- return Ty->isVectorTy() ? (unsigned)cast(Ty)->getNumElements() : 1; -+ return Ty->isVectorTy() ? (unsigned)cast(Ty)->getNumElements() : 1; - } - - MemoryLocation getLocation(Instruction* I) const { -@@ -798,7 +798,7 @@ bool MemOpt::mergeLoad(LoadInst* LeadingLoad, - Pos = unsigned((std::get<1>(I) - FirstOffset) / LdScalarSize); - - if (Ty->isVectorTy()) { -- if (Pos + cast(Ty)->getNumElements() > NumElts) { -+ if (Pos + cast(Ty)->getNumElements() > NumElts) { - // This implies we're trying to extract an element from our new load - // with an index > the size of the new load. If this happens, - // we'll generate correct code if it does since we don't remove the -@@ -806,7 +806,7 @@ bool MemOpt::mergeLoad(LoadInst* LeadingLoad, - continue; - } - Value* Val = UndefValue::get(Ty); -- for (unsigned i = 0, e = (unsigned)cast(Ty)->getNumElements(); i != e; ++i) { -+ for (unsigned i = 0, e = (unsigned)cast(Ty)->getNumElements(); i != e; ++i) { - Value* Ex = Builder.CreateExtractElement(NewLoad, Builder.getInt32(Pos + i)); - Ex = createBitOrPointerCast(Ex, ScalarTy, Builder); - Val = Builder.CreateInsertElement(Val, Ex, Builder.getInt32(i)); -@@ -1084,7 +1084,7 @@ bool MemOpt::mergeStore(StoreInst* LeadingStore, - IGC_ASSERT(hasSameSize(ScalarTy, LeadingStoreScalarType)); - - if (Ty->isVectorTy()) { -- for (unsigned i = 0, e = (unsigned)cast(Ty)->getNumElements(); i != e; ++i) { -+ for (unsigned i = 0, e = (unsigned)cast(Ty)->getNumElements(); i != e; ++i) { - Value* Ex = Builder.CreateExtractElement(Val, Builder.getInt32(i)); - Ex = createBitOrPointerCast(Ex, LeadingStoreScalarType, Builder); - NewStoreVal = Builder.CreateInsertElement(NewStoreVal, Ex, -diff --git a/IGC/Compiler/CISACodeGen/MemOpt2.cpp b/IGC/Compiler/CISACodeGen/MemOpt2.cpp -index 4b2628d2b1..20115c73a3 100644 ---- a/IGC/Compiler/CISACodeGen/MemOpt2.cpp -+++ b/IGC/Compiler/CISACodeGen/MemOpt2.cpp -@@ -32,6 +32,7 @@ IN THE SOFTWARE. - #include - #include - #include -+#include - #include "common/LLVMWarningsPop.hpp" - #include "GenISAIntrinsics/GenIntrinsics.h" - -@@ -124,7 +125,7 @@ namespace { - if (!Ty->isSingleValueType()) - return UINT_MAX; - // Simply return 1 so far for scalar types. -- VectorType* VecTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VecTy = dyn_cast(Ty); - if (!VecTy) - return 1; - // Check how that vector is used. -@@ -153,7 +154,7 @@ namespace { - return UINT_MAX; - unsigned EltByte = (Ty->getScalarSizeInBits() + 7) / 8; - // Simply return 1 so far for scalar types. -- VectorType* VecTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VecTy = dyn_cast(Ty); - if (!VecTy) - return EltByte; - // Check how that vector is used. -diff --git a/IGC/Compiler/CISACodeGen/OpenCLKernelCodeGen.cpp b/IGC/Compiler/CISACodeGen/OpenCLKernelCodeGen.cpp -index 8d6d7801db..349235a812 100644 ---- a/IGC/Compiler/CISACodeGen/OpenCLKernelCodeGen.cpp -+++ b/IGC/Compiler/CISACodeGen/OpenCLKernelCodeGen.cpp -@@ -425,7 +425,7 @@ namespace IGC - unsigned int numElements = 1; - if (baseType->isVectorTy()) - { -- numElements = (unsigned)cast(baseType)->getNumElements(); -+ numElements = (unsigned)cast(baseType)->getNumElements(); - baseType = cast(baseType)->getElementType(); - } - -diff --git a/IGC/Compiler/CISACodeGen/PatternMatchPass.cpp b/IGC/Compiler/CISACodeGen/PatternMatchPass.cpp -index 4397af09c7..484e8d5c43 100644 ---- a/IGC/Compiler/CISACodeGen/PatternMatchPass.cpp -+++ b/IGC/Compiler/CISACodeGen/PatternMatchPass.cpp -@@ -2959,8 +2959,8 @@ namespace IGC - llvm::Type* srcTy = bTInst->getOperand(0)->getType(); - llvm::Type* dstTy = bTInst->getType(); - -- srcNElts = (srcTy->isVectorTy()) ? (uint32_t)cast(srcTy)->getNumElements() : 1; -- dstNElts = (dstTy->isVectorTy()) ? (uint32_t)cast(dstTy)->getNumElements() : 1; -+ srcNElts = (srcTy->isVectorTy()) ? (uint32_t)cast(srcTy)->getNumElements() : 1; -+ dstNElts = (dstTy->isVectorTy()) ? (uint32_t)cast(dstTy)->getNumElements() : 1; - - if (srcNElts < dstNElts && srcTy->getScalarSizeInBits() < 64) - { -diff --git a/IGC/Compiler/CISACodeGen/PushAnalysis.cpp b/IGC/Compiler/CISACodeGen/PushAnalysis.cpp -index 410fc99c0e..e61db1ffae 100644 ---- a/IGC/Compiler/CISACodeGen/PushAnalysis.cpp -+++ b/IGC/Compiler/CISACodeGen/PushAnalysis.cpp -@@ -1003,7 +1003,7 @@ namespace IGC - - if (pTypeToPush->isVectorTy()) - { -- num_elms = (unsigned)cast(pTypeToPush)->getNumElements(); -+ num_elms = (unsigned)cast(pTypeToPush)->getNumElements(); - pTypeToPush = cast(pTypeToPush)->getElementType(); - llvm::Type* pVecTy = IGCLLVM::FixedVectorType::get(pTypeToPush, num_elms); - pReplacedInst = llvm::UndefValue::get(pVecTy); -@@ -1194,7 +1194,7 @@ namespace IGC - } - - unsigned num_elms = -- inst->getType()->isVectorTy() ? (unsigned)cast(inst->getType())->getNumElements() : 1; -+ inst->getType()->isVectorTy() ? (unsigned)cast(inst->getType())->getNumElements() : 1; - llvm::Type* pTypeToPush = inst->getType(); - llvm::Value* replaceVector = nullptr; - unsigned int numberChannelReplaced = 0; -diff --git a/IGC/Compiler/CISACodeGen/RegisterEstimator.cpp b/IGC/Compiler/CISACodeGen/RegisterEstimator.cpp -index 95b937e735..1c6544a489 100644 ---- a/IGC/Compiler/CISACodeGen/RegisterEstimator.cpp -+++ b/IGC/Compiler/CISACodeGen/RegisterEstimator.cpp -@@ -41,6 +41,7 @@ IN THE SOFTWARE. - #include - #include - #include -+#include - #include "common/LLVMWarningsPop.hpp" - #include "Probe/Assertion.h" - -@@ -146,7 +147,7 @@ RegUse RegisterEstimator::estimateNumOfRegs(Value* V) const - Type* Ty = V->getType(); - if (!Ty->isVoidTy()) - { -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - Type* eltTy = VTy ? VTy->getElementType() : Ty; - uint32_t nelts = VTy ? int_cast(VTy->getNumElements()) : 1; - uint32_t eltBits = (uint32_t)m_DL->getTypeSizeInBits(eltTy); -diff --git a/IGC/Compiler/CISACodeGen/RegisterPressureEstimate.hpp b/IGC/Compiler/CISACodeGen/RegisterPressureEstimate.hpp -index beac138d5a..ceeafa48fc 100644 ---- a/IGC/Compiler/CISACodeGen/RegisterPressureEstimate.hpp -+++ b/IGC/Compiler/CISACodeGen/RegisterPressureEstimate.hpp -@@ -42,6 +42,7 @@ See LRCENSE.TXT for details. - #include "llvm/Pass.h" - #include - #include "llvm/Analysis/LoopInfo.h" -+#include - #include "common/LLVMWarningsPop.hpp" - #include "Compiler/IGCPassSupport.h" - #include "Compiler/CISACodeGen/WIAnalysis.hpp" -@@ -240,7 +241,7 @@ namespace IGC - auto Ty = V->getType(); - if (Ty->isVoidTy()) - return 0; -- auto VTy = llvm::dyn_cast(Ty); -+ auto VTy = llvm::dyn_cast(Ty); - auto eltTy = VTy ? VTy->getElementType() : Ty; - uint32_t nelts = VTy ? int_cast(VTy->getNumElements()) : 1; - uint32_t eltBits = (uint32_t)m_DL->getTypeSizeInBits(eltTy); -diff --git a/IGC/Compiler/CISACodeGen/SLMConstProp.cpp b/IGC/Compiler/CISACodeGen/SLMConstProp.cpp -index 962083f453..26a7b8be21 100644 ---- a/IGC/Compiler/CISACodeGen/SLMConstProp.cpp -+++ b/IGC/Compiler/CISACodeGen/SLMConstProp.cpp -@@ -39,6 +39,7 @@ IN THE SOFTWARE. - #include - #include - #include -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "common/LLVMWarningsPop.hpp" - #include - #include "Probe/Assertion.h" -@@ -629,7 +630,7 @@ bool SLMConstProp::isEqual(Constant* C0, Constant* C1) - - bool SLMConstProp::isFloatType(Type* Ty) - { -- if (VectorType * vTy = dyn_cast(Ty)) -+ if (IGCLLVM::FixedVectorType * vTy = dyn_cast(Ty)) - { - if (vTy->getNumElements() > 1) - { -diff --git a/IGC/Compiler/CISACodeGen/ScalarizerCodeGen.cpp b/IGC/Compiler/CISACodeGen/ScalarizerCodeGen.cpp -index ce81641691..32ab79c1dd 100644 ---- a/IGC/Compiler/CISACodeGen/ScalarizerCodeGen.cpp -+++ b/IGC/Compiler/CISACodeGen/ScalarizerCodeGen.cpp -@@ -66,7 +66,7 @@ void ScalarizerCodeGen::visitBinaryOperator(llvm::BinaryOperator& I) - { - bool isNewTypeVector = false; - -- VectorType* instType = cast(I.getType()); -+ IGCLLVM::FixedVectorType* instType = cast(I.getType()); - unsigned numElements = int_cast(instType->getNumElements()); - unsigned scalarSize = instType->getScalarSizeInBits(); - unsigned newScalarBits = numElements * scalarSize; -@@ -111,7 +111,7 @@ void ScalarizerCodeGen::visitBinaryOperator(llvm::BinaryOperator& I) - } - else - { -- VectorType* newVecType = cast(newType); -+ IGCLLVM::FixedVectorType* newVecType = cast(newType); - unsigned newVecTypeNumEle = int_cast(newVecType->getNumElements()); - Value* ieLogicOp = UndefValue::get(newType); - for (unsigned i = 0; i < newVecTypeNumEle; i++) -diff --git a/IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp b/IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp -index 563d95173c..3b974da405 100644 ---- a/IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp -+++ b/IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp -@@ -638,12 +638,17 @@ static void AddLegalizationPasses(CodeGenContext& ctx, IGCPassManager& mpm, PSSi - { - mpm.add(createPruneUnusedArgumentsPass()); - -+#if LLVM_VERSION_MAJOR >= 12 -+ mpm.add(createIPSCCPPass()); -+#else - if (IGC_GET_FLAG_VALUE(FunctionControl) == FLAG_FCALL_DEFAULT) - { - // Don't run IPConstantProp when debugging function calls, to avoid folding function arg/ret constants - mpm.add(createIPConstantPropagationPass()); - } - mpm.add(createConstantPropagationPass()); -+#endif -+ - mpm.add(createDeadCodeEliminationPass()); - mpm.add(createCFGSimplificationPass()); - } -@@ -1541,8 +1546,13 @@ void OptimizeIR(CodeGenContext* const pContext) - // possible which potentially allows late stage code sinking of - // those calls by the instruction combiner. - mpm.add(createPostOrderFunctionAttrsLegacyPass()); -+ -+#if LLVM_VERSION_MAJOR >= 12 -+ mpm.add(createIPSCCPPass()); -+#else - mpm.add(createConstantPropagationPass()); - mpm.add(createIPConstantPropagationPass()); -+#endif - } - - // enable this only when Pooled EU is not supported -diff --git a/IGC/Compiler/CISACodeGen/Simd32Profitability.cpp b/IGC/Compiler/CISACodeGen/Simd32Profitability.cpp -index 4760b3e792..3e22f3aa68 100644 ---- a/IGC/Compiler/CISACodeGen/Simd32Profitability.cpp -+++ b/IGC/Compiler/CISACodeGen/Simd32Profitability.cpp -@@ -28,8 +28,10 @@ IN THE SOFTWARE. - #include "Compiler/CISACodeGen/Platform.hpp" - #include "common/LLVMWarningsPush.hpp" - #include -+#include - #include - #include -+#include - #include "common/LLVMWarningsPop.hpp" - #include "GenISAIntrinsics/GenIntrinsics.h" - #include "GenISAIntrinsics/GenIntrinsicInst.h" -@@ -577,7 +579,7 @@ static bool isPayloadHeader(Value* V) { - Argument* Arg = dyn_cast(V); - if (!Arg || !Arg->hasName()) - return false; -- VectorType* VTy = dyn_cast(Arg->getType()); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Arg->getType()); - if (!VTy || VTy->getNumElements() != 8 || - !VTy->getElementType()->isIntegerTy(32)) - return false; -@@ -588,7 +590,7 @@ static bool isR0(Value* V) { - Argument* Arg = dyn_cast(V); - if (!Arg || !Arg->hasName()) - return false; -- VectorType* VTy = dyn_cast(Arg->getType()); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Arg->getType()); - if (!VTy || VTy->getNumElements() != 8 || - !VTy->getElementType()->isIntegerTy(32)) - return false; -@@ -599,7 +601,7 @@ static bool isEnqueuedLocalSize(Value* V) { - Argument* Arg = dyn_cast(V); - if (!Arg || !Arg->hasName()) - return false; -- VectorType* VTy = dyn_cast(Arg->getType()); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Arg->getType()); - if (!VTy || VTy->getNumElements() != 3 || - !VTy->getElementType()->isIntegerTy(32)) - return false; -@@ -998,7 +1000,7 @@ static bool hasLongStridedLdStInLoop(Function* F, LoopInfo* LI, WIAnalysis* WI) - // Collect innermost simple loop. - for (auto I = LI->begin(), E = LI->end(); I != E; ++I) { - auto L = *I; -- if (!L->empty()) -+ if (!IGCLLVM::isInnermost(L)) - continue; - if (L->getNumBlocks() != 2) - continue; -diff --git a/IGC/Compiler/CISACodeGen/SimplifyConstant.cpp b/IGC/Compiler/CISACodeGen/SimplifyConstant.cpp -index 73f472b5b9..0069c4b1bb 100644 ---- a/IGC/Compiler/CISACodeGen/SimplifyConstant.cpp -+++ b/IGC/Compiler/CISACodeGen/SimplifyConstant.cpp -@@ -352,7 +352,7 @@ static unsigned getLegalVectorSize(unsigned N) { - // Check vector size. We may demote the data type if all values can fit into - // smaller data type. - // --static bool checkSize(GlobalVariable* GV, VectorType*& DataType, -+static bool checkSize(GlobalVariable* GV, IGCLLVM::FixedVectorType*& DataType, - bool& IsSigned) { - Constant* Init = GV->getInitializer(); - IGC_ASSERT(isa(Init->getType())); -@@ -360,7 +360,7 @@ static bool checkSize(GlobalVariable* GV, VectorType*& DataType, - unsigned N = (unsigned)ArrayTy->getArrayNumElements(); - Type* BaseTy = ArrayTy->getArrayElementType(); - unsigned VectorSize = 1; -- if (auto VT = dyn_cast(BaseTy)) { -+ if (auto VT = dyn_cast(BaseTy)) { - BaseTy = VT->getElementType(); - VectorSize = int_cast(VT->getNumElements()); - N *= VectorSize; -@@ -483,7 +483,7 @@ static Constant* getConstantVal(Type* VEltTy, Constant* V, bool IsSigned) { - return ConstantInt::get(VEltTy, IVal, IsSigned); - } - --static void promote(GlobalVariable* GV, VectorType* AllocaType, bool IsSigned, -+static void promote(GlobalVariable* GV, IGCLLVM::FixedVectorType* AllocaType, bool IsSigned, - Function* F) { - // Build the constant vector from constant array. - unsigned VS = int_cast(AllocaType->getNumElements()); -@@ -507,7 +507,7 @@ static void promote(GlobalVariable* GV, VectorType* AllocaType, bool IsSigned, - Constant* const Elt = CA->getAggregateElement(i); - IGC_ASSERT_MESSAGE(nullptr != Elt, "Null AggregateElement"); - if (auto EltTy = dyn_cast(Elt->getType())) { -- unsigned VectorSize = (unsigned)cast(EltTy)->getNumElements(); -+ unsigned VectorSize = (unsigned)cast(EltTy)->getNumElements(); - for (unsigned j = 0; j < VectorSize; ++j) { - Constant* V = Elt->getAggregateElement(j); - Vals[i * VectorSize + j] = getConstantVal(VEltTy, V, IsSigned); -@@ -549,7 +549,7 @@ static void promote(GlobalVariable* GV, VectorType* AllocaType, bool IsSigned, - unsigned N = 1; - Value* Offset = Index; - if (Ty->isVectorTy()) { -- N = (unsigned)cast(Ty)->getNumElements(); -+ N = (unsigned)cast(Ty)->getNumElements(); - Offset = Builder.CreateMul(Offset, ConstantInt::get(Offset->getType(), N)); - } - Value* Val = extractNElts(N, VectorData, Offset, Builder); -@@ -684,7 +684,7 @@ bool PromoteConstant::runOnFunction(Function& F) { - - // If possible demote the data into smaller type. Uses of value will be - // promoted back with ZExt or SExt. -- VectorType* AllocaType = nullptr; -+ IGCLLVM::FixedVectorType* AllocaType = nullptr; - bool IsSigned = false; - if (!checkSize(GV, AllocaType, IsSigned)) - continue; -diff --git a/IGC/Compiler/CISACodeGen/TypeDemote.cpp b/IGC/Compiler/CISACodeGen/TypeDemote.cpp -index eb7a7b6482..b04a0f6e51 100644 ---- a/IGC/Compiler/CISACodeGen/TypeDemote.cpp -+++ b/IGC/Compiler/CISACodeGen/TypeDemote.cpp -@@ -32,6 +32,7 @@ IN THE SOFTWARE. - #include - #include - #include -+#include - #include "common/LLVMWarningsPop.hpp" - #include "GenISAIntrinsics/GenIntrinsics.h" - #include "Probe/Assertion.h" -@@ -288,7 +289,7 @@ bool TypeDemote::demoteOnBasicBlock(BasicBlock* BB) const { - CastInst* CI = dyn_cast(Index); - if (CI && (CI->getOpcode() == Instruction::ZExt || - CI->getOpcode() == Instruction::SExt)) { -- unsigned VS = (unsigned)cast(EEI->getVectorOperandType())->getNumElements(); -+ unsigned VS = (unsigned)cast(EEI->getVectorOperandType())->getNumElements(); - unsigned N = (unsigned int)CI->getSrcTy()->getPrimitiveSizeInBits(); - unsigned Bound = (N < 32) ? (1U << N) : UINT32_MAX; - if (VS <= Bound) { -diff --git a/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.cpp b/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.cpp -index 1cac7b1209..12c4734e96 100644 ---- a/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.cpp -+++ b/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.cpp -@@ -28,6 +28,7 @@ IN THE SOFTWARE. - #include "Compiler/CodeGenPublic.h" - #include "common/LLVMWarningsPush.hpp" - #include -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "common/LLVMWarningsPop.hpp" - #include - #include "Probe/Assertion.h" -@@ -40,13 +41,13 @@ namespace - // If V is scalar, return 1. - // if V is vector, return the number of elements. - inline int getNumElts(Value* V) { -- VectorType* VTy = dyn_cast(V->getType()); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(V->getType()); - return VTy ? (int)VTy->getNumElements() : 1; - } - - inline int getTypeSizeInBits(Type* Ty) { - int scalarBits = Ty->getScalarSizeInBits(); -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - return scalarBits * (VTy ? (int)VTy->getNumElements() : 1); - } - } -diff --git a/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.hpp b/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.hpp -index 56dac17e45..42081dcaa9 100644 ---- a/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.hpp -+++ b/IGC/Compiler/CISACodeGen/VariableReuseAnalysis.hpp -@@ -37,6 +37,7 @@ IN THE SOFTWARE. - #include - #include - #include "llvm/Pass.h" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "llvm/Support/raw_ostream.h" - #include "common/LLVMWarningsPop.hpp" - #include "Compiler/CISACodeGen/RegisterEstimator.hpp" -@@ -79,7 +80,7 @@ namespace IGC { - SSubVecDesc(llvm::Value* V) - : Aliaser(V), BaseVector(V), StartElementOffset(0) - { -- llvm::VectorType* VTy = llvm::dyn_cast(V->getType()); -+ IGCLLVM::FixedVectorType* VTy = llvm::dyn_cast(V->getType()); - NumElts = VTy ? (short)VTy->getNumElements() : 1; - } - -diff --git a/IGC/Compiler/CISACodeGen/VectorPreProcess.cpp b/IGC/Compiler/CISACodeGen/VectorPreProcess.cpp -index 022e0eb010..6edd19fa74 100644 ---- a/IGC/Compiler/CISACodeGen/VectorPreProcess.cpp -+++ b/IGC/Compiler/CISACodeGen/VectorPreProcess.cpp -@@ -500,7 +500,7 @@ void VectorPreProcess::replaceAllVectorUsesWithScalars(Instruction* VI, ValVecto - I = VI->getParent()->getFirstNonPHI(); - } - IRBuilder<> Builder(I); -- VectorType* VTy = cast(VI->getType()); -+ IGCLLVM::FixedVectorType* VTy = cast(VI->getType()); - Value* newVec = UndefValue::get(VTy); - for (uint32_t i = 0, e = int_cast(VTy->getNumElements()); i < e; ++i) - { -@@ -619,7 +619,7 @@ bool VectorPreProcess::splitStore( - { - Instruction* SI = ASI.getInst(); - Value* StoredVal = ASI.getValueOperand(); -- VectorType* VTy = cast(StoredVal->getType()); -+ IGCLLVM::FixedVectorType* VTy = cast(StoredVal->getType()); - Type* ETy = VTy->getElementType(); - uint32_t nelts = int_cast(VTy->getNumElements()); - -@@ -705,7 +705,7 @@ bool VectorPreProcess::splitStore( - { - Type* Ty1 = splitInfo[i].first; - uint32_t len1 = splitInfo[i].second; -- VectorType* VTy1 = dyn_cast(Ty1); -+ IGCLLVM::FixedVectorType* VTy1 = dyn_cast(Ty1); - for (uint32_t j = 0; j < len1; ++j) - { - Value* subVec; -@@ -742,7 +742,7 @@ bool VectorPreProcess::splitStore( - { - Type* Ty1 = splitInfo[i].first; - uint32_t len1 = splitInfo[i].second; -- VectorType* VTy1 = dyn_cast(Ty1); -+ IGCLLVM::FixedVectorType* VTy1 = dyn_cast(Ty1); - for (uint32_t j = 0; j < len1; ++j) - { - uint32_t vAlign = (uint32_t)MinAlign(Align, (uint32_t)eOffset * EBytes); -@@ -786,7 +786,7 @@ bool VectorPreProcess::splitLoad( - { - Instruction* LI = ALI.getInst(); - bool isLdRaw = isa(LI); -- VectorType* VTy = cast(LI->getType()); -+ IGCLLVM::FixedVectorType* VTy = cast(LI->getType()); - Type* ETy = VTy->getElementType(); - uint32_t nelts = int_cast(VTy->getNumElements()); - -@@ -848,7 +848,7 @@ bool VectorPreProcess::splitLoad( - { - Type* Ty1 = splitInfo[i].first; - uint32_t len1 = splitInfo[i].second; -- VectorType* VTy1 = dyn_cast(Ty1); -+ IGCLLVM::FixedVectorType* VTy1 = dyn_cast(Ty1); - for (uint32_t j = 0; j < len1; ++j) - { - uint32_t vAlign = (uint32_t)MinAlign(Align, eOffset * EBytes); -@@ -916,7 +916,7 @@ bool VectorPreProcess::splitLoadStore( - Optional ASI = AbstractStoreInst::get(Inst); - IGC_ASSERT_MESSAGE((ALI || ASI), "Inst should be either load or store"); - Type* Ty = ALI ? ALI->getInst()->getType() : ASI->getValueOperand()->getType(); -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - if (!VTy) - { - return false; -@@ -1147,7 +1147,7 @@ void VectorPreProcess::getOrGenScalarValues( - { - availBeforeInst = nullptr; - -- VectorType* VTy = cast(VecVal->getType()); -+ IGCLLVM::FixedVectorType* VTy = cast(VecVal->getType()); - if (!VTy) - { - scalars[0] = VecVal; -@@ -1298,7 +1298,7 @@ Instruction* VectorPreProcess::simplifyLoadStore(Instruction* Inst) - // - // TODO: further optimize this load into a message with channel masks - // for cases in which use indices are sparse like {0, 2}. -- unsigned N = (unsigned)cast(Inst->getType())->getNumElements(); -+ unsigned N = (unsigned)cast(Inst->getType())->getNumElements(); - if (N == MaxIndex + 1) - return Inst; - -@@ -1404,7 +1404,7 @@ Instruction* VectorPreProcess::simplifyLoadStore(Instruction* Inst) - if (NBits < 32) - return Inst; - -- unsigned N = (unsigned)cast(Val->getType())->getNumElements(); -+ unsigned N = (unsigned)cast(Val->getType())->getNumElements(); - if (auto CV = dyn_cast(Val)) - { - unsigned MaxIndex = 0; -@@ -1573,7 +1573,7 @@ bool VectorPreProcess::runOnFunction(Function& F) - for (uint32_t j = 0; j < svals.size(); ++j) - { - Type* Ty1 = svals[j]->getType(); -- VectorType* VTy1 = dyn_cast(Ty1); -+ IGCLLVM::FixedVectorType* VTy1 = dyn_cast(Ty1); - if (VTy1) { - for (uint32_t k = 0; k < VTy1->getNumElements(); ++k) - { -@@ -1622,7 +1622,7 @@ bool VectorPreProcess::runOnFunction(Function& F) - // If this is a 3-element vector load, remove it - // from m_Vector3List as well. - if (isAbstractLoadInst(tInst) && tInst->getType()->isVectorTy() && -- cast(tInst->getType())->getNumElements() == 3) -+ cast(tInst->getType())->getNumElements() == 3) - { - InstWorkVector::iterator - tI = m_Vector3List.begin(), -diff --git a/IGC/Compiler/CISACodeGen/VectorProcess.cpp b/IGC/Compiler/CISACodeGen/VectorProcess.cpp -index 9f39cdc0d7..cfe45321d2 100644 ---- a/IGC/Compiler/CISACodeGen/VectorProcess.cpp -+++ b/IGC/Compiler/CISACodeGen/VectorProcess.cpp -@@ -240,7 +240,7 @@ bool VectorProcess::reLayoutLoadStore(Instruction* Inst) - IGC_ASSERT(nullptr != Ptr); - IGC_ASSERT(nullptr != Ty); - -- VectorType* const VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* const VTy = dyn_cast(Ty); - - // Treat a scalar as 1-element vector - uint32_t nelts = VTy ? int_cast(VTy->getNumElements()) : 1; -@@ -654,7 +654,7 @@ void VectorMessage::getInfo(Type* Ty, uint32_t Align, bool useA32, - VectorType* VTy = dyn_cast(Ty); - Type* eTy = VTy ? cast(VTy)->getElementType() : Ty; - unsigned eltSize = m_emitter->GetScalarTypeSizeInRegister(eTy); -- unsigned nElts = VTy ? (unsigned)cast(VTy)->getNumElements() : 1; -+ unsigned nElts = VTy ? (unsigned)cast(VTy)->getNumElements() : 1; - // total bytes - const unsigned TBytes = nElts * eltSize; - -diff --git a/IGC/Compiler/CISACodeGen/helper.cpp b/IGC/Compiler/CISACodeGen/helper.cpp -index 5719fd3ab8..4dc83c9f1e 100644 ---- a/IGC/Compiler/CISACodeGen/helper.cpp -+++ b/IGC/Compiler/CISACodeGen/helper.cpp -@@ -1647,7 +1647,7 @@ namespace IGC - { - instList[i] = builder.CreateExtractElement(val, static_cast(0)); - size_t iOld = i; -- for (unsigned j = 1; j < cast(val->getType())->getNumElements(); j++) -+ for (unsigned j = 1; j < cast(val->getType())->getNumElements(); j++) - { - instList.insert(instList.begin()+ iOld +j, builder.CreateExtractElement(val, j)); - i++; -@@ -1680,7 +1680,7 @@ namespace IGC - } - break; - case IGCLLVM::VectorTyID: -- num = (unsigned)cast(type)->getNumElements(); -+ num = (unsigned)cast(type)->getNumElements(); - for (unsigned i = 0; i < num; i++) - { - ScalarizeAggregateMembers(builder, builder.CreateExtractElement(val, i), instList); -@@ -1720,7 +1720,7 @@ namespace IGC - } - break; - case IGCLLVM::VectorTyID: -- num = (unsigned)cast(type)->getNumElements(); -+ num = (unsigned)cast(type)->getNumElements(); - for (unsigned i = 0; i < num; i++) - { - indices.push_back(builder.getInt32(i)); -@@ -1985,8 +1985,8 @@ namespace IGC - return false; - } - -- VectorType* dVTy = dyn_cast(dTy); -- VectorType* sVTy = dyn_cast(sTy); -+ IGCLLVM::FixedVectorType* dVTy = dyn_cast(dTy); -+ IGCLLVM::FixedVectorType* sVTy = dyn_cast(sTy); - int d_nelts = dVTy ? (int)dVTy->getNumElements() : 1; - int s_nelts = sVTy ? (int)sVTy->getNumElements() : 1; - if (d_nelts != s_nelts) { -diff --git a/IGC/Compiler/ConvertMSAAPayloadTo16Bit.cpp b/IGC/Compiler/ConvertMSAAPayloadTo16Bit.cpp -index 07817f05f7..15bbb0400e 100644 ---- a/IGC/Compiler/ConvertMSAAPayloadTo16Bit.cpp -+++ b/IGC/Compiler/ConvertMSAAPayloadTo16Bit.cpp -@@ -153,15 +153,15 @@ void ConvertMSAAPayloadTo16Bit::visitCallInst(CallInst& I) - // There are uses of ldmcs other then ldms, using vector of int32 type. - // Fix them to use newly created 16bit ldmcs. - if (ldmcs->getType()->isVectorTy() && -- ldmcs->getType()->getVectorElementType() == m_builder->getInt32Ty()) -+ cast(ldmcs->getType())->getElementType()->isFloatTy()) - { - m_builder->SetInsertPoint(ldmcs); - -- uint ldmcsNumOfElements = ldmcs->getType()->getVectorNumElements(); -- uint newLdmcsNumOfElements = new_mcs_call->getType()->getVectorNumElements(); -+ uint ldmcsNumOfElements = (uint)cast(ldmcs->getType())->getNumElements(); -+ uint newLdmcsNumOfElements = (uint)cast(new_mcs_call->getType())->getNumElements(); - - // vec of 16bit ints to vec of 32bit ints -- Type* newLdmcsVecType = VectorType::get(m_builder->getInt32Ty(), newLdmcsNumOfElements); -+ Type* newLdmcsVecType = IGCLLVM::FixedVectorType::get(m_builder->getInt32Ty(), newLdmcsNumOfElements); - Value* ldmcsExtendedToInt32 = m_builder->CreateSExt(new_mcs_call, newLdmcsVecType); - - // if ldmcs has fewer elements than new ldmcs, extend vector -@@ -175,7 +175,7 @@ void ConvertMSAAPayloadTo16Bit::visitCallInst(CallInst& I) - } - auto* pMask = ConstantDataVector::get(I.getContext(), maskVals); - -- ldmcsInt32CorrectlySized = m_builder->CreateShuffleVector(ldmcsExtendedToInt32, UndefValue::get(VectorType::get(m_builder->getInt32Ty(), ldmcsNumOfElements)), pMask); -+ ldmcsInt32CorrectlySized = m_builder->CreateShuffleVector(ldmcsExtendedToInt32, UndefValue::get(IGCLLVM::FixedVectorType::get(m_builder->getInt32Ty(), ldmcsNumOfElements)), pMask); - } - else - { -diff --git a/IGC/Compiler/CustomSafeOptPass.cpp b/IGC/Compiler/CustomSafeOptPass.cpp -index 83a6968d89..5752382ce5 100644 ---- a/IGC/Compiler/CustomSafeOptPass.cpp -+++ b/IGC/Compiler/CustomSafeOptPass.cpp -@@ -1372,7 +1372,7 @@ void IGC::CustomSafeOptPass::visitSampleBptr(llvm::SampleIntrinsic* sampleInst) - bool CustomSafeOptPass::isIdentityMatrix(ExtractElementInst& I) - { - bool found = false; -- auto extractType = cast(I.getVectorOperandType()); -+ auto extractType = cast(I.getVectorOperandType()); - auto extractTypeVecSize = (uint32_t)extractType->getNumElements(); - if (extractTypeVecSize == 20 || - extractTypeVecSize == 16) -@@ -1601,7 +1601,7 @@ void CustomSafeOptPass::visitExtractElementInst(ExtractElementInst& I) - int elOffset = (int)(bitShift / eltSize); - elOffset = rightShift ? elOffset : -elOffset; - unsigned int newIndex = (unsigned int)((int)cstIndex->getZExtValue() + elOffset); -- if (newIndex < cast(vecType)->getNumElements()) -+ if (newIndex < cast(vecType)->getNumElements()) - { - IRBuilder<> builder(&I); - Value* newBitCast = builder.CreateBitCast(binOp->getOperand(0), vecType); -@@ -2001,7 +2001,7 @@ void GenSpecificPattern::createBitcastExtractInsertPattern(BinaryOperator& I, Va - else if (auto IEIInst = dyn_cast(Op)) - { - auto opType = IEIInst->getType(); -- if (opType->isVectorTy() && cast(opType)->getElementType()->isIntegerTy(32) && cast(opType)->getNumElements() == 2) -+ if (opType->isVectorTy() && cast(opType)->getElementType()->isIntegerTy(32) && cast(opType)->getNumElements() == 2) - { - elem = IEIInst->getOperand(1); - } -@@ -2064,7 +2064,7 @@ void GenSpecificPattern::visitBinaryOperator(BinaryOperator& I) - else if (match(&I, pattern2) && AndOp2->getType()->isIntegerTy(64)) - { - ConstantVector* cVec = dyn_cast(VecOp); -- VectorType* vector_type = dyn_cast(VecOp->getType()); -+ IGCLLVM::FixedVectorType* vector_type = dyn_cast(VecOp->getType()); - if (cVec && vector_type && - isa(cVec->getOperand(0)) && - cast(cVec->getOperand(0))->isZero() && -@@ -2210,7 +2210,7 @@ void GenSpecificPattern::visitBinaryOperator(BinaryOperator& I) - BitCastInst* opBC = cast(op); - - auto opType = opBC->getType(); -- if (!(opType->isVectorTy() && cast(opType)->getElementType()->isIntegerTy(32) && cast(opType)->getNumElements() == 2)) -+ if (!(opType->isVectorTy() && cast(opType)->getElementType()->isIntegerTy(32) && cast(opType)->getNumElements() == 2)) - return nullptr; - - if (opBC->getSrcTy()->isDoubleTy()) -@@ -2630,8 +2630,8 @@ void GenSpecificPattern::visitBitCastInst(BitCastInst& I) - if (zExtInst->getOperand(0)->getType()->isIntegerTy(32) && - isa(bitCastInst->getOperand(0)) && - bitCastInst->getOperand(0)->getType()->isVectorTy() && -- cast(bitCastInst->getOperand(0)->getType())->getElementType()->isIntegerTy(32) && -- cast(bitCastInst->getOperand(0)->getType())->getNumElements() == 2) -+ cast(bitCastInst->getOperand(0)->getType())->getElementType()->isIntegerTy(32) && -+ cast(bitCastInst->getOperand(0)->getType())->getNumElements() == 2) - { - InsertElementInst* insertElementInst = cast(bitCastInst->getOperand(0)); - -@@ -2731,7 +2731,7 @@ void GenSpecificPattern::visitFNeg(llvm::UnaryOperator& I) - } - else - { -- uint32_t vectorSize = cast(I.getType())->getNumElements(); -+ uint32_t vectorSize = cast(I.getType())->getNumElements(); - fsub = llvm::UndefValue::get(I.getType()); - - for (uint32_t i = 0; i < vectorSize; ++i) -@@ -2845,7 +2845,7 @@ Constant* IGCConstProp::replaceShaderConstant(LoadInst* inst) - if (inst->getType()->isVectorTy()) - { - Type* srcEltTy = cast(inst->getType())->getElementType(); -- uint32_t srcNElts = (uint32_t)cast(inst->getType())->getNumElements(); -+ uint32_t srcNElts = (uint32_t)cast(inst->getType())->getNumElements(); - uint32_t eltSize_in_bytes = (unsigned int)srcEltTy->getPrimitiveSizeInBits() / 8; - IRBuilder<> builder(inst); - Value* vectorValue = UndefValue::get(inst->getType()); -@@ -3130,7 +3130,7 @@ Constant* IGCConstProp::ConstantFoldCmpInst(CmpInst* CI) - { - bool AllTrue = true, AllFalse = true; - auto VecOpnd = cast(EEI->getVectorOperand()); -- unsigned N = (unsigned)cast(VecOpnd->getType())->getNumElements(); -+ unsigned N = (unsigned)cast(VecOpnd->getType())->getNumElements(); - for (unsigned i = 0; i < N; ++i) - { - Constant* const Opnd = VecOpnd->getAggregateElement(i); -@@ -3926,8 +3926,8 @@ namespace IGC - BitCastInst* BC = dyn_cast(&*BI++); - if (!BC) continue; - // Skip non-element-wise bitcast. -- VectorType* DstVTy = dyn_cast(BC->getType()); -- VectorType* SrcVTy = dyn_cast(BC->getOperand(0)->getType()); -+ IGCLLVM::FixedVectorType* DstVTy = dyn_cast(BC->getType()); -+ IGCLLVM::FixedVectorType* SrcVTy = dyn_cast(BC->getOperand(0)->getType()); - if (!DstVTy || !SrcVTy || DstVTy->getNumElements() != SrcVTy->getNumElements()) - continue; - // Skip if it's not used only all extractelement. -@@ -4697,7 +4697,7 @@ void SplitIndirectEEtoSel::visitExtractElementInst(llvm::ExtractElementInst& I) - { - using namespace llvm::PatternMatch; - -- VectorType* vecTy = I.getVectorOperandType(); -+ IGCLLVM::FixedVectorType* vecTy = dyn_cast(I.getVectorOperandType()); - uint64_t num = vecTy->getNumElements(); - Type* eleType = vecTy->getElementType(); - -diff --git a/IGC/Compiler/DebugInfo/ScalarVISAModule.cpp b/IGC/Compiler/DebugInfo/ScalarVISAModule.cpp -index 194696e75b..62440d6fdb 100644 ---- a/IGC/Compiler/DebugInfo/ScalarVISAModule.cpp -+++ b/IGC/Compiler/DebugInfo/ScalarVISAModule.cpp -@@ -32,6 +32,7 @@ IN THE SOFTWARE. - #include "DebugInfo/DebugInfoUtils.hpp" - - #include "common/LLVMWarningsPush.hpp" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "llvm/IR/Function.h" - #include "llvm/IR/Module.h" - #include "common/LLVMWarningsPop.hpp" -@@ -583,7 +584,7 @@ ScalarVisaModule::GetVariableLocation(const llvm::Instruction* pInst) const - - if (pType->isVectorTy()) - { -- vectorNumElements = (unsigned)cast(pType)->getNumElements(); -+ vectorNumElements = (unsigned)cast(pType)->getNumElements(); - } - else if (!pVar->IsUniform()) - { -diff --git a/IGC/Compiler/GenTTI.cpp b/IGC/Compiler/GenTTI.cpp -index b63eaeb0f0..e6b9120de9 100644 ---- a/IGC/Compiler/GenTTI.cpp -+++ b/IGC/Compiler/GenTTI.cpp -@@ -37,6 +37,7 @@ IN THE SOFTWARE. - #include "llvm/Analysis/LoopInfo.h" - #include "llvm/Analysis/ScalarEvolution.h" - #include "llvm/Support/raw_ostream.h" -+#include "llvmWrapper/Transforms/Utils/LoopUtils.h" - #include "common/LLVMWarningsPop.hpp" - - using namespace llvm; -@@ -224,7 +225,7 @@ namespace llvm { - - // Skip non-simple loop. - if (L->getNumBlocks() != 1) { -- if (IGC_IS_FLAG_ENABLED(EnableAdvRuntimeUnroll) && L->empty()) { -+ if (IGC_IS_FLAG_ENABLED(EnableAdvRuntimeUnroll) && IGCLLVM::isInnermost(L)) { - auto countNonPHI = [](BasicBlock* BB) { - unsigned Total = BB->size(); - unsigned PHIs = 0; -diff --git a/IGC/Compiler/GenUpdateCB.cpp b/IGC/Compiler/GenUpdateCB.cpp -index 9fb8362951..cbc25b484c 100644 ---- a/IGC/Compiler/GenUpdateCB.cpp -+++ b/IGC/Compiler/GenUpdateCB.cpp -@@ -24,6 +24,7 @@ IN THE SOFTWARE. - - #include "common/LLVMWarningsPush.hpp" - #include "llvmWrapper/Bitcode/BitcodeWriter.h" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include - #include - #include "llvm/IR/DebugInfo.h" -@@ -384,7 +385,7 @@ bool GenUpdateCB::runOnFunction(Function& F) - isResInfo(dyn_cast(inst, - GenISAIntrinsic::GenISA_resinfoptr), texId, lod, isUAV)) - { -- unsigned nelems = (unsigned)cast(inst->getType())->getNumElements(); -+ unsigned nelems = (unsigned)cast(inst->getType())->getNumElements(); - SmallVector< SmallVector, 4> extracts(nelems); - if (VectorUsedByConstExtractOnly(inst, extracts)) - { -diff --git a/IGC/Compiler/HandleFRemInstructions.cpp b/IGC/Compiler/HandleFRemInstructions.cpp -index 94995a56d8..4523f3f02d 100644 ---- a/IGC/Compiler/HandleFRemInstructions.cpp -+++ b/IGC/Compiler/HandleFRemInstructions.cpp -@@ -28,6 +28,7 @@ IN THE SOFTWARE. - #include - #include - #include -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "common/LLVMWarningsPop.hpp" - #include "Compiler/IGCPassSupport.h" - #include "Probe/Assertion.h" -@@ -77,7 +78,7 @@ void HandleFRemInstructions::visitFRem(llvm::BinaryOperator& I) - - if (ValType->isVectorTy()) - { -- auto VecCount = cast(ValType)->getNumElements(); -+ auto VecCount = cast(ValType)->getNumElements(); - if (VecCount == 2 || VecCount == 3 || VecCount == 4 || VecCount == 8 || VecCount == 16) - { - VecStr = "v" + std::to_string(VecCount); -diff --git a/IGC/Compiler/HandleLoadStoreInstructions.cpp b/IGC/Compiler/HandleLoadStoreInstructions.cpp -index d18eec7311..c5535701ad 100644 ---- a/IGC/Compiler/HandleLoadStoreInstructions.cpp -+++ b/IGC/Compiler/HandleLoadStoreInstructions.cpp -@@ -77,7 +77,7 @@ void HandleLoadStoreInstructions::visitLoadInst(llvm::LoadInst& I) - - if (I.getType()->isVectorTy()) - { -- numVectorElements = (uint32_t)cast(I.getType())->getNumElements(); -+ numVectorElements = (uint32_t)cast(I.getType())->getNumElements(); - doubleDstType = IGCLLVM::FixedVectorType::get(builder.getDoubleTy(), numVectorElements); - } - uint as = ptrv->getType()->getPointerAddressSpace(); -@@ -163,7 +163,7 @@ void HandleLoadStoreInstructions::visitStoreInst(llvm::StoreInst& I) - - if (I.getValueOperand()->getType()->isVectorTy()) - { -- numVectorElements = (uint32_t)cast(I.getValueOperand()->getType())->getNumElements(); -+ numVectorElements = (uint32_t)cast(I.getValueOperand()->getType())->getNumElements(); - } - - -diff --git a/IGC/Compiler/LegalizationPass.cpp b/IGC/Compiler/LegalizationPass.cpp -index c76f3f0e1b..31e2079a9a 100644 ---- a/IGC/Compiler/LegalizationPass.cpp -+++ b/IGC/Compiler/LegalizationPass.cpp -@@ -671,7 +671,7 @@ void Legalization::visitBitCastInst(llvm::BitCastInst& I) - if (!isa(pZ->getOperand(0))) - return; - -- auto* pVecTy = cast(pZ->getDestTy()); -+ auto* pVecTy = cast(pZ->getDestTy()); - if (pVecTy->getNumElements() != 3) - return; - -@@ -766,7 +766,7 @@ void Legalization::visitSelectInst(SelectInst& I) - } - else if (I.getType()->isVectorTy()) - { -- unsigned int vecSize = (unsigned)cast(I.getType())->getNumElements(); -+ unsigned int vecSize = (unsigned)cast(I.getType())->getNumElements(); - Value* newVec = UndefValue::get(I.getType()); - m_builder->SetInsertPoint(&I); - for (unsigned int i = 0; i < vecSize; i++) -@@ -1148,7 +1148,7 @@ void Legalization::visitStoreInst(StoreInst& I) - if (ConstantDataVector * vec = dyn_cast(I.getOperand(0))) - { - Value* newVec = UndefValue::get(vec->getType()); -- unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); -+ unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); - for (unsigned int i = 0; i < nbElement; i++) - { - Constant* cst = vec->getElementAsConstant(i); -@@ -1169,7 +1169,7 @@ void Legalization::visitStoreInst(StoreInst& I) - else if (ConstantVector * vec = dyn_cast(I.getOperand(0))) - { - Value* newVec = UndefValue::get(vec->getType()); -- unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); -+ unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); - for (unsigned int i = 0; i < nbElement; i++) - { - Constant* cst = vec->getOperand(i); -@@ -1190,7 +1190,7 @@ void Legalization::visitStoreInst(StoreInst& I) - else if (ConstantAggregateZero * vec = dyn_cast(I.getOperand(0))) - { - Value* newVec = UndefValue::get(vec->getType()); -- unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); -+ unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); - for (unsigned int i = 0; i < nbElement; i++) - { - Constant* cst = vec->getElementValue(i); -@@ -1341,7 +1341,7 @@ void Legalization::visitInsertElementInst(InsertElementInst& I) - if (ConstantDataVector * vec = dyn_cast(I.getOperand(0))) - { - Value* newVec = UndefValue::get(vec->getType()); -- unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); -+ unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); - for (unsigned int i = 0; i < nbElement; i++) - { - Constant* cst = vec->getElementAsConstant(i); -@@ -1361,7 +1361,7 @@ void Legalization::visitInsertElementInst(InsertElementInst& I) - else if (ConstantVector * vec = dyn_cast(I.getOperand(0))) - { - Value* newVec = UndefValue::get(I.getType()); -- unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); -+ unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); - for (unsigned int i = 0; i < nbElement; i++) - { - Constant* cst = vec->getOperand(i); -@@ -1381,7 +1381,7 @@ void Legalization::visitInsertElementInst(InsertElementInst& I) - else if (ConstantAggregateZero * vec = dyn_cast(I.getOperand(0))) - { - Value* newVec = UndefValue::get(I.getType()); -- unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); -+ unsigned int nbElement = (unsigned)cast(vec->getType())->getNumElements(); - for (unsigned int i = 0; i < nbElement; i++) - { - Constant* cst = vec->getElementValue(i); -@@ -1398,7 +1398,7 @@ void Legalization::visitInsertElementInst(InsertElementInst& I) - else if (I.getOperand(1)->getType()->isIntegerTy(1)) - { - // This promotes i1 insertelement to i32 -- unsigned int nbElement = (unsigned)cast(I.getOperand(0)->getType())->getNumElements(); -+ unsigned int nbElement = (unsigned)cast(I.getOperand(0)->getType())->getNumElements(); - Value* newVec = UndefValue::get(IGCLLVM::FixedVectorType::get(m_builder->getInt32Ty(), nbElement)); - PromoteInsertElement(&I, newVec); - } -@@ -1411,7 +1411,7 @@ void Legalization::visitShuffleVectorInst(ShuffleVectorInst& I) - // If the original vector is a constant, just use the scalar constant, - // otherwise extract from the original vector. - -- VectorType* resType = cast(I.getType()); -+ IGCLLVM::FixedVectorType* resType = cast(I.getType()); - Value* newVec = UndefValue::get(resType); - Value* src0 = I.getOperand(0); - Value* src1 = I.getOperand(1); -@@ -1422,7 +1422,7 @@ void Legalization::visitShuffleVectorInst(ShuffleVectorInst& I) - Constant* mask = I.getShuffleMaskForBitcode(); - #endif - // The two inputs are guaranteed to be of the same type -- VectorType* inType = cast(src0->getType()); -+ IGCLLVM::FixedVectorType* inType = cast(src0->getType()); - int inCount = int_cast(inType->getNumElements()); - int inBase = 2; // 2 means using undef - // if inType == resType, use src0/src1 as the input -@@ -1638,7 +1638,7 @@ Type* Legalization::LegalAllocaType(Type* type) const - #endif - legalType = IGCLLVM::FixedVectorType::get( - LegalAllocaType(cast(type)->getElementType()), -- (unsigned)cast(type)->getNumElements()); -+ (unsigned)cast(type)->getNumElements()); - break; - case Type::StructTyID: - return LegalStructAllocaType(type); -@@ -1938,7 +1938,7 @@ void Legalization::visitIntrinsicInst(llvm::IntrinsicInst& I) - Value* newValue = nullptr; - if (srcType->isVectorTy()) - { -- auto sourceVT = cast(srcType); -+ auto sourceVT = cast(srcType); - const unsigned int numElements = (uint32_t)sourceVT->getNumElements(); - Value* dstVec = UndefValue::get(srcType); - for (unsigned int i = 0; i < numElements; ++i) -@@ -2081,7 +2081,7 @@ void Legalization::visitTruncInst(llvm::TruncInst& I) { - } - - Src = BC->getOperand(0); -- VectorType* VTy = dyn_cast(Src->getType()); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Src->getType()); - // Bail out if it's not bitcasted from <3 x i16> - if (!VTy || VTy->getNumElements() != 3 || !VTy->getElementType()->isIntegerTy(16)) - return; -diff --git a/IGC/Compiler/Legalizer/InstPromoter.cpp b/IGC/Compiler/Legalizer/InstPromoter.cpp -index bba1d96d94..63cbccb53b 100644 ---- a/IGC/Compiler/Legalizer/InstPromoter.cpp -+++ b/IGC/Compiler/Legalizer/InstPromoter.cpp -@@ -25,6 +25,7 @@ IN THE SOFTWARE. - #define DEBUG_TYPE "type-legalizer" - #include "TypeLegalizer.h" - #include "InstPromoter.h" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "common/LLVMWarningsPush.hpp" - #include "llvm/Support/Debug.h" - #include "llvm/Support/MathExtras.h" -@@ -394,10 +395,10 @@ bool InstPromoter::visitBitCastInst(BitCastInst& I) { - unsigned N = - Val->getType()->getScalarSizeInBits() / DestTy->getScalarSizeInBits(); - Value* BC = -- IRB->CreateBitCast(Val, VectorType::get(DestTy->getScalarType(), N)); -+ IRB->CreateBitCast(Val, IGCLLVM::FixedVectorType::get(DestTy->getScalarType(), N)); - - std::vector Vals; -- for (unsigned i = 0; i < DestTy->getVectorNumElements(); i++) -+ for (unsigned i = 0; i < cast(DestTy)->getNumElements(); i++) - Vals.push_back(IRB->getInt32(i)); - - Value* Mask = ConstantVector::get(Vals); -diff --git a/IGC/Compiler/Legalizer/InstScalarizer.cpp b/IGC/Compiler/Legalizer/InstScalarizer.cpp -index 3902f74071..c8e18cc5e7 100644 ---- a/IGC/Compiler/Legalizer/InstScalarizer.cpp -+++ b/IGC/Compiler/Legalizer/InstScalarizer.cpp -@@ -130,7 +130,7 @@ bool InstScalarizer::visitLoadInst(LoadInst& I) { - // otherwise, it's broken. - IGC_ASSERT(TL->getTypeSizeInBits(EltTy) == TL->getTypeStoreSizeInBits(EltTy)); - -- unsigned NumElts = (unsigned)cast(OrigTy)->getNumElements(); -+ unsigned NumElts = (unsigned)cast(OrigTy)->getNumElements(); - unsigned Elt = 0; - - Type* NewPtrTy = PointerType::get(EltTy, AS); -@@ -268,7 +268,7 @@ bool InstScalarizer::visitStoreInst(StoreInst& I) { - // otherwise, it's broken. - IGC_ASSERT(TL->getTypeSizeInBits(EltTy) == TL->getTypeStoreSizeInBits(EltTy)); - -- unsigned NumElts = (unsigned)cast(OrigTy)->getNumElements(); -+ unsigned NumElts = (unsigned)cast(OrigTy)->getNumElements(); - unsigned Elt = 0; - - Type* NewPtrTy = PointerType::get(EltTy, AS); -@@ -498,7 +498,7 @@ bool InstScalarizer::visitInsertElementInst(InsertElementInst& I) { - IGC_ASSERT(EltSeq->size()); - IGC_ASSERT(VecSeqCopy.size() % EltSeq->size() == 0); - -- unsigned NumElts = (unsigned)cast(I.getOperand(0)->getType())->getNumElements(); -+ unsigned NumElts = (unsigned)cast(I.getOperand(0)->getType())->getNumElements(); - unsigned i = 0; - for (unsigned Elt = 0; Elt != NumElts; ++Elt) { - if (Elt == Idx) { -diff --git a/IGC/Compiler/Legalizer/PeepholeTypeLegalizer.cpp b/IGC/Compiler/Legalizer/PeepholeTypeLegalizer.cpp -index 28f8ce840f..778132c4f2 100644 ---- a/IGC/Compiler/Legalizer/PeepholeTypeLegalizer.cpp -+++ b/IGC/Compiler/Legalizer/PeepholeTypeLegalizer.cpp -@@ -162,7 +162,7 @@ void PeepholeTypeLegalizer::legalizePhiInstruction(Instruction& I) - - if (quotient > 1) - { -- unsigned numElements = I.getType()->isVectorTy() ? (unsigned)cast(I.getType())->getNumElements() : 1; -+ unsigned numElements = I.getType()->isVectorTy() ? (unsigned)cast(I.getType())->getNumElements() : 1; - Type* newType = IGCLLVM::FixedVectorType::get(Type::getIntNTy(I.getContext(), promoteToInt), quotient * numElements); - - PHINode* newPhi = m_builder->CreatePHI(newType, oldPhi->getNumIncomingValues()); -@@ -223,7 +223,7 @@ void PeepholeTypeLegalizer::legalizeExtractElement(Instruction& I) - unsigned elementWidth = extract->getType()->getScalarSizeInBits(); - if (!isLegalInteger(elementWidth) && extract->getType()->isIntOrIntVectorTy()) - { -- unsigned numElements = (unsigned)cast(extract->getOperand(0)->getType())->getNumElements(); -+ unsigned numElements = (unsigned)cast(extract->getOperand(0)->getType())->getNumElements(); - unsigned quotient, promoteToInt; - promoteInt(elementWidth, quotient, promoteToInt, DL->getLargestLegalIntTypeSizeInBits()); - -@@ -850,7 +850,7 @@ void PeepholeTypeLegalizer::cleanupZExtInst(Instruction& I) { - } - - unsigned ipElmtSize = prevInst->getOperand(0)->getType()->getScalarSizeInBits(); -- unsigned ipVecSize = (unsigned)cast(prevInst->getOperand(0)->getType())->getNumElements(); -+ unsigned ipVecSize = (unsigned)cast(prevInst->getOperand(0)->getType())->getNumElements(); - unsigned convFactor = promoteToInt / ipElmtSize; - - Value* vecRes = UndefValue::get(IGCLLVM::FixedVectorType::get(llvm::Type::getIntNTy(I.getContext(), promoteToInt), quotient)); -diff --git a/IGC/Compiler/Legalizer/TypeLegalizer.cpp b/IGC/Compiler/Legalizer/TypeLegalizer.cpp -index f8f71d71dd..a46f42bd0d 100644 ---- a/IGC/Compiler/Legalizer/TypeLegalizer.cpp -+++ b/IGC/Compiler/Legalizer/TypeLegalizer.cpp -@@ -32,6 +32,7 @@ IN THE SOFTWARE. - #include "InstScalarizer.h" - #include "InstElementizer.h" - #include "common/LLVMWarningsPush.hpp" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "llvm/ADT/PostOrderIterator.h" - #include "llvm/IR/CFG.h" - #include "llvm/Support/Debug.h" -@@ -290,7 +291,7 @@ TypeSeq* TypeLegalizer::getScalarizedTypeSeq(Type* Ty) { - } - - Type* EltTy = cast(Ty)->getElementType(); -- for (unsigned i = 0, e = (unsigned)cast(Ty)->getNumElements(); i != e; ++i) -+ for (unsigned i = 0, e = (unsigned)cast(Ty)->getNumElements(); i != e; ++i) - TMI->second.push_back(EltTy); - - return &TMI->second; -diff --git a/IGC/Compiler/Legalizer/TypeLegalizer.h b/IGC/Compiler/Legalizer/TypeLegalizer.h -index f3ce264ce8..a6910d0876 100644 ---- a/IGC/Compiler/Legalizer/TypeLegalizer.h -+++ b/IGC/Compiler/Legalizer/TypeLegalizer.h -@@ -28,6 +28,7 @@ IN THE SOFTWARE. - #include "llvmWrapper/IR/Instructions.h" - #include "llvmWrapper/Analysis/InlineCost.h" - #include "llvmWrapper/IR/InstrTypes.h" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "llvmWrapper/Support/Alignment.h" - #include "llvm/ADT/ArrayRef.h" - #include "llvm/ADT/DenseMap.h" -@@ -287,7 +288,7 @@ namespace IGC { - if (!Ty->isVectorTy()) - return false; - -- unsigned NumElts = (unsigned)cast(Ty)->getNumElements(); -+ unsigned NumElts = (unsigned)cast(Ty)->getNumElements(); - Type* EltTy = cast(Ty)->getElementType(); - const auto& ProfitLengths = getProfitLoadVectorLength(EltTy); - -diff --git a/IGC/Compiler/LowPrecisionOptPass.cpp b/IGC/Compiler/LowPrecisionOptPass.cpp -index 0708bfae58..15272b8dfc 100644 ---- a/IGC/Compiler/LowPrecisionOptPass.cpp -+++ b/IGC/Compiler/LowPrecisionOptPass.cpp -@@ -252,7 +252,7 @@ bool LowPrecisionOpt::propagateSamplerType(llvm::GenIntrinsicInst& I) - return false; - } - -- VectorType* oldTy = cast(I.getType()); -+ IGCLLVM::FixedVectorType* oldTy = cast(I.getType()); - llvm::SmallVector overloadTys; - auto retTy = IGCLLVM::FixedVectorType::get(newDstType, int_cast(oldTy->getNumElements())); - overloadTys.push_back(retTy); -diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/AggregateArguments/AggregateArguments.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/AggregateArguments/AggregateArguments.cpp -index 67535cfcda..3cdd2975f7 100644 ---- a/IGC/Compiler/Optimizer/OpenCLPasses/AggregateArguments/AggregateArguments.cpp -+++ b/IGC/Compiler/Optimizer/OpenCLPasses/AggregateArguments/AggregateArguments.cpp -@@ -24,6 +24,7 @@ IN THE SOFTWARE. - - #include "Compiler/Optimizer/OpenCLPasses/AggregateArguments/AggregateArguments.hpp" - #include "Compiler/IGCPassSupport.h" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "common/LLVMWarningsPush.hpp" - #include "llvm/IR/Function.h" - #include "common/LLVMWarningsPop.hpp" -@@ -130,7 +131,7 @@ static uint64_t getNumElements(Type* type) - { - return arrayType->getNumElements(); - } -- if (VectorType * vectorType = dyn_cast(type)) -+ if (IGCLLVM::FixedVectorType * vectorType = dyn_cast(type)) - { - return vectorType->getNumElements(); - } -diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/CorrectlyRoundedDivSqrt/CorrectlyRoundedDivSqrt.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/CorrectlyRoundedDivSqrt/CorrectlyRoundedDivSqrt.cpp -index 2a9d749959..79ed0948c0 100644 ---- a/IGC/Compiler/Optimizer/OpenCLPasses/CorrectlyRoundedDivSqrt/CorrectlyRoundedDivSqrt.cpp -+++ b/IGC/Compiler/Optimizer/OpenCLPasses/CorrectlyRoundedDivSqrt/CorrectlyRoundedDivSqrt.cpp -@@ -27,6 +27,7 @@ IN THE SOFTWARE. - #include "Compiler/IGCPassSupport.h" - #include "GenISAIntrinsics/GenIntrinsicInst.h" - -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "common/LLVMWarningsPush.hpp" - #include - #include -@@ -133,7 +134,7 @@ Value* CorrectlyRoundedDivSqrt::emitIEEEDivide(BinaryOperator* I, Value* Op0, Va - } - else - { -- auto vType = dyn_cast(Ty); -+ auto vType = dyn_cast(Ty); - unsigned VecLen = (uint32_t)vType->getNumElements(); - Divide = UndefValue::get(Ty); - for (unsigned i = 0; i < VecLen; i++) -diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/DeviceEnqueueFuncs/TransformBlocks.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/DeviceEnqueueFuncs/TransformBlocks.cpp -index 52a9b61355..5ad3ceda43 100644 ---- a/IGC/Compiler/Optimizer/OpenCLPasses/DeviceEnqueueFuncs/TransformBlocks.cpp -+++ b/IGC/Compiler/Optimizer/OpenCLPasses/DeviceEnqueueFuncs/TransformBlocks.cpp -@@ -952,7 +952,7 @@ namespace //Anonymous - { - auto ndrangeStructName = "struct.ndrange_t"; - auto module = _deviceExecCall->getModule(); -- auto ndrangeTy = module->getTypeByName(ndrangeStructName); -+ auto ndrangeTy = IGCLLVM::getTypeByName(module, ndrangeStructName); - if (ndrangeTy == nullptr) - { - //create struct type -@@ -1697,7 +1697,7 @@ namespace //Anonymous - // this generates string. Ie for char2 element_type is char and num_elements is 2 - // that is done by callin BaseTypeName on vector element type, this recursive call has only a depth of one since - // there are no compound vectors in OpenCL. -- auto vType = llvm::dyn_cast(type); -+ auto vType = llvm::dyn_cast(type); - return BaseTypeName(type->getContainedType(0), os) << vType->getNumElements(); - } - default: -diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/KernelArgs.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/KernelArgs.cpp -index 6448463d7d..7df7107961 100644 ---- a/IGC/Compiler/Optimizer/OpenCLPasses/KernelArgs.cpp -+++ b/IGC/Compiler/Optimizer/OpenCLPasses/KernelArgs.cpp -@@ -24,6 +24,7 @@ IN THE SOFTWARE. - - #include "Compiler/Optimizer/OpenCLPasses/KernelArgs.hpp" - #include "AdaptorCommon/ImplicitArgs.hpp" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "common/LLVMWarningsPush.hpp" - #include - #include -@@ -388,7 +389,7 @@ unsigned int KernelArg::calcAssociatedArgNo(const ImplicitArg& implicitArg, cons - - unsigned int KernelArg::getNumComponents() const - { -- if (VectorType * vecType = dyn_cast(m_arg->getType())) -+ if (IGCLLVM::FixedVectorType * vecType = dyn_cast(m_arg->getType())) - { - // Vector - return int_cast(vecType->getNumElements()); -diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/OpenCLPrintf/OpenCLPrintfResolution.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/OpenCLPrintf/OpenCLPrintfResolution.cpp -index 407748533e..9f375e1cb7 100644 ---- a/IGC/Compiler/Optimizer/OpenCLPasses/OpenCLPrintf/OpenCLPrintfResolution.cpp -+++ b/IGC/Compiler/Optimizer/OpenCLPasses/OpenCLPrintf/OpenCLPrintfResolution.cpp -@@ -739,7 +739,7 @@ Value* OpenCLPrintfResolution::fixupPrintfArg(CallInst& printfCall, Value* arg, - } - - Type* newType = Type::getFloatTy(arg->getContext()); -- if (auto argVT = dyn_cast(arg->getType())) -+ if (auto argVT = dyn_cast(arg->getType())) - { - newType = IGCLLVM::FixedVectorType::get(newType, (unsigned)argVT->getNumElements()); - } -@@ -769,7 +769,7 @@ void OpenCLPrintfResolution::preprocessPrintfArgs(CallInst& printfCall) - IGC::SHADER_PRINTF_TYPE argDataType = getPrintfArgDataType(arg); - arg = fixupPrintfArg(printfCall, arg, argDataType); - uint vecSize = 0; -- if (auto argVType = dyn_cast(argType)) { -+ if (auto argVType = dyn_cast(argType)) { - vecSize = (uint)argVType->getNumElements(); - } - m_argDescriptors.push_back(SPrintfArgDescriptor(argDataType, arg, vecSize)); -diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/PrivateMemory/PrivateMemoryResolution.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/PrivateMemory/PrivateMemoryResolution.cpp -index 03a4583771..0bade5aa7c 100644 ---- a/IGC/Compiler/Optimizer/OpenCLPasses/PrivateMemory/PrivateMemoryResolution.cpp -+++ b/IGC/Compiler/Optimizer/OpenCLPasses/PrivateMemory/PrivateMemoryResolution.cpp -@@ -29,6 +29,7 @@ IN THE SOFTWARE. - #include "Compiler/IGCPassSupport.h" - #include "Compiler/CISACodeGen/GenCodeGenModule.h" - #include "Compiler/CISACodeGen/LowerGEPForPrivMem.hpp" -+#include "llvmWrapper/IR/DerivedTypes.h" - #include "common/LLVMWarningsPush.hpp" - #include "llvm/Transforms/Utils/Local.h" - #include "llvm/IR/DataLayout.h" -@@ -614,7 +615,7 @@ class TransposeHelperPrivateMem : public TransposeHelper - Type* scalarptrTy = PointerType::get(scalarType, pLoad->getPointerAddressSpace()); - IGC_ASSERT(scalarType->getPrimitiveSizeInBits() / 8 == elementSize); - Value* vec = UndefValue::get(pLoad->getType()); -- auto pLoadVT = cast(pLoad->getType()); -+ auto pLoadVT = cast(pLoad->getType()); - for (unsigned i = 0, e = (unsigned)pLoadVT->getNumElements(); i < e; ++i) - { - Value* ptr = IRB.CreateIntToPtr(address, scalarptrTy); -@@ -653,7 +654,7 @@ class TransposeHelperPrivateMem : public TransposeHelper - IGC_ASSERT(scalarType->getPrimitiveSizeInBits() / 8 == elementSize); - Value* vec = pStore->getValueOperand(); - -- unsigned vecNumElts = (unsigned)cast(vec->getType())->getNumElements(); -+ unsigned vecNumElts = (unsigned)cast(vec->getType())->getNumElements(); - for (unsigned i = 0; i < vecNumElts; ++i) - { - Value* ptr = IRB.CreateIntToPtr(address, scalarptrTy); -@@ -717,7 +718,7 @@ bool PrivateMemoryResolution::testTransposedMemory(const Type* pTmpType, const T - } - else if(pTmpType->isVectorTy()) - { -- auto pTmpVType = cast(pTmpType); -+ auto pTmpVType = cast(pTmpType); - tmpAllocaSize *= pTmpVType->getNumElements(); - pTmpType = pTmpType->getContainedType(0); - ok = (nullptr != pTmpType); -@@ -825,6 +826,8 @@ bool PrivateMemoryResolution::resolveAllocaInstructions(bool privateOnStack) - - // Construct an empty DebugLoc. - IF_DEBUG_INFO(DebugLoc entryDebugLoc); -+ // Assign with the function location if available. -+ IF_DEBUG_INFO_IF(DISubprogram *subprogram = m_currFunction->getSubprogram(), entryDebugLoc = DILocation::get(subprogram->getContext(), subprogram->getLine(), 0, subprogram);); - IF_DEBUG_INFO(entryBuilder.SetCurrentDebugLocation(entryDebugLoc)); - - if (privateOnStack) -diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/ReplaceUnsupportedIntrinsics/ReplaceUnsupportedIntrinsics.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/ReplaceUnsupportedIntrinsics/ReplaceUnsupportedIntrinsics.cpp -index 1190330abc..bb2932d5da 100644 ---- a/IGC/Compiler/Optimizer/OpenCLPasses/ReplaceUnsupportedIntrinsics/ReplaceUnsupportedIntrinsics.cpp -+++ b/IGC/Compiler/Optimizer/OpenCLPasses/ReplaceUnsupportedIntrinsics/ReplaceUnsupportedIntrinsics.cpp -@@ -254,7 +254,7 @@ Instruction* ReplaceUnsupportedIntrinsics::insertLoop(Instruction* Loc, Value* L - Value* ReplaceUnsupportedIntrinsics::replicateScalar( - Value* ScalarVal, Type* Ty, Instruction* InsertBefore) - { -- VectorType* VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType* VTy = dyn_cast(Ty); - Type* ETy = VTy ? VTy->getElementType() : Ty; - uint32_t sBits = (unsigned int)ScalarVal->getType()->getPrimitiveSizeInBits(); - uint32_t nBits = (unsigned int)ETy->getPrimitiveSizeInBits(); -@@ -915,7 +915,7 @@ void ReplaceUnsupportedIntrinsics::replaceFunnelShift(IntrinsicInst* I) { - } - - Value* numBits = Builder.getIntN(sizeInBits, sizeInBits); -- if (auto IVT = dyn_cast(I->getType())) { -+ if (auto IVT = dyn_cast(I->getType())) { - numBits = ConstantVector::getSplat(IGCLLVM::getElementCount((uint32_t)IVT->getNumElements()), cast(numBits)); - } - auto shiftModulo = Builder.CreateURem(I->getArgOperand(2), numBits); -diff --git a/IGC/Compiler/Optimizer/OpenCLPasses/WIFuncs/WIFuncResolution.cpp b/IGC/Compiler/Optimizer/OpenCLPasses/WIFuncs/WIFuncResolution.cpp -index c9fed6746b..1882a8cc1f 100644 ---- a/IGC/Compiler/Optimizer/OpenCLPasses/WIFuncs/WIFuncResolution.cpp -+++ b/IGC/Compiler/Optimizer/OpenCLPasses/WIFuncs/WIFuncResolution.cpp -@@ -291,7 +291,7 @@ static Value* BuildLoadInst(CallInst& CI, unsigned int Offset, Type* DataType) - auto Size = ElemByteSize; - if (DataType->isVectorTy()) - { -- Size *= DataType->getVectorNumElements(); -+ Size *= (unsigned int)cast(DataType)->getNumElements(); - } - unsigned int AlignedOffset = (Offset / ElemByteSize) * ElemByteSize; - unsigned int LoadByteSize = (Offset == AlignedOffset) ? Size : Size * 2; -diff --git a/IGC/Compiler/Optimizer/PreCompiledFuncImport.cpp b/IGC/Compiler/Optimizer/PreCompiledFuncImport.cpp -index 9a77ec5386..09efed958d 100644 ---- a/IGC/Compiler/Optimizer/PreCompiledFuncImport.cpp -+++ b/IGC/Compiler/Optimizer/PreCompiledFuncImport.cpp -@@ -341,7 +341,7 @@ bool PreCompiledFuncImport::preProcessDouble() - } - else - { -- uint32_t vectorSize = cast(Inst->getType())->getNumElements(); -+ uint32_t vectorSize = cast(Inst->getType())->getNumElements(); - fsub = llvm::UndefValue::get(Inst->getType()); - - for (uint32_t i = 0; i < vectorSize; ++i) -@@ -967,7 +967,7 @@ void PreCompiledFuncImport::processDivide(BinaryOperator& inst, EmulatedFunction - - Type* argumentType = inst.getOperand(0)->getType(); - -- if (auto argumentVType = dyn_cast(argumentType)) -+ if (auto argumentVType = dyn_cast(argumentType)) - { - numElements = (unsigned)argumentVType->getNumElements(); - } -diff --git a/IGC/Compiler/Optimizer/Scalarizer.cpp b/IGC/Compiler/Optimizer/Scalarizer.cpp -index 09e1cc9858..3882f4140e 100644 ---- a/IGC/Compiler/Optimizer/Scalarizer.cpp -+++ b/IGC/Compiler/Optimizer/Scalarizer.cpp -@@ -419,7 +419,7 @@ void ScalarizeFunction::scalarizeInstruction(BinaryOperator* BI) - { - V_PRINT(scalarizer, "\t\tBinary instruction\n"); - IGC_ASSERT_MESSAGE(BI, "instruction type dynamic cast failed"); -- VectorType* instType = dyn_cast(BI->getType()); -+ IGCLLVM::FixedVectorType* instType = dyn_cast(BI->getType()); - // Only need handling for vector binary ops - if (!instType) return; - -@@ -479,7 +479,7 @@ void ScalarizeFunction::scalarizeInstruction(CmpInst* CI) - { - V_PRINT(scalarizer, "\t\tCompare instruction\n"); - IGC_ASSERT_MESSAGE(CI, "instruction type dynamic cast failed"); -- VectorType* instType = dyn_cast(CI->getType()); -+ IGCLLVM::FixedVectorType* instType = dyn_cast(CI->getType()); - // Only need handling for vector compares - if (!instType) return; - -@@ -527,13 +527,13 @@ void ScalarizeFunction::scalarizeInstruction(CastInst* CI) - { - V_PRINT(scalarizer, "\t\tCast instruction\n"); - IGC_ASSERT_MESSAGE(CI, "instruction type dynamic cast failed"); -- VectorType* instType = dyn_cast(CI->getType()); -+ IGCLLVM::FixedVectorType* instType = dyn_cast(CI->getType()); - - // For BitCast - we only scalarize if src and dst types have same vector length - if (isa(CI)) - { - if (!instType) return recoverNonScalarizableInst(CI); -- VectorType* srcType = dyn_cast(CI->getOperand(0)->getType()); -+ IGCLLVM::FixedVectorType* srcType = dyn_cast(CI->getOperand(0)->getType()); - if (!srcType || (instType->getNumElements() != srcType->getNumElements())) - { - return recoverNonScalarizableInst(CI); -@@ -588,7 +588,7 @@ void ScalarizeFunction::scalarizeInstruction(PHINode* PI) - { - V_PRINT(scalarizer, "\t\tPHI instruction\n"); - IGC_ASSERT_MESSAGE(PI, "instruction type dynamic cast failed"); -- VectorType* instType = dyn_cast(PI->getType()); -+ IGCLLVM::FixedVectorType* instType = dyn_cast(PI->getType()); - // Only need handling for vector PHI - if (!instType) return; - -@@ -699,7 +699,7 @@ void ScalarizeFunction::scalarizeInstruction(SelectInst* SI) - { - V_PRINT(scalarizer, "\t\tSelect instruction\n"); - IGC_ASSERT_MESSAGE(SI, "instruction type dynamic cast failed"); -- VectorType* instType = dyn_cast(SI->getType()); -+ IGCLLVM::FixedVectorType* instType = dyn_cast(SI->getType()); - // Only need handling for vector select - if (!instType) return; - -@@ -781,7 +781,7 @@ void ScalarizeFunction::scalarizeInstruction(ExtractElementInst* EI) - - // Connect the "extracted" value to all its consumers - uint64_t scalarIndex = cast(scalarIndexVal)->getZExtValue(); -- auto valueVType = cast(vectorValue->getType()); -+ auto valueVType = cast(vectorValue->getType()); - if (static_cast(scalarIndex) < (unsigned)valueVType->getNumElements()) - { - IGC_ASSERT_MESSAGE(NULL != operand[static_cast(scalarIndex)], "SCM error"); -@@ -845,7 +845,7 @@ void ScalarizeFunction::scalarizeInstruction(InsertElementInst* II) - if (isa(sourceVectorValue)) - { - // Scalarize the undef value (generate a scalar undef) -- VectorType* inputVectorType = dyn_cast(sourceVectorValue->getType()); -+ IGCLLVM::FixedVectorType* inputVectorType = dyn_cast(sourceVectorValue->getType()); - IGC_ASSERT_MESSAGE(inputVectorType, "expected vector argument"); - - UndefValue* undefVal = UndefValue::get(inputVectorType->getElementType()); -@@ -886,7 +886,7 @@ void ScalarizeFunction::scalarizeInstruction(ShuffleVectorInst* SI) - IGC_ASSERT(nullptr != sourceVector0Value); - Value* sourceVector1Value = SI->getOperand(1); - IGC_ASSERT(nullptr != sourceVector1Value); -- VectorType* const inputType = dyn_cast(sourceVector0Value->getType()); -+ IGCLLVM::FixedVectorType* const inputType = dyn_cast(sourceVector0Value->getType()); - IGC_ASSERT_MESSAGE(nullptr != inputType, "vector input error"); - IGC_ASSERT_MESSAGE(inputType == sourceVector1Value->getType(), "vector input error"); - unsigned sourceVectorWidth = int_cast(inputType->getNumElements()); -@@ -908,7 +908,7 @@ void ScalarizeFunction::scalarizeInstruction(ShuffleVectorInst* SI) - - // Generate array for shuffled scalar values - SmallVectornewVector; -- unsigned width = int_cast(SI->getType()->getNumElements()); -+ unsigned width = int_cast(cast(SI->getType())->getNumElements()); - - // Generate undef value, which may be needed as some scalar elements - UndefValue* undef = UndefValue::get(inputType->getElementType()); -@@ -977,7 +977,7 @@ void ScalarizeFunction::scalarizeInstruction(GetElementPtrInst* GI) - - if (baseValue->getType()->isVectorTy()) - { -- width = int_cast(dyn_cast(baseValue->getType())->getNumElements()); -+ width = int_cast(dyn_cast(baseValue->getType())->getNumElements()); - // Obtain the scalarized operands - obtainScalarizedValues(operand1, NULL, baseValue, GI); - ptrTy = dyn_cast(baseValue->getType())->getElementType(); -@@ -988,7 +988,7 @@ void ScalarizeFunction::scalarizeInstruction(GetElementPtrInst* GI) - } - if (indexValue->getType()->isVectorTy()) - { -- width = int_cast(dyn_cast(indexValue->getType())->getNumElements()); -+ width = int_cast(dyn_cast(indexValue->getType())->getNumElements()); - // Obtain the scalarized operands - obtainScalarizedValues(operand2, NULL, indexValue, GI); - } -@@ -1027,7 +1027,7 @@ void ScalarizeFunction::obtainScalarizedValues(SmallVectorImpl& retValue - { - V_PRINT(scalarizer, "\t\t\tObtaining scalar value... " << *origValue << "\n"); - -- VectorType* origType = dyn_cast(origValue->getType()); -+ IGCLLVM::FixedVectorType* origType = dyn_cast(origValue->getType()); - IGC_ASSERT_MESSAGE(origType, "Value must have a vector type!"); - unsigned width = int_cast(origType->getNumElements()); - -@@ -1186,7 +1186,7 @@ void ScalarizeFunction::obtainVectorValueWhichMightBeScalarizedImpl(Value* vecto - } - - Value* assembledVector = UndefValue::get(vectorVal->getType()); -- unsigned width = int_cast(dyn_cast(vectorVal->getType())->getNumElements()); -+ unsigned width = int_cast(dyn_cast(vectorVal->getType())->getNumElements()); - for (unsigned i = 0; i < width; i++) - { - IGC_ASSERT_MESSAGE(NULL != valueEntry->scalarValues[i], "SCM entry has NULL value"); -@@ -1246,7 +1246,7 @@ void ScalarizeFunction::updateSCMEntryWithValues(ScalarizeFunction::SCMEntry* en - bool matchDbgLoc) - { - IGC_ASSERT_MESSAGE((origValue->getType()->isArrayTy() || origValue->getType()->isVectorTy()), "only Vector values are supported"); -- unsigned width = int_cast(dyn_cast(origValue->getType())->getNumElements()); -+ unsigned width = int_cast(dyn_cast(origValue->getType())->getNumElements()); - - entry->isOriginalVectorRemoved = isOrigValueRemoved; - -@@ -1316,7 +1316,7 @@ void ScalarizeFunction::resolveDeferredInstructions() - Instruction* vectorInst = dyn_cast(current.unresolvedInst); - IGC_ASSERT_MESSAGE(vectorInst, "DRL only handles unresolved instructions"); - -- VectorType* currType = dyn_cast(vectorInst->getType()); -+ IGCLLVM::FixedVectorType* currType = dyn_cast(vectorInst->getType()); - IGC_ASSERT_MESSAGE(currType, "Cannot have DRL of non-vector value"); - unsigned width = int_cast(currType->getNumElements()); - -diff --git a/IGC/Compiler/Optimizer/ValueTracker.cpp b/IGC/Compiler/Optimizer/ValueTracker.cpp -index ac02746e3f..8c0619edcc 100644 ---- a/IGC/Compiler/Optimizer/ValueTracker.cpp -+++ b/IGC/Compiler/Optimizer/ValueTracker.cpp -@@ -178,7 +178,7 @@ Value* ValueTracker::handleExtractElement(ExtractElementInst* E) - { - auto mask = I->getShuffleMask(); - uint shuffleidx = int_cast(mask[(uint)idx]); -- auto vType = dyn_cast(I->getOperand(0)->getType()); -+ auto vType = dyn_cast(I->getOperand(0)->getType()); - baseValue = (shuffleidx < vType->getNumElements()) ? - I->getOperand(0) : I->getOperand(1); - } -diff --git a/IGC/Compiler/VerificationPass.cpp b/IGC/Compiler/VerificationPass.cpp -index 98437d79dd..40d50f5a19 100644 ---- a/IGC/Compiler/VerificationPass.cpp -+++ b/IGC/Compiler/VerificationPass.cpp -@@ -302,7 +302,7 @@ bool VerificationPass::verifyType(Type* type, Value* val) - - case IGCLLVM::VectorTyID: - { -- auto VType = cast(type); -+ auto VType = cast(type); - unsigned typeSize = (unsigned)VType->getNumElements(); - if (!m_IGC_IR_spec.vectorTypeSizes.count(typeSize)) - { -diff --git a/IGC/DebugInfo/DebugInfoUtils.hpp b/IGC/DebugInfo/DebugInfoUtils.hpp -index 7f2e288acd..88b30a75ff 100644 ---- a/IGC/DebugInfo/DebugInfoUtils.hpp -+++ b/IGC/DebugInfo/DebugInfoUtils.hpp -@@ -108,7 +108,7 @@ namespace IGC - IGCLLVM::DIBuilder Builder(M); - llvm::DIGlobalVariable* GV = GVs[j]->getVariable(); - llvm::DIScope* scopeToUse = GV->getScope(); -- llvm::DILocation* locToUse = llvm::DebugLoc::get(GV->getLine(), 0, scopeToUse, loc); -+ llvm::DILocation* locToUse = llvm::DILocation::get(scopeToUse->getContext(), GV->getLine(), 0, scopeToUse, loc); - if (llvm::isa(GV->getScope())) - { - // Function has no DebugLoc so it is either internal -diff --git a/IGC/DebugInfo/DwarfDebug.cpp b/IGC/DebugInfo/DwarfDebug.cpp -index e86ea69a5c..b251531b21 100644 ---- a/IGC/DebugInfo/DwarfDebug.cpp -+++ b/IGC/DebugInfo/DwarfDebug.cpp -@@ -2168,9 +2168,9 @@ static DebugLoc getFnDebugLoc(DebugLoc DL, const LLVMContext& Ctx) - // Check for number of operands since the compatibility is cheap here. - if (SP->getNumOperands() > 19) - { -- return DebugLoc::get(SP->getScopeLine(), 0, SP); -+ return DILocation::get(SP->getContext(), SP->getScopeLine(), 0, SP); - } -- return DebugLoc::get(SP->getLine(), 0, SP); -+ return DILocation::get(SP->getContext(), SP->getLine(), 0, SP); - } - - return DebugLoc(); -diff --git a/IGC/GenISAIntrinsics/GenIntrinsics.cpp b/IGC/GenISAIntrinsics/GenIntrinsics.cpp -index 708cfdaa6a..772155b214 100644 ---- a/IGC/GenISAIntrinsics/GenIntrinsics.cpp -+++ b/IGC/GenISAIntrinsics/GenIntrinsics.cpp -@@ -204,7 +204,7 @@ static Type *DecodeFixedType(ArrayRef &Infos, - case IITDescriptor::SameVecWidthArgument: { - Type *EltTy = DecodeFixedType(Infos, Tys, Context); - Type *Ty = Tys[D.getArgumentNumber()]; -- if (VectorType *VTy = dyn_cast(Ty)) { -+ if (IGCLLVM::FixedVectorType *VTy = dyn_cast(Ty)) { - return IGCLLVM::FixedVectorType::get(EltTy, int_cast(VTy->getNumElements())); - } - IGC_ASSERT_EXIT_MESSAGE(0, "unhandled"); -@@ -215,7 +215,7 @@ static Type *DecodeFixedType(ArrayRef &Infos, - } - case IITDescriptor::VecOfPtrsToElt: { - Type *Ty = Tys[D.getArgumentNumber()]; -- VectorType *VTy = dyn_cast(Ty); -+ IGCLLVM::FixedVectorType *VTy = dyn_cast(Ty); - if (!VTy) - IGC_ASSERT_EXIT_MESSAGE(0, "Expected an argument of Vector Type"); - Type *EltTy = cast(VTy)->getElementType(); -@@ -434,7 +434,7 @@ static std::string getMangledTypeStr(Type* Ty) { - Result += "f"; - } - else if (isa(Ty)) -- Result += "v" + utostr(cast(Ty)->getNumElements()) + -+ Result += "v" + utostr(cast(Ty)->getNumElements()) + - getMangledTypeStr(cast(Ty)->getElementType()); - else if (Ty) - Result += EVT::getEVT(Ty).getEVTString(); -diff --git a/IGC/LLVM3DBuilder/BuiltinsFrontendDefinitions.hpp b/IGC/LLVM3DBuilder/BuiltinsFrontendDefinitions.hpp -index af20473ff4..79f74d3301 100644 ---- a/IGC/LLVM3DBuilder/BuiltinsFrontendDefinitions.hpp -+++ b/IGC/LLVM3DBuilder/BuiltinsFrontendDefinitions.hpp -@@ -4989,7 +4989,7 @@ void LLVM3DBuilder::VectorToScalars( - IGC_ASSERT(nullptr != vector->getType()); - IGC_ASSERT(vector->getType()->isVectorTy()); - -- const unsigned count = (unsigned)llvm::cast(vector->getType())->getNumElements(); -+ const unsigned count = (unsigned)llvm::cast(vector->getType())->getNumElements(); - IGC_ASSERT(1 < count); - IGC_ASSERT(count <= 4); - IGC_ASSERT(count <= maxSize); -diff --git a/IGC/WrapperLLVM/include/llvmWrapper/IR/DerivedTypes.h b/IGC/WrapperLLVM/include/llvmWrapper/IR/DerivedTypes.h -index 8b67bdf410..307eeaf907 100644 ---- a/IGC/WrapperLLVM/include/llvmWrapper/IR/DerivedTypes.h -+++ b/IGC/WrapperLLVM/include/llvmWrapper/IR/DerivedTypes.h -@@ -27,6 +27,7 @@ IN THE SOFTWARE. - - #include "llvm/Config/llvm-config.h" - #include "llvm/IR/DerivedTypes.h" -+#include "llvm/IR/Module.h" - - namespace IGCLLVM - { -@@ -60,6 +61,15 @@ namespace IGCLLVM - return false; - #endif - } -+ -+ inline llvm::StructType *getTypeByName(llvm::Module *M, llvm::StringRef Name) { -+#if LLVM_VERSION_MAJOR >= 12 -+ return llvm::StructType::getTypeByName(M->getContext(), Name); -+#else -+ return M->getTypeByName(Name); -+#endif -+ } -+ - } - - #endif -diff --git a/IGC/WrapperLLVM/include/llvmWrapper/Support/TypeSize.h b/IGC/WrapperLLVM/include/llvmWrapper/Support/TypeSize.h -index e8b5621a58..f5abae93c2 100644 ---- a/IGC/WrapperLLVM/include/llvmWrapper/Support/TypeSize.h -+++ b/IGC/WrapperLLVM/include/llvmWrapper/Support/TypeSize.h -@@ -33,10 +33,14 @@ using namespace llvm; - namespace IGCLLVM { - #if LLVM_VERSION_MAJOR < 11 - inline unsigned getElementCount(unsigned EC) { return EC; } --#else -+#elif LLVM_VERSION_MAJOR == 11 - inline ElementCount getElementCount(unsigned EC) { - return ElementCount(EC, false); - } -+#else -+inline ElementCount getElementCount(unsigned EC) { -+ return ElementCount::get(EC, false); -+} - #endif - } // namespace IGCLLVM - -diff --git a/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Scalar.h b/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Scalar.h -index df56f417bd..97c627347c 100644 ---- a/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Scalar.h -+++ b/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Scalar.h -@@ -42,7 +42,7 @@ namespace IGCLLVM - { - return llvm::createLoopUnrollPass(OptLevel, false, Threshold, Count, AllowPartial, Runtime, UpperBound, AllowPeeling); - } --#elif LLVM_VERSION_MAJOR == 9 || LLVM_VERSION_MAJOR == 10 || LLVM_VERSION_MAJOR == 11 -+#elif LLVM_VERSION_MAJOR >= 9 && LLVM_VERSION_MAJOR <= 12 - inline static llvm::Pass * createLoopUnrollPass( - int OptLevel = 2, int Threshold = -1, int Count = -1, - int AllowPartial = -1, int Runtime = -1, -@@ -50,7 +50,7 @@ namespace IGCLLVM - { - return llvm::createLoopUnrollPass(OptLevel, false, false, Threshold, Count, AllowPartial, Runtime, UpperBound, AllowPeeling); - } --#elif LLVM_VERSION_MAJOR >= 12 -+#else - //DO NOT assume same function signature for all incoming llvm versions! Double check to upgrade! - #error Not supported llvm version. - #endif -diff --git a/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Utils/LoopUtils.h b/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Utils/LoopUtils.h -index 6868b09fbe..78a55949aa 100644 ---- a/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Utils/LoopUtils.h -+++ b/IGC/WrapperLLVM/include/llvmWrapper/Transforms/Utils/LoopUtils.h -@@ -39,6 +39,14 @@ namespace IGCLLVM - return llvm::InsertPreheaderForLoop(L, DT, LI, nullptr, PreserveLCSSA); - } - #endif -+ -+ inline bool isInnermost(llvm::Loop *L) { -+#if LLVM_VERSION_MAJOR >= 12 -+ return L->isInnermost(); -+#else -+ return L->empty(); -+#endif -+ } - } - - #endif -diff --git a/IGC/common/igc_resourceDimTypes.h b/IGC/common/igc_resourceDimTypes.h -index 6831b06c8e..d790330fb8 100644 ---- a/IGC/common/igc_resourceDimTypes.h -+++ b/IGC/common/igc_resourceDimTypes.h -@@ -66,6 +66,11 @@ namespace IGC - resourceDimTypeId == DIM_2D_TYPE || resourceDimTypeId == DIM_2D_ARRAY_TYPE || - resourceDimTypeId == DIM_3D_TYPE || resourceDimTypeId == DIM_CUBE_TYPE || resourceDimTypeId == DIM_CUBE_ARRAY_TYPE)); - -+#if LLVM_VERSION_MAJOR >= 12 -+ llvm::LLVMContext& llvmCtx = module.getContext(); -+ return llvm::StructType::getTypeByName(llvmCtx, ResourceDimensionTypeName[resourceDimTypeId]); -+#else - return module.getTypeByName(ResourceDimensionTypeName[resourceDimTypeId]); -+#endif - } - } -\ No newline at end of file diff --git a/files/more-build-fixes-for-LLVM-12.patch b/files/more-build-fixes-for-LLVM-12.patch deleted file mode 100644 --- a/files/more-build-fixes-for-LLVM-12.patch +++ /dev/null @@ -1,125 +0,0 @@ -diff -upr intel-graphics-compiler-igc-1.0.7423.orig/IGC/Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.cpp intel-graphics-compiler-igc-1.0.7423/IGC/Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.cpp ---- intel-graphics-compiler-igc-1.0.7423.orig/IGC/Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.cpp 2021-05-30 03:57:50.000000000 +0000 -+++ intel-graphics-compiler-igc-1.0.7423/IGC/Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.cpp 2021-05-30 03:58:49.407617885 +0000 -@@ -7,6 +7,9 @@ SPDX-License-Identifier: MIT - ============================= end_copyright_notice ===========================*/ - - #include "llvm/Config/llvm-config.h" -+#if LLVM_VERSION_MAJOR >= 12 -+#include "llvm/Analysis/TargetLibraryInfo.h" -+#endif - #include "Compiler/Optimizer/OpenCLPasses/AddressSpaceAliasAnalysis/AddressSpaceAliasAnalysis.h" - #include "Compiler/CodeGenPublic.h" - #include "Compiler/IGCPassSupport.h" -diff -upr intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/igcdeps/src/ShaderOverride.cpp intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/igcdeps/src/ShaderOverride.cpp ---- intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/igcdeps/src/ShaderOverride.cpp 2021-05-30 03:57:50.000000000 +0000 -+++ intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/igcdeps/src/ShaderOverride.cpp 2021-05-30 03:58:49.410951420 +0000 -@@ -78,7 +78,7 @@ static std::string legalizeName(std::str - bool VC_IGCShaderOverrider::override(void *&GenXBin, int &GenXBinSize, - llvm::StringRef ShaderName, - Extensions Ext) const { -- std::string const LegalizedShaderName = legalizeName(ShaderName); -+ std::string const LegalizedShaderName = legalizeName(ShaderName.str()); - std::string const FullPath = path(LegalizedShaderName, Ext); - bool Status = false; - -diff -upr intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/lib/GenXCodeGen/GenXCFSimplification.cpp intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/lib/GenXCodeGen/GenXCFSimplification.cpp ---- intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/lib/GenXCodeGen/GenXCFSimplification.cpp 2021-05-30 03:57:50.000000000 +0000 -+++ intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/lib/GenXCodeGen/GenXCFSimplification.cpp 2021-05-30 04:15:43.651839453 +0000 -@@ -301,8 +301,8 @@ BasicBlock *GenXCFSimplification::proces - while (Restart) { - Restart = false; - for (auto ui = I->use_begin(), ue = I->use_end(); ui != ue; ++ui) -- if (recursivelySimplifyInstruction( -- cast(ui->getUser()))) { -+ if (replaceAndRecursivelySimplify( -+ cast(ui->getUser()), nullptr)) { - Restart = true; - break; - } -diff -upr intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.cpp intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.cpp ---- intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.cpp 2021-05-30 03:57:50.000000000 +0000 -+++ intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.cpp 2021-05-30 03:58:49.410951420 +0000 -@@ -94,12 +94,20 @@ void GenXSubtarget::resetSubtargetFeatur - if (CPUName.empty()) - CPUName = "generic"; - -- ParseSubtargetFeatures(CPUName, FS); -+ ParseSubtargetFeatures(CPUName, -+#if LLVM_VERSION_MAJOR >= 12 -+ /*TuneCPU*/ CPUName, -+#endif -+ FS); - } - - GenXSubtarget::GenXSubtarget(const Triple &TT, const std::string &CPU, - const std::string &FS) -- : GenXGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT) { -+ : GenXGenSubtargetInfo(TT, CPU, -+#if LLVM_VERSION_MAJOR >= 12 -+ /*TuneCPU*/ CPU, -+#endif -+ FS), TargetTriple(TT) { - - resetSubtargetFeatures(CPU, FS); - } -diff -upr intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.h intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.h ---- intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.h 2021-05-30 03:57:50.000000000 +0000 -+++ intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.h 2021-05-30 03:58:49.410951420 +0000 -@@ -139,7 +139,11 @@ public: - - // ParseSubtargetFeatures - Parses features string setting specified - // subtarget options. Definition of function is auto generated by tblgen. -- void ParseSubtargetFeatures(StringRef CPU, StringRef FS); -+ void ParseSubtargetFeatures(StringRef CPU, -+#if LLVM_VERSION_MAJOR >= 12 -+ StringRef TuneCPU, -+#endif -+ StringRef FS); - - // \brief Reset the features for the GenX target. - void resetSubtargetFeatures(StringRef CPU, StringRef FS); -diff -upr intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/lib/GenXOpts/CMPacketize/gen_builder.hpp intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/lib/GenXOpts/CMPacketize/gen_builder.hpp ---- intel-graphics-compiler-igc-1.0.7423.orig/IGC/VectorCompiler/lib/GenXOpts/CMPacketize/gen_builder.hpp 2021-05-30 03:57:50.000000000 +0000 -+++ intel-graphics-compiler-igc-1.0.7423/IGC/VectorCompiler/lib/GenXOpts/CMPacketize/gen_builder.hpp 2021-05-30 04:12:27.043415543 +0000 -@@ -136,16 +136,6 @@ CallInst* INT_MIN_REDUCE(Value *Src, boo - return IRB()->CreateIntMinReduce(Src, IsSigned); - } - --CallInst* FP_MAX_REDUCE(Value *Src, bool NoNaN = false) --{ -- return IRB()->CreateFPMaxReduce(Src, NoNaN); --} -- --CallInst* FP_MIN_REDUCE(Value *Src, bool NoNaN = false) --{ -- return IRB()->CreateFPMinReduce(Src, NoNaN); --} -- - CallInst* LIFETIME_START(Value *Ptr, ConstantInt *Size = nullptr) - { - return IRB()->CreateLifetimeStart(Ptr, Size); -@@ -186,11 +176,6 @@ CallInst* GC_STATEPOINT_CALL(uint64_t ID - return IRB()->CreateGCStatepointCall(ID, NumPatchBytes, ActualCallee, CallArgs, DeoptArgs, GCArgs, Name); - } - --CallInst* GC_STATEPOINT_CALL(uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, uint32_t Flags, ArrayRef CallArgs, ArrayRef TransitionArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") --{ -- return IRB()->CreateGCStatepointCall(ID, NumPatchBytes, ActualCallee, Flags, CallArgs, TransitionArgs, DeoptArgs, GCArgs, Name); --} -- - CallInst* GC_STATEPOINT_CALL(uint64_t ID, uint32_t NumPatchBytes, Value *ActualCallee, ArrayRef CallArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") - { - return IRB()->CreateGCStatepointCall(ID, NumPatchBytes, ActualCallee, CallArgs, DeoptArgs, GCArgs, Name); -@@ -201,11 +186,6 @@ InvokeInst* GC_STATEPOINT_INVOKE(uint64_ - return IRB()->CreateGCStatepointInvoke(ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, InvokeArgs, DeoptArgs, GCArgs, Name); - } - --InvokeInst* GC_STATEPOINT_INVOKE(uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, uint32_t Flags, ArrayRef InvokeArgs, ArrayRef TransitionArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") --{ -- return IRB()->CreateGCStatepointInvoke(ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, Flags, InvokeArgs, TransitionArgs, DeoptArgs, GCArgs, Name); --} -- - InvokeInst* GC_STATEPOINT_INVOKE(uint64_t ID, uint32_t NumPatchBytes, Value *ActualInvokee, BasicBlock *NormalDest, BasicBlock *UnwindDest, ArrayRef InvokeArgs, ArrayRef DeoptArgs, ArrayRef GCArgs, const Twine &Name = "") - { - return IRB()->CreateGCStatepointInvoke(ID, NumPatchBytes, ActualInvokee, NormalDest, UnwindDest, InvokeArgs, DeoptArgs, GCArgs, Name); diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : intel-graphics-compiler -version : 1.0.7423 -release : 4 +version : 1.0.7862 +release : 5 source : - - https://github.com/intel/intel-graphics-compiler/archive/refs/tags/igc-1.0.7423.tar.gz : 4213710fcb5a299a1fc4c7429375312f7875b9efab2323e6e180ba908ba4cb00 + - https://github.com/intel/intel-graphics-compiler/archive/refs/tags/igc-1.0.7862.tar.gz : 47c6e5e344f3dccb0ebc40664c3b76f15fdd4b43a90ed38ead00695cbf154ef4 license : MIT component : programming.tools homepage : https://github.com/intel/intel-graphics-compiler/ @@ -13,8 +13,8 @@ builddeps : - opencl-clang-devel setup : | - %patch -p1 < $pkgfiles/llvm12.patch - %patch -p1 < $pkgfiles/more-build-fixes-for-LLVM-12.patch + %patch -p1 < $pkgfiles/0003-Port-to-LLVM-12.patch + %patch -p1 < $pkgfiles/0004-link-pthread.patch # disable warnings as errors sed -i 's|-Werror||g' IGC/CMakeLists.txt diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -3,8 +3,8 @@ intel-graphics-compiler https://github.com/intel/intel-graphics-compiler/ - Joey Riches - josephriches@gmail.com + Campbell Jones + dev@serebit.com MIT programming.tools @@ -38,7 +38,7 @@ programming.devel - intel-graphics-compiler + intel-graphics-compiler /usr/include/iga/iga.h @@ -137,12 +137,12 @@ - - 2021-07-15 - 1.0.7423 + + 2021-08-02 + 1.0.7862 Packaging update - Joey Riches - josephriches@gmail.com + Campbell Jones + dev@serebit.com \ No newline at end of file