diff --git a/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp b/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp index b4d2d371d9a7..040f72562cac 100644 --- a/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp +++ b/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp @@ -3859,55 +3859,98 @@ void populateCIRToLLVMConversionPatterns( stringGlobalsMap, argStringGlobalsMap, argsVarMap, patterns.getContext()); patterns.add< - CIRToLLVMCmpOpLowering, CIRToLLVMSelectOpLowering, - CIRToLLVMBitClrsbOpLowering, CIRToLLVMBitClzOpLowering, - CIRToLLVMBitCtzOpLowering, CIRToLLVMBitFfsOpLowering, - CIRToLLVMBitParityOpLowering, CIRToLLVMBitPopcountOpLowering, - CIRToLLVMAtomicCmpXchgLowering, CIRToLLVMAtomicXchgLowering, - CIRToLLVMAtomicFetchLowering, CIRToLLVMByteswapOpLowering, - CIRToLLVMRotateOpLowering, CIRToLLVMBrCondOpLowering, - CIRToLLVMPtrStrideOpLowering, CIRToLLVMCallOpLowering, - CIRToLLVMTryCallOpLowering, CIRToLLVMEhInflightOpLowering, - CIRToLLVMUnaryOpLowering, CIRToLLVMBinOpLowering, - CIRToLLVMBinOpOverflowOpLowering, CIRToLLVMShiftOpLowering, - CIRToLLVMLoadOpLowering, CIRToLLVMConstantOpLowering, - CIRToLLVMStoreOpLowering, CIRToLLVMFuncOpLowering, - CIRToLLVMCastOpLowering, CIRToLLVMGlobalOpLowering, - CIRToLLVMGetGlobalOpLowering, CIRToLLVMComplexCreateOpLowering, - CIRToLLVMComplexRealOpLowering, CIRToLLVMComplexImagOpLowering, - CIRToLLVMComplexRealPtrOpLowering, CIRToLLVMComplexImagPtrOpLowering, - CIRToLLVMVAStartOpLowering, CIRToLLVMVAEndOpLowering, - CIRToLLVMVACopyOpLowering, CIRToLLVMVAArgOpLowering, - CIRToLLVMBrOpLowering, CIRToLLVMGetMemberOpLowering, - CIRToLLVMGetRuntimeMemberOpLowering, CIRToLLVMSwitchFlatOpLowering, - CIRToLLVMPtrDiffOpLowering, CIRToLLVMCopyOpLowering, - CIRToLLVMMemCpyOpLowering, CIRToLLVMMemChrOpLowering, - CIRToLLVMAbsOpLowering, CIRToLLVMExpectOpLowering, - CIRToLLVMVTableAddrPointOpLowering, CIRToLLVMVecCreateOpLowering, - CIRToLLVMVecCmpOpLowering, CIRToLLVMVecSplatOpLowering, - CIRToLLVMVecTernaryOpLowering, CIRToLLVMVecShuffleDynamicOpLowering, - CIRToLLVMVecShuffleOpLowering, CIRToLLVMStackSaveOpLowering, - CIRToLLVMUnreachableOpLowering, CIRToLLVMTrapOpLowering, - CIRToLLVMInlineAsmOpLowering, CIRToLLVMSetBitfieldOpLowering, - CIRToLLVMGetBitfieldOpLowering, CIRToLLVMPrefetchOpLowering, - CIRToLLVMObjSizeOpLowering, CIRToLLVMIsConstantOpLowering, - CIRToLLVMCmpThreeWayOpLowering, CIRToLLVMMemCpyOpLowering, - CIRToLLVMIsConstantOpLowering, CIRToLLVMCmpThreeWayOpLowering, - CIRToLLVMReturnAddrOpLowering, CIRToLLVMClearCacheOpLowering, - CIRToLLVMEhTypeIdOpLowering, CIRToLLVMCatchParamOpLowering, - CIRToLLVMResumeOpLowering, CIRToLLVMAllocExceptionOpLowering, - CIRToLLVMFreeExceptionOpLowering, CIRToLLVMThrowOpLowering, - CIRToLLVMLLVMIntrinsicCallOpLowering, CIRToLLVMAssumeOpLowering, - CIRToLLVMAssumeAlignedOpLowering, CIRToLLVMAssumeSepStorageOpLowering, - CIRToLLVMBaseClassAddrOpLowering, CIRToLLVMDerivedClassAddrOpLowering, - CIRToLLVMVTTAddrPointOpLowering, CIRToLLVMIsFPClassOpLowering, - CIRToLLVMAbsOpLowering, CIRToLLVMMemMoveOpLowering, - CIRToLLVMMemSetOpLowering, CIRToLLVMMemSetInlineOpLowering, - CIRToLLVMMemCpyInlineOpLowering, CIRToLLVMSignBitOpLowering, - CIRToLLVMPtrMaskOpLowering + // clang-format off + CIRToLLVMAbsOpLowering, + CIRToLLVMAllocExceptionOpLowering, + CIRToLLVMAssumeAlignedOpLowering, + CIRToLLVMAssumeOpLowering, + CIRToLLVMAssumeSepStorageOpLowering, + CIRToLLVMAtomicCmpXchgLowering, + CIRToLLVMAtomicFetchLowering, + CIRToLLVMAtomicXchgLowering, + CIRToLLVMBaseClassAddrOpLowering, + CIRToLLVMBinOpLowering, + CIRToLLVMBinOpOverflowOpLowering, + CIRToLLVMBitClrsbOpLowering, + CIRToLLVMBitClzOpLowering, + CIRToLLVMBitCtzOpLowering, + CIRToLLVMBitFfsOpLowering, + CIRToLLVMBitParityOpLowering, + CIRToLLVMBitPopcountOpLowering, + CIRToLLVMBrCondOpLowering, + CIRToLLVMBrOpLowering, + CIRToLLVMByteswapOpLowering, + CIRToLLVMCallOpLowering, + CIRToLLVMCastOpLowering, + CIRToLLVMCatchParamOpLowering, + CIRToLLVMClearCacheOpLowering, + CIRToLLVMCmpOpLowering, + CIRToLLVMCmpThreeWayOpLowering, + CIRToLLVMComplexCreateOpLowering, + CIRToLLVMComplexImagOpLowering, + CIRToLLVMComplexImagPtrOpLowering, + CIRToLLVMComplexRealOpLowering, + CIRToLLVMComplexRealPtrOpLowering, + CIRToLLVMConstantOpLowering, + CIRToLLVMCopyOpLowering, + CIRToLLVMDerivedClassAddrOpLowering, + CIRToLLVMEhInflightOpLowering, + CIRToLLVMEhTypeIdOpLowering, + CIRToLLVMExpectOpLowering, + CIRToLLVMFreeExceptionOpLowering, + CIRToLLVMFuncOpLowering, + CIRToLLVMGetBitfieldOpLowering, + CIRToLLVMGetGlobalOpLowering, + CIRToLLVMGetMemberOpLowering, + CIRToLLVMGetRuntimeMemberOpLowering, + CIRToLLVMGlobalOpLowering, + CIRToLLVMInlineAsmOpLowering, + CIRToLLVMIsConstantOpLowering, + CIRToLLVMIsFPClassOpLowering, + CIRToLLVMLLVMIntrinsicCallOpLowering, + CIRToLLVMLoadOpLowering, + CIRToLLVMMemChrOpLowering, + CIRToLLVMMemCpyInlineOpLowering, + CIRToLLVMMemCpyOpLowering, + CIRToLLVMMemMoveOpLowering, + CIRToLLVMMemSetInlineOpLowering, + CIRToLLVMMemSetOpLowering, + CIRToLLVMObjSizeOpLowering, + CIRToLLVMPrefetchOpLowering, + CIRToLLVMPtrDiffOpLowering, + CIRToLLVMPtrMaskOpLowering, + CIRToLLVMPtrStrideOpLowering, + CIRToLLVMResumeOpLowering, + CIRToLLVMReturnAddrOpLowering, + CIRToLLVMRotateOpLowering, + CIRToLLVMSelectOpLowering, + CIRToLLVMSetBitfieldOpLowering, + CIRToLLVMShiftOpLowering, + CIRToLLVMSignBitOpLowering, + CIRToLLVMStackSaveOpLowering, + CIRToLLVMStoreOpLowering, + CIRToLLVMSwitchFlatOpLowering, + CIRToLLVMThrowOpLowering, + CIRToLLVMTrapOpLowering, + CIRToLLVMTryCallOpLowering, + CIRToLLVMUnaryOpLowering, + CIRToLLVMUnreachableOpLowering, + CIRToLLVMVAArgOpLowering, + CIRToLLVMVACopyOpLowering, + CIRToLLVMVAEndOpLowering, + CIRToLLVMVAStartOpLowering, + CIRToLLVMVecCmpOpLowering, + CIRToLLVMVecCreateOpLowering, + CIRToLLVMVecShuffleDynamicOpLowering, + CIRToLLVMVecShuffleOpLowering, + CIRToLLVMVecSplatOpLowering, + CIRToLLVMVecTernaryOpLowering, + CIRToLLVMVTableAddrPointOpLowering, + CIRToLLVMVTTAddrPointOpLowering #define GET_BUILTIN_LOWERING_LIST #include "clang/CIR/Dialect/IR/CIRBuiltinsLowering.inc" #undef GET_BUILTIN_LOWERING_LIST + // clang-format on >(converter, patterns.getContext()); }