Home
last modified time | relevance | path

Searched refs:NewDiv (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp764 Value *NewDiv = nullptr; in visitBinaryOperator() local
774 NewDiv = UndefValue::get(VT); in visitBinaryOperator()
782 NewDiv = Builder.CreateInsertElement(NewDiv, NewElt, N); in visitBinaryOperator()
785 NewDiv = expandDivRem32(Builder, I, Num, Den); in visitBinaryOperator()
788 if (NewDiv) { in visitBinaryOperator()
789 I.replaceAllUsesWith(NewDiv); in visitBinaryOperator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp693 auto *NewDiv = BinaryOperator::Create(I.getOpcode(), X, in commonIDivTransforms() local
695 NewDiv->setIsExact(I.isExact()); in commonIDivTransforms()
696 return NewDiv; in commonIDivTransforms()