Searched refs:getConstant (Results 1 - 25 of 62) sorted by relevance

123

/macosx-10.9.5/llvmCore-3425.0.33/lib/MC/
H A DMCValue.cpp19 OS << getConstant();
30 if (getConstant())
31 OS << " + " << getConstant();
H A DMCExpr.cpp311 Res = Value.getConstant();
408 int64_t LHS_Cst = LHS.getConstant();
509 Res = MCValue::get(!Value.getConstant());
516 -Value.getConstant());
521 Res = MCValue::get(~Value.getConstant());
551 -RHSValue.getConstant(),
557 RHSValue.getConstant(),
565 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant();
/macosx-10.9.5/llvmCore-3425.0.33/unittests/Analysis/
H A DScalarEvolutionTest.cpp161 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1]));
163 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1]));
164 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[2]));
170 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[2], B[1]));
171 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[1], B[2]));
173 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[3], B[1]));
174 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 6), A[2], B[2]));
175 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[1], B[3]));
176 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[3], B[2]));
177 Sum.push_back(SE.getMulExpr(SE.getConstant(T
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/MC/
H A DMCValue.h42 int64_t getConstant() const { return Cst; } function in class:llvm::MCValue
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp482 DAG.getConstant(paramCount, MVT::i32),
483 DAG.getConstant(sz, MVT::i32),
484 DAG.getConstant(isReg, MVT::i32),
490 SDValue CopyParamOps[] = { Chain, DAG.getConstant(paramCount, MVT::i32),
491 DAG.getConstant(0, MVT::i32), OutVals[i], InFlag };
523 DAG.getConstant(Outs[i].Flags.getByValAlign(), MVT::i32),
524 DAG.getConstant(paramCount, MVT::i32),
525 DAG.getConstant(sz, MVT::i32),
543 DAG.getConstant(curOffset,
548 SDValue CopyParamOps[] = { Chain, DAG.getConstant(paramCoun
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp123 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, AVT),
151 DAG.getConstant((AVT == MVT::i64) ? 7 : 3, CVT));
167 DAG.getConstant(Offset, AddrVT)),
169 DAG.getConstant(BytesLeft, SizeVT),
251 DAG.getConstant(Offset, DstVT)),
253 DAG.getConstant(Offset, SrcVT)),
254 DAG.getConstant(BytesLeft, SizeVT),
H A DX86ISelLowering.cpp1776 SDValue SizeNode = DAG.getConstant(Flags.getByValSize(), MVT::i32);
2384 DAG.getConstant(NumXMMRegs, MVT::i8)));
2546 Ops.push_back(DAG.getConstant(FPDiff, MVT::i32));
2978 return DAG.getNode(Opc, dl, VT, V1, DAG.getConstant(TargetMask, MVT::i8));
2991 DAG.getConstant(TargetMask, MVT::i8));
3091 RHS = DAG.getConstant(0, RHS.getValueType());
3100 RHS = DAG.getConstant(0, RHS.getValueType());
4811 ThisElt, DAG.getConstant(8, MVT::i8));
4869 DAG.getConstant(NumBits,
4928 Ptr,DAG.getConstant(StartOffse
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/Scalar/
H A DSCCP.cpp92 Constant *getConstant() const { function in class:__anon10624::LatticeVal
109 assert(getConstant() == V && "Marking constant with different value");
121 if (V == getConstant()) return false;
135 return dyn_cast<ConstantInt>(getConstant());
360 markConstant(IV, V, MergeWithV.getConstant());
361 else if (IV.getConstant() != MergeWithV.getConstant())
690 OperandVal = IV.getConstant();
700 if (IV.getConstant() != OperandVal)
761 OpSt.getConstant(),
[all...]
H A DCorrelatedValuePropagation.cpp73 Constant *C = LVI->getConstant(S->getOperand(0), S->getParent());
130 Constant *C = LVI->getConstant(Pointer, I->getParent());
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/CellSPU/
H A DSPUISelLowering.cpp604 rotate = DAG.getConstant(rotamt, MVT::i16);
611 DAG.getConstant((offset & ~0xf), PtrVT));
622 rotate = DAG.getConstant(rotamt, MVT::i16);
631 DAG.getConstant(rotamt, PtrVT));
659 DAG.getConstant(0, PtrVT));
666 DAG.getConstant(-pso, PtrVT));
698 basePtr, DAG.getConstant( 0xf, MVT::i32 ) );
701 SDValue ones = DAG.getConstant(-1, MVT::v4i32 );
707 DAG.getConstant(16, PtrVT)),
720 DAG.getConstant( 1
[all...]
H A DSPUISelDAGToDAG.cpp115 ShufBytes.push_back(DAG.getConstant(0x04050607, MVT::i32));
116 ShufBytes.push_back(DAG.getConstant(0x80808080, MVT::i32));
117 ShufBytes.push_back(DAG.getConstant(0x0c0d0e0f, MVT::i32));
118 ShufBytes.push_back(DAG.getConstant(0x80808080, MVT::i32));
130 ShufBytes.push_back(DAG.getConstant(0x04050607, MVT::i32));
131 ShufBytes.push_back(DAG.getConstant(0xc0c0c0c0, MVT::i32));
132 ShufBytes.push_back(DAG.getConstant(0x0c0d0e0f, MVT::i32));
133 ShufBytes.push_back(DAG.getConstant(0xc0c0c0c0, MVT::i32));
655 CurDAG->getConstant(0x80808080, MVT::i32),
656 CurDAG->getConstant(
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp259 return DAG.getConstant(LLVMC->getValueAPF().bitcastToAPInt(),
339 SDValue Increment = DAG.getConstant(RegBytes, TLI.getPointerTy());
394 SDValue ShiftAmount = DAG.getConstant(NumBits,
405 DAG.getConstant(IncrementSize, TLI.getPointerTy()));
458 SDValue Increment = DAG.getConstant(RegBytes, TLI.getPointerTy());
534 DAG.getConstant(IncrementSize, TLI.getPointerTy()));
544 DAG.getConstant(IncrementSize, TLI.getPointerTy()));
552 SDValue ShiftAmount = DAG.getConstant(NumBits,
599 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT));
655 SDValue Con = DAG.getConstant(CF
[all...]
H A DTargetLowering.cpp1130 DAG.getConstant(Demanded &
1269 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, Op.getValueType()));
1357 SDValue ANDC = TLO.DAG.getConstant(~KnownOne & NewMask, VT);
1373 TLO.DAG.getConstant(Expanded, VT));
1446 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType());
1470 TLO.DAG.getConstant(ShAmt, ShTy));
1510 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType());
1590 SDValue ShiftAmt = TLO.DAG.getConstant(BitWidth - ShAmt, ShiftAmtTy);
1746 TLO.DAG.getConstant(ShVal, getShiftAmountTy(Op.getValueType()));
1804 SDValue ShAmt = TLO.DAG.getConstant(ShVa
[all...]
H A DLegalizeIntegerTypes.cpp271 DAG.getConstant(DiffBits, TLI.getPointerTy()));
318 DAG.getConstant(NVT.getSizeInBits() -
339 Op = DAG.getNode(ISD::OR, dl, NVT, Op, DAG.getConstant(TopBit, NVT));
669 DAG.getConstant(0, Hi.getValueType()), ISD::SETNE);
728 DAG.getConstant(i * RegVT.getSizeInBits(),
900 DAG.getConstant(OVT.getSizeInBits(), TLI.getPointerTy()));
1279 Lo = Hi = DAG.getConstant(0, NVT);
1281 Lo = DAG.getConstant(0, NVT);
1283 NVT, InL, DAG.getConstant(Amt-NVTBits, ShTy));
1285 Lo = DAG.getConstant(
[all...]
H A DSelectionDAG.cpp965 getConstant(Imm, Op.getValueType()));
973 getConstant(APInt::getAllOnesValue(EltVT.getSizeInBits()), VT);
977 SDValue SelectionDAG::getConstant(uint64_t Val, EVT VT, bool isT) { function in class:SelectionDAG
981 "getConstant with a uint64_t value that doesn't fit in the type!");
982 return getConstant(APInt(EltVT.getSizeInBits(), Val), VT, isT);
985 SDValue SelectionDAG::getConstant(const APInt &Val, EVT VT, bool isT) { function in class:SelectionDAG
986 return getConstant(*ConstantInt::get(*Context, Val), VT, isT);
989 SDValue SelectionDAG::getConstant(const ConstantInt &Val, EVT VT, bool isT) { function in class:SelectionDAG
1034 return getConstant(Val, TLI.getPointerTy(), isTarget);
1575 case ISD::SETFALSE2: return getConstant(
[all...]
H A DLegalizeVectorOps.cpp479 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), BitTy),
480 DAG.getConstant(0, BitTy));
492 SDValue AllOnes = DAG.getConstant(
534 SDValue AllOnes = DAG.getConstant(
558 SDValue HalfWord = DAG.getConstant(BW/2, VT);
564 SDValue HalfWordMask = DAG.getConstant(HWMask, VT);
609 DAG.getConstant(APInt::getAllOnesValue
611 DAG.getConstant(0, EltVT));
H A DDAGCombiner.cpp1409 DAG.getConstant(N1C->getAPIntValue()+
1600 return DAG.getConstant(0, VT);
1604 SDValue El = DAG.getConstant(0, VT.getVectorElementType());
1637 DAG.getConstant(-N1C->getAPIntValue(), VT));
1652 SDValue NewC = DAG.getConstant(N0C->getAPIntValue() - N1C1->getAPIntValue(),
1694 return DAG.getConstant((uint64_t)GA->getOffset() - GB->getOffset(),
1716 return CombineTo(N, DAG.getConstant(0, VT),
1761 return DAG.getConstant(0, VT);
1774 DAG.getConstant(0, VT), N0);
1778 DAG.getConstant(N1
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/XCore/
H A DXCoreISelLowering.cpp254 DAG.getConstant(Intrinsic::xcore_getid, MVT::i32));
291 DAG.getConstant(Size, MVT::i32));
347 DAG.getConstant(1, MVT::i32));
436 SDValue LowOffset = DAG.getConstant(Offset & ~0x3, MVT::i32);
437 SDValue HighOffset = DAG.getConstant((Offset & ~0x3) + 4, MVT::i32);
438 SDValue LowShift = DAG.getConstant((Offset & 0x3) * 8, MVT::i32);
439 SDValue HighShift = DAG.getConstant(32 - (Offset & 0x3) * 8, MVT::i32);
464 DAG.getConstant(2, MVT::i32));
471 DAG.getConstant(16, MVT::i32));
524 DAG.getConstant(1
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Analysis/
H A DLazyValueInfo.h56 /// getConstant - Determine whether the specified value is known to be a
58 Constant *getConstant(Value *V, BasicBlock *BB);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/ARM/
H A DARMSelectionDAGInfo.cpp68 DAG.getConstant(SrcOff, MVT::i32)),
80 DAG.getConstant(DstOff, MVT::i32)),
107 DAG.getConstant(SrcOff, MVT::i32)),
130 DAG.getConstant(DstOff, MVT::i32)),
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/
H A DScalarEvolution.cpp308 const SCEV *ScalarEvolution::getConstant(ConstantInt *V) { function in class:ScalarEvolution
319 const SCEV *ScalarEvolution::getConstant(const APInt& Val) { function in class:ScalarEvolution
320 return getConstant(ConstantInt::get(getContext(), Val));
324 ScalarEvolution::getConstant(Type *Ty, uint64_t V, bool isSigned) { function in class:ScalarEvolution
326 return getConstant(ConstantInt::get(ITy, V, isSigned));
770 const SCEV *S = SE.getMinusSCEV(It, SE.getConstant(It->getType(), i));
776 const SCEV *DivResult = SE.getUDivExpr(Dividend, SE.getConstant(DivFactor));
780 return SE.getMulExpr(SE.getConstant(MultiplyFactor),
830 return getConstant(
902 return getConstant(
[all...]
H A DLazyValueInfo.cpp111 Constant *getConstant() const { function in class:__anon10083::LVILatticeVal
143 assert((!isConstant() || getConstant() == V) &&
159 assert((!isConstant() || getConstant() != V) &&
218 getConstant(),
245 RHS.getConstant())))
288 return OS << "constant<" << *Val.getConstant() << '>';
1032 Constant *LazyValueInfo::getConstant(Value *V, BasicBlock *BB) { function in class:LazyValueInfo
1036 return Result.getConstant();
1052 return Result.getConstant();
1072 Res = ConstantFoldCompareInstOperands(Pred, Result.getConstant(),
[all...]
H A DScalarEvolutionExpander.cpp222 S = SE.getConstant(S->getType(), 1);
241 const SCEV *Div = SE.getConstant(CI);
245 SE.getConstant(C->getValue()->getValue().srem(
264 SE.getConstant(C->getValue()->getValue().sdiv(
274 const SCEV *Remainder = SE.getConstant(SOp->getType(), 0);
289 const SCEV *StepRem = SE.getConstant(Step->getType(), 0);
320 SE.getConstant(Ty, 0) :
347 const SCEV *Zero = SE.getConstant(Ty, 0);
425 const SCEV *Remainder = SE.getConstant(Ty, 0);
474 SE.getConstant(T
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Mips/
H A DMipsISelLowering.cpp630 DAG.getConstant(FPCondCCodeToFCC(CC), MVT::i32));
713 ShiftRight.getOperand(0), DAG.getConstant(Pos, MVT::i32),
714 DAG.getConstant(SMSize, MVT::i32));
767 DAG.getConstant(SMPos0, MVT::i32),
768 DAG.getConstant(SMSize0, MVT::i32), And0.getOperand(0));
1646 SDValue BrCode = DAG.getConstant(GetFPBranchCodeFromCond(CC), MVT::i32);
1684 SDValue True = DAG.getConstant(1, MVT::i32);
1685 SDValue False = DAG.getConstant(0, MVT::i32);
1943 SDValue Const1 = DAG.getConstant(1, MVT::i32);
1944 SDValue Const31 = DAG.getConstant(3
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/PowerPC/
H A DPPCISelLowering.cpp1201 SDValue Zero = DAG.getConstant(0, PtrVT);
1347 DAG.getConstant(Log2b, MVT::i32));
1367 return DAG.getSetCC(dl, VT, Sub, DAG.getConstant(0, LHSVT), CC);
1393 DAG.getConstant(1, MVT::i32));
1395 DAG.getConstant(0, MVT::i32), ISD::SETNE);
1397 DAG.getConstant(1, MVT::i32));
1405 DAG.getConstant(1, MVT::i32));
1414 DAG.getConstant(8, MVT::i32));
1417 DAG.getConstant(4, MVT::i32));
1432 DAG.getConstant(
[all...]

Completed in 513 milliseconds

123