Searched refs:AddI (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86FlagsCopyLowering.cpp | 827 auto AddI = in rewriteArithmetic() local 832 (void)AddI; in rewriteArithmetic() 833 LLVM_DEBUG(dbgs() << " add cond: "; AddI->dump()); in rewriteArithmetic()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 843 Instruction *AddI; in CombineUAddWithOverflow() local 845 m_UAddWithOverflow(m_Value(A), m_Value(B), m_Instruction(AddI)))) in CombineUAddWithOverflow() 848 Type *Ty = AddI->getType(); in CombineUAddWithOverflow() 856 if (AddI->getParent() != CI->getParent() && !AddI->hasOneUse()) in CombineUAddWithOverflow() 862 if (AddI->hasOneUse()) in CombineUAddWithOverflow() 863 assert(*AddI->user_begin() == CI && "expected!"); in CombineUAddWithOverflow() 869 auto *InsertPt = AddI->hasOneUse() ? CI : AddI; in CombineUAddWithOverflow() 878 AddI->replaceAllUsesWith(UAdd); in CombineUAddWithOverflow() 880 AddI->eraseFromParent(); in CombineUAddWithOverflow()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1140 Instruction *AddI; in CombineUAddWithOverflow() local 1142 m_UAddWithOverflow(m_Value(A), m_Value(B), m_Instruction(AddI)))) in CombineUAddWithOverflow() 1145 Type *Ty = AddI->getType(); in CombineUAddWithOverflow() 1153 if (AddI->getParent() != CI->getParent() && !AddI->hasOneUse()) in CombineUAddWithOverflow() 1159 if (AddI->hasOneUse()) in CombineUAddWithOverflow() 1160 assert(*AddI->user_begin() == CI && "expected!"); in CombineUAddWithOverflow() 1166 auto *InsertPt = AddI->hasOneUse() ? CI : AddI; in CombineUAddWithOverflow() 1175 AddI->replaceAllUsesWith(UAdd); in CombineUAddWithOverflow() 1177 AddI->eraseFromParent(); in CombineUAddWithOverflow()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 4108 Instruction *AddI = nullptr; in visitICmpInst() local 4110 m_Instruction(AddI))) && in visitICmpInst() 4114 if (OptimizeOverflowCheck(OCF_UNSIGNED_ADD, A, B, *AddI, Result, in visitICmpInst() 4116 replaceInstUsesWith(*AddI, Result); in visitICmpInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 4824 Instruction *AddI = nullptr; in visitICmpInst() local 4826 m_Instruction(AddI))) && in visitICmpInst() 4830 if (OptimizeOverflowCheck(OCF_UNSIGNED_ADD, A, B, *AddI, Result, in visitICmpInst() 4832 replaceInstUsesWith(*AddI, Result); in visitICmpInst()
|