Home
last modified time | relevance | path

Searched refs:AbsVal (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.cpp38 int64_t AbsVal; in printImpl() local
125 if (Expr->evaluateAsAbsolute(AbsVal)) in printImpl()
126 OS << AbsVal; in printImpl()
157 int64_t AbsVal = Res.getConstant(); in evaluateAsRelocatableImpl() local
186 AbsVal = SignExtend64<16>(AbsVal); in evaluateAsRelocatableImpl()
190 AbsVal = SignExtend64<16>((AbsVal + 0x8000) >> 16); in evaluateAsRelocatableImpl()
193 AbsVal = SignExtend64<16>((AbsVal + 0x80008000LL) >> 32); in evaluateAsRelocatableImpl()
196 AbsVal = SignExtend64<16>((AbsVal + 0x800080008000LL) >> 48); in evaluateAsRelocatableImpl()
199 AbsVal = -AbsVal; in evaluateAsRelocatableImpl()
202 Res = MCValue::get(AbsVal); in evaluateAsRelocatableImpl()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp128 static APInt toSigned(APInt AbsVal, bool Negative) { in toSigned() argument
129 if (AbsVal.isSignBitSet()) in toSigned()
130 AbsVal = AbsVal.zext(nextAPIntBitWidth(AbsVal.getBitWidth())); in toSigned()
131 APInt Result = AbsVal; in toSigned()