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

123456

/netbsd-current/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCValue.cpp20 OS << getConstant();
36 if (getConstant())
37 OS << " + " << getConstant();
H A DMCExpr.cpp578 Res = Value.getConstant();
720 int64_t LHS_Cst = LHS.getConstant();
829 Res.getSymB() || Res.getConstant())
834 Res.getSymB(), Res.getConstant(), Res.getRefKind());
851 if (Res.getConstant() == 0 && (!A || !B))
872 Res = MCValue::get(!Value.getConstant());
881 -(uint64_t)Value.getConstant());
886 Res = MCValue::get(~Value.getConstant());
931 -(uint64_t)RHSValue.getConstant(), Res);
936 RHSValue.getConstant(), Re
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFSelectionDAGInfo.cpp38 DAG.getConstant(CopyLen, dl, MVT::i64),
39 DAG.getConstant(Alignment.value(), dl, MVT::i64));
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DValueLattice.cpp31 return OS << "constant<" << *Val.getConstant() << ">";
/netbsd-current/external/apache2/llvm/dist/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));
119 DAG.getConstant(1, DL, PtrVT));
137 DAG.getConstant(1, DL, PtrVT));
160 DAG.getConstant(Size, DL, PtrVT),
161 DAG.getConstant(Size / 256, DL, PtrVT));
163 DAG.getConstant(Siz
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DValueLattice.h256 Constant *getConstant() const { function in class:llvm::ValueLatticeElement
277 if (isConstant() && isa<ConstantInt>(getConstant())) {
278 return cast<ConstantInt>(getConstant())->getValue();
307 assert(getConstant() == V && "Marking constant with different value");
400 return markConstant(RHS.getConstant(), true);
414 if (RHS.isConstant() && getConstant() == RHS.getConstant())
458 return ConstantExpr::getCompare(Pred, getConstant(), Other.getConstant());
463 getNotConstant() == Other.getConstant()) ||
[all...]
H A DLoopUnrollAnalyzer.h52 IterationNumber = SE.getConstant(APInt(64, Iteration));
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCExpr.cpp71 Res = evaluateAsInt64(Value.getConstant());
112 int64_t Result = evaluateAsInt64(Value.getConstant());
158 Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCExpr.cpp56 MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblySelectionDAGInfo.cpp29 SDValue MemIdx = DAG.getConstant(0, DL, MVT::i32);
53 SDValue MemIdx = DAG.getConstant(0, DL, MVT::i32);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DKnownBits.cpp172 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) {
173 unsigned Shift = RHS.getConstant().getZExtValue();
225 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) {
226 unsigned Shift = RHS.getConstant().getZExtValue();
278 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) {
279 unsigned Shift = RHS.getConstant().getZExtValue();
335 return Optional<bool>(LHS.getConstant() == RHS.getConstant());
536 if (RHS.isConstant() && RHS.getConstant().isPowerOf2()) {
538 APInt LowBits = RHS.getConstant()
[all...]
/netbsd-current/external/apache2/llvm/dist/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);
450 DAG.getConstant(2, DL, MVT::i32));
456 DAG.getConstant(16, DL, MVT::i32));
503 DAG.getConstant(16, dl, MVT::i32));
508 DAG.getConstant(
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCValue.h44 int64_t getConstant() const { return Cst; } function in class:llvm::MCValue
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DSCCPSolver.h132 Constant *getConstant(const ValueLatticeElement &LV) const;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp48 unsigned FinalOff = Offset+MV.getConstant()+4;
H A DX86SelectionDAGInfo.cpp144 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, dl, AVT),
175 DAG.getConstant(Offset, dl, AddrVT)),
176 Val, DAG.getConstant(BytesLeft, dl, SizeVT), Alignment,
283 DAG.getNode(ISD::ADD, dl, DstVT, Dst, DAG.getConstant(Offset, dl, DstVT)),
284 DAG.getNode(ISD::ADD, dl, SrcVT, Src, DAG.getConstant(Offset, dl, SrcVT)),
285 DAG.getConstant(BytesLeft, dl, SizeVT), llvm::Align(Align), isVolatile,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp413 NewRHS = DAG.getConstant(0, dl, RetVT);
532 SDValue NewC = TLO.DAG.getConstant(DemandedBits & C, DL, VT);
1249 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, dl, VT));
1356 TLO.DAG.getConstant(~C->getAPIntValue() & DemandedBits, dl, VT);
1467 SDValue NewSA = TLO.DAG.getConstant(Diff, dl, ShiftVT);
1488 TLO.DAG.getConstant(ShAmt, dl, ShTy));
1509 TLO.DAG.getConstant(ShAmt - InnerShAmt, dl, ShiftVT);
1575 SDValue NewSA = TLO.DAG.getConstant(Diff, dl, ShiftVT);
1658 SDValue NewSA = TLO.DAG.getConstant(BitWidth - 1 - Log2, dl, ShiftVT);
1820 TLO.DAG.getConstant(BitWidt
[all...]
H A DLegalizeIntegerTypes.cpp409 DAG.getConstant(ShiftAmt, dl, ShiftAmtTy));
475 DAG.getConstant(DiffBits, dl, ShiftVT));
498 DAG.getConstant(DiffBits, dl, ShiftVT));
534 DAG.getConstant(NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(), dl,
555 Op = DAG.getNode(ISD::OR, dl, NVT, Op, DAG.getConstant(TopBit, dl, NVT));
792 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType);
823 SDValue ShiftAmount = DAG.getConstant(SHLAmount, dl, SHVT);
838 SDValue SatMin = DAG.getConstant(MinVal, dl, PromotedType);
839 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType);
874 DAG.getConstant(DiffSiz
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp1227 auto Ops = {DAG.getConstant(0, SDLoc(), Op.getValueType()), Op.getOperand(0)};
1336 return DAG.getConstant(Offset, SDLoc(Op), Op.getValueType());
1459 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32);
1460 const SDValue One = DAG.getConstant(1, SL, MVT::i32);
1472 const SDValue Zero = DAG.getConstant(0, SL, MVT::i32);
1480 const SDValue One = DAG.getConstant(1, SL, MVT::i32);
1682 SDValue jq = DAG.getConstant(1, DL, IntVT);
1690 DAG.getConstant(BitSize - 2, DL, VT));
1693 jq = DAG.getNode(ISD::OR, DL, VT, jq, DAG.getConstant(1, DL, VT));
1743 jq = DAG.getNode(ISD::SELECT, DL, VT, cv, jq, DAG.getConstant(
[all...]
H A DR600ISelLowering.cpp486 DAG.getConstant(0, DL, MVT::i32), // SWZ_X
487 DAG.getConstant(1, DL, MVT::i32), // SWZ_Y
488 DAG.getConstant(2, DL, MVT::i32), // SWZ_Z
489 DAG.getConstant(3, DL, MVT::i32) // SWZ_W
521 DAG.getConstant(TextureOp, DL, MVT::i32),
523 DAG.getConstant(0, DL, MVT::i32),
524 DAG.getConstant(1, DL, MVT::i32),
525 DAG.getConstant(2, DL, MVT::i32),
526 DAG.getConstant(3, DL, MVT::i32),
530 DAG.getConstant(
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineDebugify.cpp146 Ctx, ValueAsMetadata::getConstant(ConstantInt::get(Int32Ty, N))));
156 NMD->setOperand(Idx, MDNode::get(Ctx, ValueAsMetadata::getConstant(
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DStackMapPrinter.h64 << SMP.getConstant(Loc.getConstantIndex()).getValue() << ")";
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.cpp63 assert((Offset+MV.getConstant() == 0) &&
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCExpr.cpp65 Result = evaluateAsInt64(Value.getConstant());
82 Result = MCValue::get(evaluateAsInt64(Value.getConstant()));
96 Result = MCValue::get(Sym, Value.getSymB(), Value.getConstant());
/netbsd-current/external/apache2/llvm/dist/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());

Completed in 332 milliseconds

123456