Searched refs:LHS (Results 126 - 150 of 161) sorted by relevance

1234567

/macosx-10.10/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DSlotIndexes.h301 bool operator()(const IdxMBBPair &LHS, const IdxMBBPair &RHS) const { argument
302 return LHS.first < RHS.first;
/macosx-10.10/llvmCore-3425.0.34/include/llvm/
H A DInstrTypes.h634 Value *LHS, Value *RHS, const Twine &Name = "",
638 Value *LHS, Value *RHS, const Twine &Name,
H A DConstants.h1012 static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS);
1013 static Constant *getFCmp(unsigned short pred, Constant *LHS, Constant *RHS);
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/
H A DIntrinsicLowering.cpp282 Value *LHS = Builder.CreateAnd(PartValue, MaskCst, "cppop.and1"); local
287 PartValue = Builder.CreateAdd(LHS, RHS, "ctpop.step");
H A DMachineSink.cpp106 bool operator()(const MachineBasicBlock *LHS, argument
108 return LI->getLoopDepth(LHS) < LI->getLoopDepth(RHS);
H A DStrongPHIElimination.cpp184 bool operator()(const MachineInstr *LHS, const MachineInstr *RHS) const { argument
185 return LI->getInstructionIndex(LHS) < LI->getInstructionIndex(RHS);
/macosx-10.10/llvmCore-3425.0.34/lib/VMCore/
H A DConstantFold.cpp228 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
229 if (LHS == 0)
231 return ConstantExpr::getOr(LHS, RHS);
242 Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
243 if (LHS == 0)
245 return ConstantExpr::getAnd(LHS, RHS);
1142 Constant *LHS = local
1147 Result.push_back(ConstantExpr::get(Opcode, LHS, RHS));
1309 // Ok, the LHS is known to be a constantexpr. The RHS can be any of a
1427 // Ok, the LHS i
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DCommandLine.cpp199 StringRef &LHS = SplitArg.first; // LHS == Arg when no '=' is present. local
214 StringRef Flag = PermitValue ? LHS : Arg;
1191 static int OptNameCompare(const void *LHS, const void *RHS) { argument
1194 return strcmp(((const pair_ty*)LHS)->first, ((const pair_ty*)RHS)->first);
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp125 SDValue LHS = Vals[Slot]; local
130 LHS.getValueType().getSizeInBits() << 1),
131 LHS, RHS));
H A DLegalizeVectorOps.cpp597 SDValue LHS = Op.getOperand(0), RHS = Op.getOperand(1), CC = Op.getOperand(2); local
598 EVT TmpEltVT = LHS.getValueType().getVectorElementType();
602 SDValue LHSElem = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, TmpEltVT, LHS,
H A DSelectionDAGISel.cpp1432 bool SelectionDAGISel::CheckAndMask(SDValue LHS, ConstantSDNode *RHS, argument
1435 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS);
1448 if (CurDAG->MaskedValueIsZero(LHS, NeededMask))
1461 bool SelectionDAGISel::CheckOrMask(SDValue LHS, ConstantSDNode *RHS, argument
1464 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS);
1479 CurDAG->ComputeMaskedBits(LHS, KnownZero, KnownOne);
H A DSelectionDAGBuilder.cpp1440 // Emit the LHS condition.
1456 // Emit the LHS condition.
2057 const Value *RHS, *LHS, *MHS; local
2062 LHS = SV; RHS = I->High; MHS = NULL;
2065 LHS = I->Low; MHS = SV; RHS = I->High;
2070 CaseBlock CB(CC, LHS, RHS, MHS, /* truebb */ I->BB, /* falsebb */ FallThrough,
2241 // Select optimal pivot, maximizing sum density of LHS and RHS. This will
2296 // We know that we branch to the LHS if the Value being switched on is
2299 // LHS's Case Value, and that Case Value is exactly one less than the
2300 // Pivot's Value, then we can branch directly to the LHS'
4387 ExpandPowI(DebugLoc DL, SDValue LHS, SDValue RHS, SelectionDAG &DAG) argument
5531 const Value *LHS = I.getArgOperand(0), *RHS = I.getArgOperand(1); local
5662 SDValue LHS = getValue(I.getArgOperand(0)); local
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Target/ARM/
H A DARMISelLowering.cpp2776 ARMTargetLowering::getARMCmp(SDValue LHS, SDValue RHS, ISD::CondCode CC, argument
2830 return DAG.getNode(CompareType, dl, MVT::Glue, LHS, RHS);
2835 ARMTargetLowering::getVFPCmp(SDValue LHS, SDValue RHS, SelectionDAG &DAG, argument
2839 Cmp = DAG.getNode(ARMISD::CMPFP, dl, MVT::Glue, LHS, RHS);
2841 Cmp = DAG.getNode(ARMISD::CMPFPw0, dl, MVT::Glue, LHS);
2920 SDValue LHS = Op.getOperand(0); local
2927 if (LHS.getValueType() == MVT::i32) {
2930 SDValue Cmp = getARMCmp(LHS, RHS, CC, ARMcc, DAG, dl);
2938 SDValue Cmp = getVFPCmp(LHS, RHS, DAG, dl);
2945 SDValue Cmp2 = getVFPCmp(LHS, RH
3025 SDValue LHS = Op.getOperand(2); local
3075 SDValue LHS = Op.getOperand(2); local
4512 GeneratePerfectShuffle(unsigned PFEntry, SDValue LHS, SDValue RHS, SelectionDAG &DAG, DebugLoc dl) argument
8866 SDValue LHS = N->getOperand(2); local
8943 SDValue LHS = Cmp.getOperand(0); local
[all...]
H A DARMLoadStoreOptimizer.cpp1633 bool operator()(const MachineInstr *LHS, const MachineInstr *RHS) const { argument
1634 int LOffset = getMemoryOpOffset(LHS);
1636 assert(LHS == RHS || LOffset != ROffset);
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp450 /// getExactSDiv - Return an expression for LHS /s RHS, if it can be determined
456 static const SCEV *getExactSDiv(const SCEV *LHS, const SCEV *RHS, argument
460 if (LHS == RHS)
461 return SE.getConstant(LHS->getType(), 1);
470 return SE.getMulExpr(LHS, RC);
473 return LHS;
477 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(LHS)) {
488 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHS)) {
505 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) {
521 if (const SCEVMulExpr *Mul = dyn_cast<SCEVMulExpr>(LHS)) {
1100 isEqual(const SmallVector<const SCEV *, 2> &LHS, const SmallVector<const SCEV *, 2> &RHS) argument
1427 isEqual(const std::pair<const SCEV *, LSRUse::KindType> &LHS, const std::pair<const SCEV *, LSRUse::KindType> &RHS) argument
[all...]
H A DJumpThreading.cpp421 // If we already inferred a value for this block on the LHS, don't
479 Value *LHS = PN->getIncomingValue(i); local
482 Value *Res = SimplifyCmpInst(Cmp->getPredicate(), LHS, RHS, TD);
488 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS,
492 Res = ConstantInt::get(Type::getInt1Ty(LHS->getContext()), ResT);
527 // Try to find a constant value for the LHS of a comparison,
734 // For a comparison where the LHS is outside this block, it's possible
1195 // If either the LHS or RHS of the xor is a constant, don't do this
1207 // LHS or RHS of the xor in any predecessor is true/false, then we can clone
1270 // help us. However, we can just replace the LHS o
[all...]
H A DSimplifyLibCalls.cpp793 Value *LHS = CI->getArgOperand(0), *RHS = CI->getArgOperand(1);
795 if (LHS == RHS) // memcmp(s,s,x) -> 0
806 // memcmp(S1,S2,1) -> *(unsigned char*)LHS - *(unsigned char*)RHS
808 Value *LHSV = B.CreateZExt(B.CreateLoad(CastToCStr(LHS, B), "lhsc"),
817 if (getConstantStringInfo(LHS, LHSStr) &&
H A DLoopUnswitch.cpp367 if (Value *LHS = FindLIVLoopCondition(BO->getOperand(0), L, Changed))
368 return LHS;
/macosx-10.10/llvmCore-3425.0.34/lib/Target/MBlaze/
H A DMBlazeISelLowering.cpp572 SDValue LHS = Op.getOperand(0); local
580 if (LHS.getValueType() == MVT::i32) {
582 CompareFlag = DAG.getNode(MBlazeISD::ICmp, dl, MVT::i32, LHS, RHS)
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DSimplifyCFG.cpp460 if (Value *LHS = GatherConstantCompares(I->getOperand(0), Vals, Extra, TD,
466 if (LHS == RHS)
467 return LHS;
476 return LHS;
484 // If the LHS can't be folded in, but Extra is available and RHS can, try to
485 // use LHS as Extra.
755 bool operator()(const ConstantInt *LHS, const ConstantInt *RHS) const { argument
756 return LHS->getValue().ult(RHS->getValue());
762 const ConstantInt *LHS = *(const ConstantInt*const*)P1; local
764 if (LHS
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Analysis/
H A DConstantFolding.cpp1038 Constant *LHS = local
1046 Constant *Ops[] = { LHS, RHS };
1047 return ConstantFoldInstOperands(OpC, LHS->getType(), Ops, TD, TLI);
/macosx-10.10/llvmCore-3425.0.34/lib/Target/XCore/
H A DXCoreISelLowering.cpp567 SDValue LHS = Op.getOperand(0); local
572 LHS, RHS);
584 SDValue LHS = Op.getOperand(0); local
588 DAG.getVTList(MVT::i32, MVT::i32), LHS, RHS,
/macosx-10.10/llvmCore-3425.0.34/utils/TableGen/
H A DSubtargetEmitter.cpp55 bool operator()(const MCWriteProcResEntry &LHS, argument
57 return LHS.ProcResourceIdx < RHS.ProcResourceIdx;
/macosx-10.10/llvmCore-3425.0.34/lib/MC/MCParser/
H A DAsmParser.cpp886 const MCExpr *LHS = ApplyModifierToExpr(BE->getLHS(), Variant); local
889 if (!LHS && !RHS)
892 if (!LHS) LHS = BE->getLHS();
895 return MCBinaryExpr::Create(BE->getOpcode(), LHS, RHS, getContext());
1049 /// Res contains the LHS of the expression on input.
1068 // the pending operator take RHS as its LHS.
1075 // Merge LHS and RHS according to operator.
1891 // Validate that the LHS is allowed to be a variable (either it has not been
/macosx-10.10/llvmCore-3425.0.34/examples/OCaml-Kaleidoscope/Chapter7/
H A Dcodegen.ml41 (* Special case '=' because we don't want to emit the LHS as an

Completed in 418 milliseconds

1234567