Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Operand

24 //    1. If a binary operator has a constant operand, it is moved to the RHS
736 /// Given an instruction with a select as one operand and a constant as the
737 /// other operand, try to fold the binary operator into the select arguments.
739 /// operand.
789 /// operand #0, see if we can fold the instruction into the PHI (which is only
1040 // 0'th operand of Val.
1200 // Rewrite the parent using the descaled version of its operand.
1807 Value *Operand = BCI->getOperand(0);
1808 PointerType *OpType = cast<PointerType>(Operand->getType());
1811 if (!isa<BitCastInst>(Operand) &&
1819 if (isa<AllocaInst>(Operand) || isAllocationFn(Operand, TLI)) {
1831 if (Operand->getType()->getPointerAddressSpace() != GEP.getAddressSpace())
1832 return new AddrSpaceCastInst(Operand, GEP.getType());
1833 return new BitCastInst(Operand, GEP.getType());
1843 ? Builder->CreateInBoundsGEP(nullptr, Operand, NewIndices)
1844 : Builder->CreateGEP(nullptr, Operand, NewIndices);
2157 // Truncate the condition operand if the new type is equal to or larger than
2159 // x86 generates redundant zero-extension instructions if the operand is
2222 // replace the aggregate operand of the extract with the aggregate
2223 // operand of the insert. i.e., replace