Changeset View
Changeset View
Standalone View
Standalone View
lib/Target/NVPTX/NVPTXUtilities.h
//===-- NVPTXUtilities - Utilities -----------------------------*- C++ -*-====// | //===-- NVPTXUtilities - Utilities -----------------------------*- C++ -*-====// | ||||
// | // | ||||
// The LLVM Compiler Infrastructure | // The LLVM Compiler Infrastructure | ||||
// | // | ||||
// This file is distributed under the University of Illinois Open Source | // This file is distributed under the University of Illinois Open Source | ||||
// License. See LICENSE.TXT for details. | // License. See LICENSE.TXT for details. | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// This file contains the declaration of the NVVM specific utility functions. | // This file contains the declaration of the NVVM specific utility functions. | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXUTILITIES_H | #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXUTILITIES_H | ||||
#define LLVM_LIB_TARGET_NVPTX_NVPTXUTILITIES_H | #define LLVM_LIB_TARGET_NVPTX_NVPTXUTILITIES_H | ||||
#include "NVPTXTargetMachine.h" | |||||
#include "llvm/CodeGen/MachineFunction.h" | |||||
#include "llvm/IR/Function.h" | #include "llvm/IR/Function.h" | ||||
#include "llvm/IR/GlobalVariable.h" | #include "llvm/IR/GlobalVariable.h" | ||||
#include "llvm/IR/IntrinsicInst.h" | #include "llvm/IR/IntrinsicInst.h" | ||||
#include "llvm/IR/Value.h" | #include "llvm/IR/Value.h" | ||||
#include <cstdarg> | #include <cstdarg> | ||||
#include <set> | #include <set> | ||||
#include <string> | #include <string> | ||||
#include <vector> | #include <vector> | ||||
Show All 30 Lines | |||||
bool getMinCTASm(const Function &, unsigned &); | bool getMinCTASm(const Function &, unsigned &); | ||||
bool getMaxNReg(const Function &, unsigned &); | bool getMaxNReg(const Function &, unsigned &); | ||||
bool isKernelFunction(const Function &); | bool isKernelFunction(const Function &); | ||||
bool getAlign(const Function &, unsigned index, unsigned &); | bool getAlign(const Function &, unsigned index, unsigned &); | ||||
bool getAlign(const CallInst &, unsigned index, unsigned &); | bool getAlign(const CallInst &, unsigned index, unsigned &); | ||||
bool ptrIsStored(Value *Ptr); | |||||
} | } | ||||
#endif | #endif |