LLVM
8.0.1
|
#include "llvm/CodeGen/StackProtector.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Scalar.h"
#include "Hexagon.h"
Go to the source code of this file.
Namespaces | |
llvm | |
This class represents lattice values for constants. | |
Functions | |
FunctionPass * | llvm::createHexagonOptimizeSZextends () |
void | llvm::initializeHexagonOptimizeSZextendsPass (PassRegistry &) |
INITIALIZE_PASS (HexagonOptimizeSZextends, "reargs", "Remove Sign and Zero Extends for Args", false, false) bool HexagonOptimizeSZextends | |
INITIALIZE_PASS | ( | HexagonOptimizeSZextends | , |
"reargs" | , | ||
"Remove Sign and Zero Extends for Args" | , | ||
false | , | ||
false | |||
) |
Definition at line 53 of file HexagonOptimizeSZextends.cpp.
References Arg, llvm::Function::args(), assert(), B, C, llvm::dyn_cast(), llvm::Instruction::eraseFromParent(), F(), llvm::BasicBlock::front(), llvm::Function::getAttributes(), llvm::Function::getEntryBlock(), llvm::EVT::getEVT(), llvm::Instruction::getOpcode(), llvm::BinaryOperator::getOpcode(), llvm::User::getOperand(), llvm::ConstantInt::getSExtValue(), llvm::Value::getType(), llvm::Use::getUser(), llvm::AttributeList::hasAttribute(), llvm::Intrinsic::hexagon_A2_addh_l16_sat_ll, I, llvm::Instruction::insertBefore(), Intr, llvm::Value::replaceAllUsesWith(), runOnFunction(), llvm::Attribute::SExt, SI, llvm::Value::use_begin(), llvm::Value::use_end(), llvm::Value::user_begin(), and llvm::Value::user_end().