mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
This file is just a subset of Cilkifier.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8286 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aa9214524d
commit
b50b8b1acc
@ -1,26 +0,0 @@
|
||||
//===- Parallelize.h - Auto parallelization using DS Graphs -----*- C++ -*-===//
|
||||
//
|
||||
// Externally visible routines related to the IPO pass Parallelize in
|
||||
// lib/Transforms/IPO/Parallelize.cpp. That pass automatically parallelizes
|
||||
// a program using the Cilk multi-threaded runtime system to execute
|
||||
// parallel code. The routines here are used only to identify functions
|
||||
// marked as Cilk operations.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_TRANSFORMS_PARALLELIZE_H
|
||||
#define LLVM_TRANSFORMS_PARALLELIZE_H
|
||||
|
||||
class Function;
|
||||
class CallInst;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Routines to identify Cilk functions, calls to Cilk functions, and syncs.
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
extern bool isCilk(const Function& F);
|
||||
extern bool isCilk(const CallInst& CI);
|
||||
extern bool isSync(const CallInst& CI);
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user