LLVM API Documentation
#include "llvm/Assembly/AutoUpgrade.h"#include "llvm/Constants.h"#include "llvm/DerivedTypes.h"#include "llvm/Function.h"#include "llvm/Module.h"#include "llvm/Instructions.h"#include "llvm/Intrinsics.h"#include "llvm/SymbolTable.h"#include <iostream>Include dependency graph for AutoUpgrade.cpp:

Go to the source code of this file.
Functions | |
| static Function * | getUpgradedUnaryFn (Function *F) |
| static Function * | getUpgradedIntrinsic (Function *F) |
| static unsigned * | getArgumentPermutation (Function *Fn, Function *NewFn) |
| Function * | llvm::UpgradeIntrinsicFunction (Function *F) |
| Remove overloaded intrinsic function names. | |
| static Value * | CastArg (Value *Arg, const Type *Ty, Instruction *InsertBefore) |
| void | llvm::UpgradeIntrinsicCall (CallInst *CI, Function *NewFn) |
| Get replacement instruction for overloaded intrinsic function call. | |
| bool | llvm::UpgradeCallsToIntrinsic (Function *F) |
| static Value* CastArg | ( | Value * | Arg, | |
| const Type * | Ty, | |||
| Instruction * | InsertBefore | |||
| ) | [static] |
Definition at line 156 of file AutoUpgrade.cpp.
References llvm::Function::getFunctionType(), llvm::Value::getName(), llvm::FunctionType::getNumParams(), M, and Name.
Referenced by llvm::UpgradeIntrinsicCall().
Definition at line 55 of file AutoUpgrade.cpp.
References N86::ESP, F, llvm::Module::getOrInsertFunction(), getUpgradedUnaryFn(), M, and Name.
Referenced by llvm::UpgradeIntrinsicFunction().
Definition at line 25 of file AutoUpgrade.cpp.
References F, llvm::Module::getOrInsertFunction(), M, and Name.
Referenced by getUpgradedIntrinsic().