Searched refs:LHS (Results 151 - 175 of 298) sorted by relevance

1234567891011>>

/external/llvm/include/llvm/ADT/
H A DSmallPtrSet.h335 inline void swap(llvm::SmallPtrSet<T, N> &LHS, llvm::SmallPtrSet<T, N> &RHS) { argument
336 LHS.swap(RHS);
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGISel.h205 bool CheckAndMask(SDValue LHS, ConstantSDNode *RHS,
207 bool CheckOrMask(SDValue LHS, ConstantSDNode *RHS,
H A DMachineInstr.h1159 static bool isEqual(const MachineInstr* const &LHS,
1162 LHS == getEmptyKey() || LHS == getTombstoneKey())
1163 return LHS == RHS;
1164 return LHS->isIdenticalTo(RHS, MachineInstr::IgnoreVRegDefs);
H A DSelectionDAG.h684 SDValue getSetCC(SDLoc DL, EVT VT, SDValue LHS, SDValue RHS, argument
686 assert(LHS.getValueType().isVector() == RHS.getValueType().isVector() &&
688 assert(LHS.getValueType().isVector() == VT.isVector() &&
692 return getNode(ISD::SETCC, DL, VT, LHS, RHS, getCondCode(Cond));
698 SDValue LHS, SDValue RHS) {
699 assert(LHS.getValueType() == RHS.getValueType() &&
701 assert(VT.isVector() == LHS.getValueType().isVector() &&
704 Cond, LHS, RHS);
710 SDValue getSelectCC(SDLoc DL, SDValue LHS, SDValue RHS, argument
713 LHS, RH
697 getSelect(SDLoc DL, EVT VT, SDValue Cond, SDValue LHS, SDValue RHS) argument
[all...]
/external/llvm/lib/IR/
H A DConstantsContext.h248 unsigned short pred, Constant* LHS, Constant* RHS)
250 Op<0>() = LHS;
665 static bool isEqual(const ConstantClass *LHS, const ConstantClass *RHS) { argument
666 return LHS == RHS;
672 static bool isEqual(const LookupKey &LHS, const ConstantClass *RHS) { argument
675 if (LHS.first != RHS->getType()
676 || LHS.second.size() != RHS->getNumOperands())
679 if (LHS.second[I] != RHS->getOperand(I))
247 CompareConstantExpr(Type *ty, Instruction::OtherOps opc, unsigned short pred, Constant* LHS, Constant* RHS) argument
/external/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp756 bool operator()(const ValueType &LHS, const ValueType &RHS) { argument
757 if (LHS.second == RHS.second) {
760 return LHS.first->TheDef->getName() < RHS.first->TheDef->getName();
764 return LHS.second > RHS.second;
957 IAPrinter *LHS = *II; local
962 if (LHS != RHS && *LHS == *RHS) {
968 if (!IsDup) UniqueIAPs.push_back(LHS);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp27 MatchSelectPattern(Value *V, Value *&LHS, Value *&RHS) { argument
40 LHS = CmpLHS;
763 Value *LHS = IC->getOperand(0); local
764 if (!match(LHS, m_And(m_Value(), m_ConstantInt(AndRHS))))
804 Value *V = Builder->CreateZExtOrTrunc(LHS, SI.getType());
1035 Value *LHS, *RHS, *LHS2, *RHS2;
1036 if (SelectPatternFlavor SPF = MatchSelectPattern(&SI, LHS, RHS)) {
1037 if (SelectPatternFlavor SPF2 = MatchSelectPattern(LHS, LHS2, RHS2))
1038 if (Instruction *R = FoldSPFofSPF(cast<Instruction>(LHS),SPF2,LHS2,RHS2,
1043 SI, SPF, LHS))
[all...]
H A DInstCombineMulDivRem.cpp601 Value *LHS = Op0, *RHS = Op1; local
604 std::swap(LHS, RHS);
608 B = LHS;
616 Value *LHS = Op0, *RHS = Op1; local
619 std::swap(LHS, RHS);
623 A = LHS;
729 if (Instruction *LHS = dyn_cast<Instruction>(Op0))
730 if (Instruction::BinaryOps(LHS->getOpcode()) == I.getOpcode())
731 if (ConstantInt *LHSRHS = dyn_cast<ConstantInt>(LHS->getOperand(1))) {
735 return BinaryOperator::Create(I.getOpcode(), LHS
[all...]
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1728 // Only known if known in both the LHS and RHS.
1735 // Look at LHS/RHS/CC and see if they are a lowered setcc instruction. If so
1736 // set LHS/RHS and SPCC to the LHS/RHS of the setcc and SPCC to the condition.
1737 static void LookThroughSetCC(SDValue &LHS, SDValue &RHS, argument
1742 (((LHS.getOpcode() == SPISD::SELECT_ICC ||
1743 LHS.getOpcode() == SPISD::SELECT_XCC) &&
1744 LHS.getOperand(3).getOpcode() == SPISD::CMPICC) ||
1745 (LHS.getOpcode() == SPISD::SELECT_FCC &&
1746 LHS
2055 LowerF128Compare(SDValue LHS, SDValue RHS, unsigned &SPCC, SDLoc DL, SelectionDAG &DAG) const argument
2288 SDValue LHS = Op.getOperand(2); local
2323 SDValue LHS = Op.getOperand(0); local
2730 SDValue LHS = Op.getOperand(0); local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DSIISelLowering.cpp312 SDValue LHS = Op.getOperand(2); local
321 LHS, RHS,
376 SDValue LHS = Op.getOperand(0); local
384 SDValue Cond = DAG.getNode(ISD::SETCC, DL, MVT::i1, LHS, RHS, CC);
/external/clang/lib/Parse/
H A DParseOpenMP.cpp414 ExprResult LHS(ParseCastExpression(false, false, NotTypeCast));
415 ExprResult Val(ParseRHSOfBinaryExpression(LHS, prec::Conditional));
502 ExprResult LHS(ParseCastExpression(false, false, NotTypeCast));
503 Val = ParseRHSOfBinaryExpression(LHS, prec::Conditional);
/external/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp306 NonLoc LHS, NonLoc RHS,
308 if (!State->isTainted(RHS) && !State->isTainted(LHS))
311 const SymExpr *symLHS = LHS.getAsSymExpr();
326 if (Optional<nonloc::ConcreteInt> lInt = LHS.getAs<nonloc::ConcreteInt>())
304 makeSymExprValNN(ProgramStateRef State, BinaryOperator::Opcode Op, NonLoc LHS, NonLoc RHS, QualType ResultTy) argument
/external/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp183 [this](const std::pair<const Value *, unsigned> &LHS,
186 if (LHS.first->getType() != RHS.first->getType())
187 return getTypeID(LHS.first->getType()) < getTypeID(RHS.first->getType());
189 return LHS.second > RHS.second;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DResourcePriorityQueue.cpp183 bool resource_sort::operator()(const SUnit *LHS, const SUnit *RHS) const { argument
187 if (LHS->isScheduleHigh && !RHS->isScheduleHigh)
190 if (!LHS->isScheduleHigh && RHS->isScheduleHigh)
193 unsigned LHSNum = LHS->NodeNum;
H A DLegalizeVectorTypes.cpp136 SDValue LHS = GetScalarizedVector(N->getOperand(0)); local
139 LHS.getValueType(), LHS, RHS);
244 SDValue LHS = GetScalarizedVector(N->getOperand(0)); local
246 LHS, DAG.getValueType(ExtVT));
261 SDValue LHS = GetScalarizedVector(N->getOperand(1)); local
305 LHS.getValueType(), Cond, LHS,
310 SDValue LHS = GetScalarizedVector(N->getOperand(1)); local
312 LHS
317 SDValue LHS = GetScalarizedVector(N->getOperand(2)); local
356 SDValue LHS = N->getOperand(0); local
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp406 [](const ConstantCandidate &LHS, const ConstantCandidate &RHS) {
407 if (LHS.ConstInt->getType() != RHS.ConstInt->getType())
408 return LHS.ConstInt->getType()->getBitWidth() <
410 return LHS.ConstInt->getValue().ult(RHS.ConstInt->getValue());
/external/mesa3d/src/gallium/drivers/radeon/
H A DSIISelLowering.cpp312 SDValue LHS = Op.getOperand(2); local
321 LHS, RHS,
376 SDValue LHS = Op.getOperand(0); local
384 SDValue Cond = DAG.getNode(ISD::SETCC, DL, MVT::i1, LHS, RHS, CC);
/external/clang/include/clang/Serialization/
H A DASTReader.h1228 friend bool operator==(const ModuleDeclIterator &LHS, argument
1230 assert(LHS.Reader == RHS.Reader && LHS.Mod == RHS.Mod);
1231 return LHS.Pos == RHS.Pos;
1234 friend bool operator!=(const ModuleDeclIterator &LHS, argument
1236 assert(LHS.Reader == RHS.Reader && LHS.Mod == RHS.Mod);
1237 return LHS.Pos != RHS.Pos;
/external/clang/test/SemaCXX/
H A Doverloaded-operator.cpp406 inline bool operator==(StringRef LHS, StringRef RHS) { // expected-error{{overloaded 'operator==' must be a binary operator (has 3 parameters)}} argument
407 return !(LHS == RHS); // expected-error{{invalid operands to binary expression ('rdar9222009::StringRef' and 'rdar9222009::StringRef')}}
/external/llvm/include/llvm/IR/
H A DAttributes.h384 static bool isEqual(AttributeSet LHS, AttributeSet RHS) { return LHS == RHS; } argument
H A DValueHandle.h251 static bool isEqual(const AssertingVH<T> &LHS, const AssertingVH<T> &RHS) { argument
252 return LHS == RHS;
/external/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp142 static bool beforeThanCompare(const Record *LHS, const Record *RHS) { argument
143 assert(!LHS->getLoc().empty() && !RHS->getLoc().empty());
145 LHS->getLoc().front().getPointer() < RHS->getLoc().front().getPointer();
148 static bool beforeThanCompareGroups(const GroupInfo *LHS, const GroupInfo *RHS){ argument
149 assert(!LHS->DiagsInGroup.empty() && !RHS->DiagsInGroup.empty());
150 return beforeThanCompare(LHS->DiagsInGroup.front(),
/external/llvm/lib/DebugInfo/
H A DDWARFContext.cpp395 bool operator()(const std::unique_ptr<DWARFCompileUnit> &LHS, argument
397 return LHS->getOffset() < RHS->getOffset();
399 bool operator()(const std::unique_ptr<DWARFCompileUnit> &LHS, argument
401 return LHS->getOffset() < RHS;
403 bool operator()(uint32_t LHS, argument
405 return LHS < RHS->getOffset();
/external/llvm/lib/Target/R600/
H A DR600ISelLowering.cpp897 SDValue LHS = N->getOperand(0); local
898 SDValue LHS_Lo = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, HalfVT, LHS, zero);
899 SDValue LHS_Hi = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, HalfVT, LHS, one);
1157 SDValue LHS = Op.getOperand(0); local
1164 // LHS and RHS are guaranteed to be the same value type
1165 EVT CompareVT = LHS.getValueType();
1190 std::swap(LHS, RHS);
1199 return DAG.getNode(ISD::SELECT_CC, DL, VT, LHS, RHS, True, False, CC);
1213 if (isZero(LHS)) {
1218 std::swap(LHS, RH
[all...]
/external/llvm/lib/TableGen/
H A DTGParser.cpp836 Init *LHS = ParseValue(CurRec); local
837 if (!LHS) return nullptr;
842 ListInit *LHSl = dyn_cast<ListInit>(LHS);
843 StringInit *LHSs = dyn_cast<StringInit>(LHS);
844 TypedInit *LHSt = dyn_cast<TypedInit>(LHS);
902 return (UnOpInit::get(Code, LHS, Type))->Fold(CurRec, CurMultiClass);
1020 Init *LHS = ParseValue(CurRec); local
1021 if (!LHS) return nullptr;
1109 return (TernOpInit::get(Code, LHS, MHS, RHS, Type))->Fold(CurRec,
1539 TypedInit *LHS local
[all...]

Completed in 8329 milliseconds

1234567891011>>