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

12345678

/external/swiftshader/third_party/LLVM/lib/MC/
H A DMCValue.cpp19 OS << getConstant();
30 if (getConstant())
31 OS << " + " << getConstant();
/external/llvm/lib/MC/
H A DMCValue.cpp20 OS << getConstant();
36 if (getConstant())
37 OS << " + " << getConstant();
/external/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp168 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1]));
170 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1]));
171 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[2]));
177 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[2], B[1]));
178 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[1], B[2]));
180 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[3], B[1]));
181 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 6), A[2], B[2]));
182 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[1], B[3]));
183 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 3), A[3], B[2]));
184 Sum.push_back(SE.getMulExpr(SE.getConstant(T
[all...]
/external/swiftshader/third_party/LLVM/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...]
/external/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp43 DAG.getConstant(Size, DL, PtrVT),
44 DAG.getConstant(Size / 256, DL, PtrVT));
46 DAG.getConstant(Size, DL, PtrVT));
72 DAG.getConstant(StoreVal, DL,
106 DAG.getConstant(Size1, DL, PtrVT));
120 DAG.getConstant(1, DL, PtrVT));
140 DAG.getConstant(1, DL, PtrVT));
163 DAG.getConstant(Size, DL, PtrVT),
164 DAG.getConstant(Size / 256, DL, PtrVT));
166 DAG.getConstant(Siz
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDGPUISelLowering.cpp155 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT),
202 SDValue NEG_RCP_LO = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT),
206 SDValue ABS_RCP_LO = DAG.getSelectCC(DL, RCP_HI, DAG.getConstant(0, VT),
220 SDValue Tmp0 = DAG.getSelectCC(DL, RCP_HI, DAG.getConstant(0, VT),
234 DAG.getConstant(-1, VT),
235 DAG.getConstant(0, VT),
239 DAG.getConstant(0, VT),
240 DAG.getConstant(-1, VT),
241 DAG.getConstant(0, VT),
251 DAG.getConstant(
[all...]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCExpr.cpp65 Res = evaluateAsInt64(Value.getConstant());
102 int64_t Result = evaluateAsInt64(Value.getConstant());
142 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant());
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DSCCP.cpp94 Constant *getConstant() const { function in class:__anon18973::LatticeVal
111 assert(getConstant() == V && "Marking constant with different value");
123 if (V == getConstant()) return false;
137 return dyn_cast<ConstantInt>(getConstant());
364 markConstant(IV, V, MergeWithV.getConstant());
365 else if (IV.getConstant() != MergeWithV.getConstant())
744 OperandVal = IV.getConstant();
754 if (IV.getConstant() != OperandVal)
815 OpSt.getConstant(),
[all...]
/external/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCExpr.cpp57 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
/external/swiftshader/third_party/LLVM/include/llvm/MC/
H A DMCValue.h42 int64_t getConstant() const { return Cst; } function in class:llvm::MCValue
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
H A DPTXSelectionDAGInfo.cpp71 DAG.getConstant(SrcOff, PointerType)),
83 DAG.getConstant(DstOff, PointerType)),
110 DAG.getConstant(SrcOff, PointerType)),
132 DAG.getConstant(DstOff, PointerType)),
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp120 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, AVT),
148 DAG.getConstant((AVT == MVT::i64) ? 7 : 3, CVT));
164 DAG.getConstant(Offset, AddrVT)),
166 DAG.getConstant(BytesLeft, SizeVT),
248 DAG.getConstant(Offset, DstVT)),
250 DAG.getConstant(Offset, SrcVT)),
251 DAG.getConstant(BytesLeft, SizeVT),
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
H A DSPUISelLowering.cpp593 rotate = DAG.getConstant(rotamt, MVT::i16);
600 DAG.getConstant((offset & ~0xf), PtrVT));
611 rotate = DAG.getConstant(rotamt, MVT::i16);
620 DAG.getConstant(rotamt, PtrVT));
648 DAG.getConstant(0, PtrVT));
655 DAG.getConstant(-pso, PtrVT));
687 basePtr, DAG.getConstant( 0xf, MVT::i32 ) );
690 SDValue ones = DAG.getConstant(-1, MVT::v4i32 );
696 DAG.getConstant(16, PtrVT)),
708 DAG.getConstant( 1
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp257 NewRHS = DAG.getConstant(0, dl, RetVT);
361 DAG.getConstant(Demanded &
506 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, dl, Op.getValueType()));
594 SDValue ANDC = TLO.DAG.getConstant(~KnownOne & NewMask, dl, VT);
610 TLO.DAG.getConstant(Expanded, dl, VT));
683 TLO.DAG.getConstant(Diff, dl, Op.getOperand(1).getValueType());
707 TLO.DAG.getConstant(ShAmt, dl, ShTy));
729 TLO.DAG.getConstant(ShAmt - InnerShAmt, dl,
779 TLO.DAG.getConstant(Diff, dl, Op.getOperand(1).getValueType());
852 TLO.DAG.getConstant(BitWidt
[all...]
H A DLegalizeDAG.cpp258 return DAG.getConstant(LLVMC->getValueAPF().bitcastToAPInt(), dl,
346 DAG.getConstant(EltSize, dl, IdxVT));
402 SDValue Con = DAG.getConstant(CFP->getValueAPF().
412 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt().
423 SDValue Lo = DAG.getConstant(IntVal.trunc(32), dl, MVT::i32);
424 SDValue Hi = DAG.getConstant(IntVal.lshr(32).trunc(32), dl, MVT::i32);
431 DAG.getConstant(4, dl, Ptr.getValueType()));
543 DAG.getConstant(IncrementSize, dl,
547 DAG.getConstant(RoundWidth, dl,
559 DAG.getConstant(ExtraWidt
[all...]
H A DLegalizeIntegerTypes.cpp321 DAG.getConstant(DiffBits, dl,
334 DAG.getConstant(DiffBits, dl,
383 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), dl,
404 Op = DAG.getNode(ISD::OR, dl, NVT, Op, DAG.getConstant(TopBit, dl, NVT));
792 DAG.getConstant(0, DL, Hi.getValueType()),
844 DAG.getConstant(i * RegVT.getSizeInBits(), dl,
1042 DAG.getConstant(OVT.getSizeInBits(), dl,
1444 Lo = Hi = DAG.getConstant(0, DL, NVT);
1446 Lo = DAG.getConstant(0, DL, NVT);
1448 NVT, InL, DAG.getConstant(Am
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
H A DXCoreISelLowering.cpp255 DAG.getConstant(Intrinsic::xcore_getid, MVT::i32));
293 DAG.getConstant(Size, MVT::i32));
349 DAG.getConstant(1, MVT::i32));
429 SDValue LowOffset = DAG.getConstant(Offset & ~0x3, MVT::i32);
430 SDValue HighOffset = DAG.getConstant((Offset & ~0x3) + 4, MVT::i32);
431 SDValue LowShift = DAG.getConstant((Offset & 0x3) * 8, MVT::i32);
432 SDValue HighShift = DAG.getConstant(32 - (Offset & 0x3) * 8, MVT::i32);
455 DAG.getConstant(2, MVT::i32));
462 DAG.getConstant(16, MVT::i32));
515 DAG.getConstant(1
[all...]
/external/proguard/src/proguard/optimize/peephole/
H A DInstructionSequenceReplacer.java384 ((IntegerConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument)))).getValue() :
389 ((IntegerConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument)))).getValue() :
394 ((IntegerConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument)))).getValue() :
399 ((LongConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument)))).getValue() :
404 ((FloatConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument)))).getValue() :
409 ((DoubleConstant)(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument)))).getValue() :
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp295 SDValue Remaining = DAG.getConstant(Offset - FoldedOffset, DL, MVT::i32);
366 DAG.getConstant(1, dl, MVT::i32));
391 DAG.getConstant(LowOffset, DL, MVT::i32));
393 DAG.getConstant(HighOffset, DL, MVT::i32));
395 SDValue LowShift = DAG.getConstant((Offset - LowOffset) * 8, DL, MVT::i32);
396 SDValue HighShift = DAG.getConstant((HighOffset - Offset) * 8, DL, MVT::i32);
466 DAG.getConstant(2, DL, MVT::i32));
473 DAG.getConstant(16, DL, MVT::i32));
527 DAG.getConstant(16, dl, MVT::i32));
533 DAG.getConstant(
[all...]
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1144 DAG.getConstant(Demanded &
1284 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, Op.getValueType()));
1371 SDValue ANDC = TLO.DAG.getConstant(~KnownOne & NewMask, VT);
1387 TLO.DAG.getConstant(Expanded, VT));
1460 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType());
1485 TLO.DAG.getConstant(ShAmt, ShTy));
1525 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType());
1744 TLO.DAG.getConstant(ShVal, getShiftAmountTy(Op.getValueType()));
1800 SDValue ShAmt = TLO.DAG.getConstant(ShVal, Op.getValueType());
1834 return TLO.CombineTo(Op, TLO.DAG.getConstant(KnownOn
[all...]
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp694 auto Ops = {DAG.getConstant(0, SDLoc(), Op.getValueType()), Op.getOperand(0)};
770 return DAG.getStore(Chain, DL, DAG.getConstant(*CI, DL, VT), InitPtr,
790 SDValue Offset = DAG.getConstant(SL->getElementOffset(I), DL, PtrVT);
814 SDValue Offset = DAG.getConstant(i * EltSize, DL, PtrVT);
883 return DAG.getConstant(Offset, SDLoc(Op),
1033 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32);
1034 const SDValue One = DAG.getConstant(1, SL, MVT::i32);
1046 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32);
1054 const SDValue One = DAG.getConstant(1, SL, MVT::i32);
1096 DAG.getConstant(Siz
[all...]
H A DR600ISelLowering.cpp651 DAG.getConstant(0, DL, MVT::i32), // SWZ_X
652 DAG.getConstant(1, DL, MVT::i32), // SWZ_Y
653 DAG.getConstant(2, DL, MVT::i32), // SWZ_Z
654 DAG.getConstant(3, DL, MVT::i32) // SWZ_W
719 DAG.getConstant(TextureOp, DL, MVT::i32),
721 DAG.getConstant(0, DL, MVT::i32),
722 DAG.getConstant(1, DL, MVT::i32),
723 DAG.getConstant(2, DL, MVT::i32),
724 DAG.getConstant(3, DL, MVT::i32),
728 DAG.getConstant(
[all...]
/external/llvm/include/llvm/Analysis/
H A DLoopUnrollAnalyzer.h53 IterationNumber = SE.getConstant(APInt(64, Iteration));
/external/llvm/include/llvm/MC/
H A DMCValue.h46 int64_t getConstant() const { return Cst; } function in class:llvm::MCValue
/external/llvm/tools/llvm-readobj/
H A DStackMapPrinter.h62 << SMP.getConstant(Loc.getConstantIndex()).getValue() << ")";

Completed in 776 milliseconds

12345678