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

/external/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h80 bool CombineXorOpnd(Instruction *I, reassociate::XorOpnd *Opnd1,
82 bool CombineXorOpnd(Instruction *I, reassociate::XorOpnd *Opnd1,
/external/llvm/lib/Transforms/InstCombine/
H A 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); local
350 if ((C1 = dyn_cast<ConstantFP>(Opnd1)) && C1->isZero())
351 Opnd1 = nullptr;
360 if (Opnd1) {
363 Addend.set(1, Opnd1);
370 if (Opnd0 || Opnd1)
514 FAddend Opnd0, Opnd1, Opnd0_0, Opnd0_1, Opnd1_0, Opnd1_1; local
736 createFSub(Value *Opnd0, Value *Opnd1) argument
751 createFAdd(Value *Opnd0, Value *Opnd1) argument
758 createFMul(Value *Opnd0, Value *Opnd1) argument
765 createFDiv(Value *Opnd0, Value *Opnd1) argument
[all...]
H A DInstCombineMulDivRem.cpp494 Value *Opnd1 = FMulOrDiv->getOperand(1); local
497 Constant *C1 = dyn_cast<Constant>(Opnd1);
505 R = BinaryOperator::CreateFMul(C1 ? Opnd0 : Opnd1, F);
513 R = BinaryOperator::CreateFDiv(F, Opnd1);
588 Value *Opnd1 = FAddSub->getOperand(1); local
590 Constant *C1 = dyn_cast<Constant>(Opnd1);
594 std::swap(Opnd0, Opnd1);
664 Value *Opnd1 = Op1; local
672 Value *N1 = dyn_castFNegVal(Opnd1, IgnoreZeroSign);
683 Value *T = Builder->CreateFMul(N0, Opnd1);
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1152 // Helper function of OptimizeXor(). It tries to simplify "Opnd1 ^ ConstOpnd"
1159 bool ReassociatePass::CombineXorOpnd(Instruction *I, XorOpnd *Opnd1,
1165 if (Opnd1->isOrExpr() && Opnd1->getConstPart() != 0) {
1166 if (!Opnd1->getValue()->hasOneUse())
1169 const APInt &C1 = Opnd1->getConstPart();
1173 Value *X = Opnd1->getSymbolicPart();
1178 if (Instruction *T = dyn_cast<Instruction>(Opnd1->getValue()))
1187 // "Opnd1 ^ Opnd2 ^ ConstOpnd" into "R ^ C", where C would be 0, and R is a
1194 bool ReassociatePass::CombineXorOpnd(Instruction *I, XorOpnd *Opnd1,
[all...]
H A DLoopIdiomRecognize.cpp1224 Value *Opnd1 = ConstantInt::get(PopCntZext->getType(), 0); local
1226 std::swap(Opnd0, Opnd1);
1229 Builder.CreateICmp(PreCond->getPredicate(), Opnd0, Opnd1));
/external/llvm/include/llvm/IR/
H A 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/
H A DAArch64ISelLowering.cpp8231 const SDValue *Opnd1; member in struct:GenericSetCCInfo
8265 SetCCInfo.Info.Generic.Opnd1 = &Op.getOperand(1);
8347 *InfoAndKind.Info.Generic.Opnd1,

Completed in 150 milliseconds