Home
last modified time | relevance | path

Searched refs:Opnd1 (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp181 Value *createFSub(Value *Opnd0, Value *Opnd1);
182 Value *createFAdd(Value *Opnd0, Value *Opnd1);
183 Value *createFMul(Value *Opnd0, Value *Opnd1);
184 Value *createFDiv(Value *Opnd0, Value *Opnd1);
346 Value *Opnd1 = I->getOperand(1); in drillValueDownOneStep() local
350 if ((C1 = dyn_cast<ConstantFP>(Opnd1)) && C1->isZero()) in drillValueDownOneStep()
351 Opnd1 = nullptr; in drillValueDownOneStep()
360 if (Opnd1) { in drillValueDownOneStep()
363 Addend.set(1, Opnd1); in drillValueDownOneStep()
370 if (Opnd0 || Opnd1) in drillValueDownOneStep()
[all …]
DInstCombineMulDivRem.cpp494 Value *Opnd1 = FMulOrDiv->getOperand(1); in foldFMulConst() local
497 Constant *C1 = dyn_cast<Constant>(Opnd1); in foldFMulConst()
505 R = BinaryOperator::CreateFMul(C1 ? Opnd0 : Opnd1, F); in foldFMulConst()
513 R = BinaryOperator::CreateFDiv(F, Opnd1); in foldFMulConst()
588 Value *Opnd1 = FAddSub->getOperand(1); in visitFMul() local
590 Constant *C1 = dyn_cast<Constant>(Opnd1); in visitFMul()
594 std::swap(Opnd0, Opnd1); in visitFMul()
664 Value *Opnd1 = Op1; in visitFMul() local
672 Value *N1 = dyn_castFNegVal(Opnd1, IgnoreZeroSign); in visitFMul()
683 Value *T = Builder->CreateFMul(N0, Opnd1); in visitFMul()
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DReassociate.h80 bool CombineXorOpnd(Instruction *I, reassociate::XorOpnd *Opnd1,
82 bool CombineXorOpnd(Instruction *I, reassociate::XorOpnd *Opnd1,
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp1159 bool ReassociatePass::CombineXorOpnd(Instruction *I, XorOpnd *Opnd1, in CombineXorOpnd() argument
1165 if (Opnd1->isOrExpr() && Opnd1->getConstPart() != 0) { in CombineXorOpnd()
1166 if (!Opnd1->getValue()->hasOneUse()) in CombineXorOpnd()
1169 const APInt &C1 = Opnd1->getConstPart(); in CombineXorOpnd()
1173 Value *X = Opnd1->getSymbolicPart(); in CombineXorOpnd()
1178 if (Instruction *T = dyn_cast<Instruction>(Opnd1->getValue())) in CombineXorOpnd()
1194 bool ReassociatePass::CombineXorOpnd(Instruction *I, XorOpnd *Opnd1, in CombineXorOpnd() argument
1197 Value *X = Opnd1->getSymbolicPart(); in CombineXorOpnd()
1203 if (Opnd1->getValue()->hasOneUse()) in CombineXorOpnd()
1214 if (Opnd1->isOrExpr() != Opnd2->isOrExpr()) { in CombineXorOpnd()
[all …]
DLoopIdiomRecognize.cpp1224 Value *Opnd1 = ConstantInt::get(PopCntZext->getType(), 0); in transformLoopToPopcount() local
1226 std::swap(Opnd0, Opnd1); in transformLoopToPopcount()
1229 Builder.CreateICmp(PreCond->getPredicate(), Opnd0, Opnd1)); in transformLoopToPopcount()
/external/llvm/include/llvm/IR/
DPatternMatch.h1263 template <typename Opnd0, typename Opnd1>
1264 inline typename m_Intrinsic_Ty<Opnd0, Opnd1>::Ty m_FMin(const Opnd0 &Op0,
1265 const Opnd1 &Op1) {
1269 template <typename Opnd0, typename Opnd1>
1270 inline typename m_Intrinsic_Ty<Opnd0, Opnd1>::Ty m_FMax(const Opnd0 &Op0,
1271 const Opnd1 &Op1) {
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8231 const SDValue *Opnd1; member
8265 SetCCInfo.Info.Generic.Opnd1 = &Op.getOperand(1); in isSetCC()
8347 *InfoAndKind.Info.Generic.Opnd1, in performSetccAddFolding()