@@ -709,7 +709,7 @@ class OpenMPIRBuilder {
709709 const LocationDescription &Loc, omp::Directive CanceledDirective);
710710
711711 // / Creates a ScanInfo object, allocates and returns the pointer.
712- Expected<ScanInfo *> scanInfoInitialize ();
712+ LLVM_ABI Expected<ScanInfo *> scanInfoInitialize ();
713713
714714 // / Generator for '#omp parallel'
715715 // /
@@ -785,10 +785,12 @@ class OpenMPIRBuilder {
785785 // / `ScanInfoInitialize`.
786786 // /
787787 // / \returns A vector containing Loop Info of Input Loop and Scan Loop.
788- Expected<SmallVector<llvm::CanonicalLoopInfo *>> createCanonicalScanLoops (
789- const LocationDescription &Loc, LoopBodyGenCallbackTy BodyGenCB,
790- Value *Start, Value *Stop, Value *Step, bool IsSigned, bool InclusiveStop,
791- InsertPointTy ComputeIP, const Twine &Name, ScanInfo *ScanRedInfo);
788+ LLVM_ABI Expected<SmallVector<llvm::CanonicalLoopInfo *>>
789+ createCanonicalScanLoops (const LocationDescription &Loc,
790+ LoopBodyGenCallbackTy BodyGenCB, Value *Start,
791+ Value *Stop, Value *Step, bool IsSigned,
792+ bool InclusiveStop, InsertPointTy ComputeIP,
793+ const Twine &Name, ScanInfo *ScanRedInfo);
792794
793795 // / Calculate the trip count of a canonical loop.
794796 // /
@@ -2745,7 +2747,7 @@ class OpenMPIRBuilder {
27452747 // / `ScanInfoInitialize`.
27462748 // /
27472749 // / \returns The insertion position *after* the masked.
2748- InsertPointOrErrorTy emitScanReduction (
2750+ LLVM_ABI InsertPointOrErrorTy emitScanReduction (
27492751 const LocationDescription &Loc,
27502752 ArrayRef<llvm::OpenMPIRBuilder::ReductionInfo> ReductionInfos,
27512753 ScanInfo *ScanRedInfo);
@@ -2763,11 +2765,12 @@ class OpenMPIRBuilder {
27632765 // / `ScanInfoInitialize`.
27642766 // /
27652767 // / \returns The insertion position *after* the scan.
2766- InsertPointOrErrorTy createScan (const LocationDescription &Loc,
2767- InsertPointTy AllocaIP,
2768- ArrayRef<llvm::Value *> ScanVars,
2769- ArrayRef<llvm::Type *> ScanVarsType,
2770- bool IsInclusive, ScanInfo *ScanRedInfo);
2768+ LLVM_ABI InsertPointOrErrorTy createScan (const LocationDescription &Loc,
2769+ InsertPointTy AllocaIP,
2770+ ArrayRef<llvm::Value *> ScanVars,
2771+ ArrayRef<llvm::Type *> ScanVarsType,
2772+ bool IsInclusive,
2773+ ScanInfo *ScanRedInfo);
27712774
27722775 // / Generator for '#omp critical'
27732776 // /
0 commit comments