Lines Matching refs:Val

108   SDValue Val = Parts[0];
139 Val = DAG.getNode(ISD::BUILD_PAIR, DL, RoundVT, Lo, Hi);
149 Lo = Val;
158 Val = DAG.getNode(ISD::OR, DL, TotalVT, Lo, Hi);
169 Val = DAG.getNode(ISD::BUILD_PAIR, DL, ValueVT, Lo, Hi);
175 Val = getCopyFromParts(DAG, DL, Parts, NumParts, PartVT, IntVT);
179 // There is now one part, held in Val. Correct it to match ValueVT.
180 PartVT = Val.getValueType();
183 return Val;
191 Val = DAG.getNode(AssertOp, DL, PartVT, Val,
193 return DAG.getNode(ISD::TRUNCATE, DL, ValueVT, Val);
195 return DAG.getNode(ISD::ANY_EXTEND, DL, ValueVT, Val);
200 if (ValueVT.bitsLT(Val.getValueType()))
201 return DAG.getNode(ISD::FP_ROUND, DL, ValueVT, Val,
204 return DAG.getNode(ISD::FP_EXTEND, DL, ValueVT, Val);
208 return DAG.getNode(ISD::BITCAST, DL, ValueVT, Val);
224 SDValue Val = Parts[0];
260 Val = DAG.getNode(IntermediateVT.isVector() ?
265 // There is now one part, held in Val. Correct it to match ValueVT.
266 PartVT = Val.getValueType();
269 return Val;
279 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, ValueVT, Val,
285 return DAG.getNode(ISD::BITCAST, DL, ValueVT, Val);
292 DL, ValueVT, Val);
300 return DAG.getNode(ISD::BITCAST, DL, ValueVT, Val);
309 Val = DAG.getNode((Smaller ? ISD::TRUNCATE : ISD::ANY_EXTEND),
310 DL, ValueVT.getScalarType(), Val);
313 return DAG.getNode(ISD::BUILD_VECTOR, DL, ValueVT, Val);
320 SDValue Val, SDValue *Parts, unsigned NumParts,
324 /// split into legal parts. If the parts contain more bits than Val, then, for
327 SDValue Val, SDValue *Parts, unsigned NumParts,
330 EVT ValueVT = Val.getValueType();
334 return getCopyToPartsVector(DAG, DL, Val, Parts, NumParts, PartVT);
347 Parts[0] = Val;
355 Val = DAG.getNode(ISD::FP_EXTEND, DL, PartVT, Val);
361 Val = DAG.getNode(ExtendKind, DL, ValueVT, Val);
363 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
368 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
375 Val = DAG.getNode(ISD::TRUNCATE, DL, ValueVT, Val);
377 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
381 ValueVT = Val.getValueType();
387 Parts[0] = Val;
399 SDValue OddVal = DAG.getNode(ISD::SRL, DL, ValueVT, Val,
409 Val = DAG.getNode(ISD::TRUNCATE, DL, ValueVT, Val);
417 Val);
446 SDValue Val, SDValue *Parts, unsigned NumParts,
448 EVT ValueVT = Val.getValueType();
457 Val = DAG.getNode(ISD::BITCAST, DL, PartVT, Val);
467 ElementVT, Val, DAG.getIntPtrConstant(i)));
473 Val = DAG.getNode(ISD::BUILD_VECTOR, DL, PartVT, &Ops[0], Ops.size());
478 //Val = DAG.getNode(ISD::CONCAT_VECTORS, DL, PartVT, Val, UndefElts);
486 Val = DAG.getNode((Smaller ? ISD::TRUNCATE : ISD::ANY_EXTEND),
487 DL, PartVT, Val);
492 Val = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL,
493 PartVT, Val, DAG.getIntPtrConstant(0));
496 Val = DAG.getNode((Smaller ? ISD::TRUNCATE : ISD::ANY_EXTEND),
497 DL, PartVT, Val);
500 Parts[0] = Val;
521 IntermediateVT, Val,
525 IntermediateVT, Val, DAG.getIntPtrConstant(i));
631 void getCopyToRegs(SDValue Val, SelectionDAG &DAG, DebugLoc dl,
739 void RegsForValue::getCopyToRegs(SDValue Val, SelectionDAG &DAG, DebugLoc dl,
751 getCopyToParts(DAG, dl, Val.getValue(Val.getResNo() + Value),
961 SDValue Val) {
970 if (Val.getNode()) {
971 if (!EmitFuncArgumentDbgValue(V, Variable, Offset, Val)) {
972 SDV = DAG.getDbgValue(Variable, Val.getNode(),
973 Val.getResNo(), Offset, dl, DbgSDNodeOrder);
974 DAG.AddDbgValue(SDV, Val.getNode(), false);
1003 SDValue Val = getValueImpl(V);
1004 NodeMap[V] = Val;
1005 resolveDanglingDebugInfo(V, Val);
1006 return Val;
1017 SDValue Val = getValueImpl(V);
1018 NodeMap[V] = Val;
1019 resolveDanglingDebugInfo(V, Val);
1020 return Val;
1055 SDNode *Val = getValue(*OI).getNode();
1057 if (!Val) continue;
1060 for (unsigned i = 0, e = Val->getNumValues(); i != e; ++i)
1061 Constants.push_back(SDValue(Val, i));
1072 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode();
1075 for (unsigned i = 0, e = Val->getNumValues(); i != e; ++i)
1076 Ops.push_back(SDValue(Val, i));
3058 SDValue Val = getValue(Op1);
3061 SDValue(Val.getNode(), Val.getResNo() + i - LinearIndex);
4233 const Value *Val = I.getArgOperand(0);
4237 if (getValue(Val).getValueType() == MVT::f32 &&
4240 if (Constant *C = const_cast<Constant*>(dyn_cast<Constant>(Val))) {
4372 unsigned Val = RHSC->getSExtValue();
4373 if ((int)Val < 0) Val = -Val;
4376 if (Val == 0)
4383 CountPopulation_32(Val)+Log2_32(Val) < 7) {
4390 while (Val) {
4391 if (Val & 1) {
4400 Val >>= 1;
6337 SDValue Val = RetValRegs.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(),
6349 if (ResultType != Val.getValueType() && Val.getValueType().isVector()) {
6350 Val = DAG.getNode(ISD::BITCAST, getCurDebugLoc(),
6351 ResultType, Val);
6353 } else if (ResultType != Val.getValueType() &&
6354 ResultType.isInteger() && Val.getValueType().isInteger()) {
6358 Val = DAG.getNode(ISD::TRUNCATE, getCurDebugLoc(), ResultType, Val);
6361 assert(ResultType == Val.getValueType() && "Asm result value mismatch!");
6364 setValue(CS.getInstruction(), Val);
6385 SDValue Val = DAG.getStore(Chain, getCurDebugLoc(),
6390 OutChains.push_back(Val);
6782 for (unsigned Val = 0; Val != NumValues; ++Val) {
6783 EVT VT = ValueVTs[Val];