Lines Matching defs:HexagonCommonGEP

1 //===- HexagonCommonGEP.cpp -----------------------------------------------===//
97 class HexagonCommonGEP : public FunctionPass {
101 HexagonCommonGEP() : FunctionPass(ID) {
164 char HexagonCommonGEP::ID = 0;
166 INITIALIZE_PASS_BEGIN(HexagonCommonGEP, "hcommgep", "Hexagon Common GEP",
171 INITIALIZE_PASS_END(HexagonCommonGEP, "hcommgep", "Hexagon Common GEP",
324 void HexagonCommonGEP::getBlockTraversalOrder(BasicBlock *Root,
335 bool HexagonCommonGEP::isHandledGepForm(GetElementPtrInst *GepI) {
345 void HexagonCommonGEP::processGepInst(GetElementPtrInst *GepI,
411 void HexagonCommonGEP::collect() {
532 void HexagonCommonGEP::common() {
745 BasicBlock *HexagonCommonGEP::recalculatePlacement(GepNode *Node,
810 BasicBlock *HexagonCommonGEP::recalculatePlacementRec(GepNode *Node,
826 bool HexagonCommonGEP::isInvariantIn(Value *Val, Loop *L) {
836 bool HexagonCommonGEP::isInvariantIn(GepNode *Node, Loop *L) {
843 bool HexagonCommonGEP::isInMainPath(BasicBlock *B, Loop *L) {
865 BasicBlock *HexagonCommonGEP::adjustForInvariance(GepNode *Node,
942 void HexagonCommonGEP::separateChainForNode(GepNode *Node, Use *U,
992 void HexagonCommonGEP::separateConstantChains(GepNode *Node,
1043 void HexagonCommonGEP::computeNodePlacement(NodeToValueMap &Loc) {
1077 Value *HexagonCommonGEP::fabricateGEP(NodeVect &NA, BasicBlock::iterator At,
1124 void HexagonCommonGEP::getAllUsersForNode(GepNode *Node, ValueVect &Values,
1148 void HexagonCommonGEP::materialize(NodeToValueMap &Loc) {
1227 void HexagonCommonGEP::removeDeadCode() {
1250 bool HexagonCommonGEP::runOnFunction(Function &F) {
1292 return new HexagonCommonGEP();