Lines Matching defs:HexagonCommonGEP
1 //===- HexagonCommonGEP.cpp -----------------------------------------------===//
96 class HexagonCommonGEP : public FunctionPass {
100 HexagonCommonGEP() : FunctionPass(ID) {
163 char HexagonCommonGEP::ID = 0;
165 INITIALIZE_PASS_BEGIN(HexagonCommonGEP, "hcommgep", "Hexagon Common GEP",
170 INITIALIZE_PASS_END(HexagonCommonGEP, "hcommgep", "Hexagon Common GEP",
323 void HexagonCommonGEP::getBlockTraversalOrder(BasicBlock *Root,
334 bool HexagonCommonGEP::isHandledGepForm(GetElementPtrInst *GepI) {
344 void HexagonCommonGEP::processGepInst(GetElementPtrInst *GepI,
410 void HexagonCommonGEP::collect() {
531 void HexagonCommonGEP::common() {
744 BasicBlock *HexagonCommonGEP::recalculatePlacement(GepNode *Node,
809 BasicBlock *HexagonCommonGEP::recalculatePlacementRec(GepNode *Node,
825 bool HexagonCommonGEP::isInvariantIn(Value *Val, Loop *L) {
835 bool HexagonCommonGEP::isInvariantIn(GepNode *Node, Loop *L) {
842 bool HexagonCommonGEP::isInMainPath(BasicBlock *B, Loop *L) {
864 BasicBlock *HexagonCommonGEP::adjustForInvariance(GepNode *Node,
941 void HexagonCommonGEP::separateChainForNode(GepNode *Node, Use *U,
991 void HexagonCommonGEP::separateConstantChains(GepNode *Node,
1042 void HexagonCommonGEP::computeNodePlacement(NodeToValueMap &Loc) {
1076 Value *HexagonCommonGEP::fabricateGEP(NodeVect &NA, BasicBlock::iterator At,
1123 void HexagonCommonGEP::getAllUsersForNode(GepNode *Node, ValueVect &Values,
1147 void HexagonCommonGEP::materialize(NodeToValueMap &Loc) {
1226 void HexagonCommonGEP::removeDeadCode() {
1249 bool HexagonCommonGEP::runOnFunction(Function &F) {
1291 return new HexagonCommonGEP();