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

12345

/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCValue.cpp20 OS << getConstant();
36 if (getConstant())
37 OS << " + " << getConstant();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp25 return OS << "constant<" << *Val.getConstant() << ">";
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFSelectionDAGInfo.cpp38 DAG.getConstant(CopyLen, dl, MVT::i64),
39 DAG.getConstant(Align, dl, MVT::i64));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp42 DAG.getConstant(Size, DL, PtrVT),
43 DAG.getConstant(Size / 256, DL, PtrVT));
45 DAG.getConstant(Size, DL, PtrVT));
71 Chain, DL, DAG.getConstant(StoreVal, DL, MVT::getIntegerVT(Size * 8)),
104 DAG.getConstant(Size1, DL, PtrVT));
117 DAG.getConstant(1, DL, PtrVT));
136 DAG.getConstant(1, DL, PtrVT));
159 DAG.getConstant(Size, DL, PtrVT),
160 DAG.getConstant(Size / 256, DL, PtrVT));
162 DAG.getConstant(Siz
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h160 Constant *getConstant() const { function in class:llvm::ValueLatticeElement
177 if (isConstant() && isa<ConstantInt>(getConstant())) {
178 return cast<ConstantInt>(getConstant())->getValue();
210 assert(getConstant() == V && "Marking constant with different value");
285 return markConstant(RHS.getConstant());
298 if (RHS.isConstant() && getConstant() == RHS.getConstant())
341 return ConstantExpr::getCompare(Pred, getConstant(), Other.getConstant());
H A DLoopUnrollAnalyzer.h52 IterationNumber = SE.getConstant(APInt(64, Iteration));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCExpr.cpp56 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblySelectionDAGInfo.cpp30 SDValue MemIdx = DAG.getConstant(0, DL, MVT::i32);
54 SDValue MemIdx = DAG.getConstant(0, DL, MVT::i32);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCExpr.cpp66 Res = evaluateAsInt64(Value.getConstant());
107 int64_t Result = evaluateAsInt64(Value.getConstant());
153 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp292 SDValue Remaining = DAG.getConstant(Offset - FoldedOffset, DL, MVT::i32);
362 DAG.getConstant(1, dl, MVT::i32));
386 DAG.getConstant(LowOffset, DL, MVT::i32));
388 DAG.getConstant(HighOffset, DL, MVT::i32));
390 SDValue LowShift = DAG.getConstant((Offset - LowOffset) * 8, DL, MVT::i32);
391 SDValue HighShift = DAG.getConstant((HighOffset - Offset) * 8, DL, MVT::i32);
451 DAG.getConstant(2, DL, MVT::i32));
457 DAG.getConstant(16, DL, MVT::i32));
504 DAG.getConstant(16, dl, MVT::i32));
509 DAG.getConstant(
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp118 Constant *getConstant() const { function in class:__anon2751::LatticeVal
135 assert(getConstant() == V && "Marking constant with different value");
147 if (V == getConstant()) return false;
161 return dyn_cast<ConstantInt>(getConstant());
169 return dyn_cast<BlockAddress>(getConstant());
183 return ValueLatticeElement::get(getConstant());
475 return markConstant(IV, V, MergeWithV.getConstant());
476 if (IV.getConstant() != MergeWithV.getConstant())
813 OperandVal = IV.getConstant();
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1118 auto Ops = {DAG.getConstant(0, SDLoc(), Op.getValueType()), Op.getOperand(0)};
1212 return DAG.getConstant(Offset, SDLoc(Op), Op.getValueType());
1335 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32);
1336 const SDValue One = DAG.getConstant(1, SL, MVT::i32);
1348 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32);
1356 const SDValue One = DAG.getConstant(1, SL, MVT::i32);
1388 DAG.getConstant(0, DL, IdxTy));
1391 HiVT, N, DAG.getConstant(LoVT.getVectorNumElements(), DL, IdxTy));
1443 DAG.getConstant(0, SL, IdxTy));
1447 DAG.getConstant(LoV
[all...]
H A DR600ISelLowering.cpp514 DAG.getConstant(0, DL, MVT::i32), // SWZ_X
515 DAG.getConstant(1, DL, MVT::i32), // SWZ_Y
516 DAG.getConstant(2, DL, MVT::i32), // SWZ_Z
517 DAG.getConstant(3, DL, MVT::i32) // SWZ_W
549 DAG.getConstant(TextureOp, DL, MVT::i32),
551 DAG.getConstant(0, DL, MVT::i32),
552 DAG.getConstant(1, DL, MVT::i32),
553 DAG.getConstant(2, DL, MVT::i32),
554 DAG.getConstant(3, DL, MVT::i32),
558 DAG.getConstant(
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp404 NewRHS = DAG.getConstant(0, dl, RetVT);
521 SDValue NewC = TLO.DAG.getConstant(Demanded & C, DL, VT);
1118 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, dl, VT));
1234 TLO.DAG.getConstant(~C->getAPIntValue() & DemandedBits, dl, VT);
1350 SDValue NewSA = TLO.DAG.getConstant(Diff, dl, Op1.getValueType());
1381 TLO.DAG.getConstant(ShAmt, dl, ShTy));
1399 SDValue NewSA = TLO.DAG.getConstant(ShAmt - InnerShAmt, dl,
1456 SDValue NewSA = TLO.DAG.getConstant(Diff, dl, ShiftVT);
1529 TLO.DAG.getConstant(BitWidth - 1 - Log2, dl, Op1.getValueType());
1617 TLO.DAG.getConstant(BitWidt
[all...]
H A DLegalizeIntegerTypes.cpp368 DAG.getConstant(ShiftAmt, dl, ShiftAmtTy));
387 DAG.getConstant(0, dl, IdxTy));
420 DAG.getConstant(DiffBits, dl, ShiftVT));
433 DAG.getConstant(DiffBits, dl, ShiftVT));
469 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), dl,
490 Op = DAG.getNode(ISD::OR, dl, NVT, Op, DAG.getConstant(TopBit, dl, NVT));
721 SDValue ShiftAmount = DAG.getConstant(SHLAmount, dl, SHVT);
739 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType);
748 SDValue SatMin = DAG.getConstant(MinVal, dl, PromotedType);
749 SDValue SatMax = DAG.getConstant(MaxVa
[all...]
H A DLegalizeDAG.cpp303 return DAG.getConstant(LLVMC->getValueAPF().bitcastToAPInt(), dl,
444 SDValue Con = DAG.getConstant(CFP->getValueAPF().
454 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt().
465 SDValue Lo = DAG.getConstant(IntVal.trunc(32), dl, MVT::i32);
466 SDValue Hi = DAG.getConstant(IntVal.lshr(32).trunc(32), dl, MVT::i32);
585 DAG.getConstant(RoundWidth, dl,
597 DAG.getConstant(ExtraWidth, dl,
605 DAG.getConstant(IncrementSize, dl,
810 DAG.getConstant(RoundWidth, dl,
839 DAG.getConstant(ExtraWidt
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCValue.h46 int64_t getConstant() const { return Cst; } function in class:llvm::MCValue
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp144 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, dl, AVT),
174 DAG.getConstant(Offset, dl, AddrVT)),
176 DAG.getConstant(BytesLeft, dl, SizeVT),
284 DAG.getNode(ISD::ADD, dl, DstVT, Dst, DAG.getConstant(Offset, dl, DstVT)),
285 DAG.getNode(ISD::ADD, dl, SrcVT, Src, DAG.getConstant(Offset, dl, SrcVT)),
286 DAG.getConstant(BytesLeft, dl, SizeVT), Align, isVolatile,
H A DX86TargetObjectFile.cpp55 unsigned FinalOff = Offset+MV.getConstant()+4;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DStackMapPrinter.h64 << SMP.getConstant(Loc.getConstantIndex()).getValue() << ")";
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp64 assert((Offset+MV.getConstant() == 0) &&
H A DAArch64ISelLowering.cpp1046 TLO.DAG.getConstant(NewImm, DL, VT));
1831 SDValue Condition = DAG.getConstant(Predicate, DL, MVT_CC);
1834 SDValue NZCVOp = DAG.getConstant(NZCV, DL, MVT::i32);
2093 RHS = DAG.getConstant(C, dl, VT);
2103 RHS = DAG.getConstant(C, dl, VT);
2114 RHS = DAG.getConstant(C, dl, VT);
2125 RHS = DAG.getConstant(C, dl, VT);
2182 Cmp = emitComparison(SExt, DAG.getConstant(ValueofRHS, dl,
2201 AArch64cc = DAG.getConstant(AArch64CC, dl, MVT_CC);
2248 DAG.getConstant(
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCExpr.cpp64 Result = evaluateAsInt64(Value.getConstant());
81 Result = MCValue::get(evaluateAsInt64(Value.getConstant()));
92 Result = MCValue::get(Sym, Value.getSymB(), Value.getConstant());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.cpp144 Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(),
159 int64_t AbsVal = Res.getConstant();
215 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp211 IntOps.push_back(DAG.getConstant(IntId, dl, MVT::i32));
299 {ElemIdx, DAG.getConstant(L, dl, MVT::i32)});
313 SDValue Mask = DAG.getConstant(32/ElemWidth - 1, dl, MVT::i32);
485 SDValue S = DAG.getConstant(4, dl, MVT::i32);
496 {HalfV0, DAG.getConstant(HwLen/2, dl, MVT::i32)});
534 {DAG.getConstant(BlockLen, dl, MVT::i32)}, DAG);
581 SDValue S4 = DAG.getConstant(HwLen-4, dl, MVT::i32);
698 SDValue ScV = DAG.getConstant(Scale, dl, MVT::i32);
720 {ByteIdxV, DAG.getConstant(-4, dl, MVT::i32)});
724 {DAG.getConstant(HwLe
[all...]

Completed in 341 milliseconds

12345