Displaying 20 results from an estimated 56 matches for "issign".
Did you mean:
assign
2018 Jul 04
2
Why SI.isSigned() is not equals to E->getType()->isSignedIntegerOrEnumerationType()?
...llvm::APSInt&,
const clang::Expr*, clang::APValue&) 7096 1 0
clang-7:
/home/zhaixiang/project/Loong-Language/loong-llvm/tools/clang/lib/AST/ExprConstant.cpp:7098:
bool {anonymous}::IntExprEvaluator::Success(const llvm::APSInt&, const
clang::Expr*, clang::APValue&): Assertion `SI.isSigned() ==
E->getType()->isSignedIntegerOrEnumerationType() && "Invalid evaluation
result."' failed.
Stack dump:
0. Program arguments:
/home/zhaixiang/project/Loong-Language/loong-llvm/build/bin/clang-7 -cc1
-triple mips64el-redhat-linux -emit-llvm -disable-free -main...
2012 Feb 23
2
[LLVMdev] Simple question on sign
How do you determine if a shift is signed or not?
ashr = always signed?
lshr = always unsigned?
shl = always signed?
The CmpInst has the "isSigned()" function, but it appears that every other
Instruction I've looked at doesn't seem to have this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120222/9412d20c/attachment.html>
2018 May 22
0
Invalid zone operation IsSigned ERROR
On Tue, 22 May 2018 11:00:05 -0500
rschiefer at suturehealth.com wrote:
> The xxxx.com is just sanitization of our logs/data.
You posted a samba-tool command, the '<http://xxxx.com>' shouldn't be
part of the command.
>
> Here you go:
>
> --------------------------------------------------
> # Global parameters
> [global]
> workgroup = xxxx
>
2018 May 22
0
Invalid zone operation IsSigned ERROR
On Tue, 22 May 2018 13:34:28 -0500
rschiefer at suturehealth.com wrote:
> /etc/hostname:
Nothing wrong there.
> /etc/hosts:
Nothing wrong
> /etc/resolv.conf:
> ---------------------------------
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
> resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES
> WILL BE OVERWRITTEN nameserver 10.57.2.21
2018 May 23
0
Invalid zone operation IsSigned ERROR
On Wed, 23 May 2018 05:12:36 -0500
rschiefer at suturehealth.com wrote:
> No the Kerberos server was only installed on DC-1 but not running.
>
> I didn't set any of this up, inherited it with the new job. I
> suspect they attempted to run a Kerberos server at some point but
> abandoned it in a broken state.
>
> Yes, we have all the packages you suggest.
>
>
2012 Feb 23
0
[LLVMdev] Simple question on sign
...or not?
>
> ashr = always signed?
Essentially, yes.
> lshr = always unsigned?
Essentially, yes.
> shl = always signed?
Signed left shift and unsigned left shift are both shl.
http://llvm.org/docs/LangRef.html#i_shl describes the semantics of shifts.
> The CmpInst has the "isSigned()" function, but it appears that every other
> Instruction I've looked at doesn't seem to have this.
There isn't an isSigned() function because the query doesn't really
make sense. LLVM IR doesn't in general track whether a value is
signed or unsigned.
-Eli
2018 May 22
7
Invalid zone operation IsSigned ERROR
...auses the queried samba service to crash with the following output in the
syslog:
May 22 15:17:54 dc-1 samba[1115]: [2018/05/22 15:17:54.590059, 0]
../source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1086(dnsserver_query_zone
)
May 22 15:17:56 dc-1 samba[1115]: dnsserver: Invalid zone operation
IsSigneddnsserver: Invalid zone operation IsSigneddnsserver: Invalid zone
operation IsSigneddnsserver: Invalid zone operation
IsSigned===============================================================
May 22 15:17:56 dc-1 samba[1115]: [2018/05/22 15:17:56.225586, 0]
../lib/util/fault.c:79(fault_report)
Ma...
2012 Feb 23
3
[LLVMdev] Simple question on sign
....
>
>> lshr = always unsigned?
>
> Essentially, yes.
>
>> shl = always signed?
>
> Signed left shift and unsigned left shift are both shl.
>
> http://llvm.org/docs/LangRef.html#i_shl describes the semantics of shifts.
>
>> The CmpInst has the "isSigned()" function, but it appears that every
>> other
>> Instruction I've looked at doesn't seem to have this.
>
> There isn't an isSigned() function because the query doesn't really
> make sense. LLVM IR doesn't in general track whether a value is
> s...
2008 May 23
1
[LLVMdev] DebugInfoBuilder?
...line,
unsigned sizeInBits,
unsigned alignmentInBits,
unsigned offsetInBits,
unsigned typeEncoding);
/// Create a type descriptor for an integer type
GlobalVariable * CreateIntegerTypeDescriptor(
std::string & name, const IntegerType * type, bool isSigned);
/// Create a type descriptor for an character type
GlobalVariable * CreateCharacterTypeDescriptor(
std::string & name, const IntegerType * type, bool isSigned);
/// Create a type descriptor for an floating-point type.
GlobalVariable * CreateFloatTypeDescriptor(std:...
2017 Nov 10
3
Some strange errors in logs
...ath = /var/lib/samba/sysvol/dfm.biz.pl/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
Sample log:
[2017/11/09 11:22:46.190213, 0]
../source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1085(dnsserver_query_zone)
dnsserver: Invalid zone operation IsSigneddnsserver: Invalid zone
operation IsSigneddnsserver: Invalid zone operation IsSigneddnsserver:
Invalid zone operation IsSigneddnsserver: Invalid zone operation
IsSigneddnsserver: Invalid zone operation IsSigneddnsserver: Invalid zone
operation IsSigneddnsserver: Invalid zone operation IsSigneddnss...
2012 Feb 23
0
[LLVMdev] Simple question on sign
....
>
>> lshr = always unsigned?
>
> Essentially, yes.
>
>> shl = always signed?
>
> Signed left shift and unsigned left shift are both shl.
>
> http://llvm.org/docs/LangRef.html#i_shl describes the semantics of shifts.
>
>> The CmpInst has the "isSigned()" function, but it appears that every
>> other
>> Instruction I've looked at doesn't seem to have this.
>
> There isn't an isSigned() function because the query doesn't really
> make sense. LLVM IR doesn't in general track whether a value is
> s...
2009 Jul 25
3
[LLVMdev] Bug in ExecutionEngine::getConstantValue() -- Instruction::PtrToInt
I think I might have found a bug in the exection engine's 'constants
folding'.
Basically APInt's parameters are the wrong way round.
Line 577 for lib/ExecutionEngine/ExecutionEngine.cpp :-
case Instruction::PtrToInt: {
GenericValue GV = getConstantValue(Op0);
uint32_t PtrWidth = TD->getPointerSizeInBits();
GV.IntVal = APInt(PtrWidth,
2012 Feb 23
2
[LLVMdev] Simple question on sign
...>> Essentially, yes.
>>
>>> shl = always signed?
>>
>> Signed left shift and unsigned left shift are both shl.
>>
>> http://llvm.org/docs/LangRef.html#i_shl describes the semantics of
>> shifts.
>>
>>> The CmpInst has the "isSigned()" function, but it appears that every
>>> other
>>> Instruction I've looked at doesn't seem to have this.
>>
>> There isn't an isSigned() function because the query doesn't really
>> make sense. LLVM IR doesn't in general track wheth...
2011 Sep 06
2
[LLVMdev] bitwise AND
Hi,
I want to compute the bitwise 'and' between two values of type int1: %x = and %a, %b .
Which is the LLVM instruction that creates this? I only found the APInt class, whose constructor is:
APInt(unsigned numBits, uint64_t val, bool isSigned = false)
and which provides the bitwise AND operation:
APInt llvm::APIntOps::And (const APInt &LHS, const APInt &RHS)
Bitwise AND function for APInt.
Is this the best way to build the 'and' instruction that I need? If so, how can I send the value uint64_t stored in the va...
2017 Nov 10
0
Some strange errors in logs
...; read only = No
>
> [sysvol]
> path = /var/lib/samba/sysvol
> read only = No
>
> Sample log:
> [2017/11/09 11:22:46.190213, 0]
> ../source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1085(dnsserver_query_zone)
> dnsserver: Invalid zone operation IsSigneddnsserver: Invalid zone
> operation IsSigneddnsserver: Invalid zone operation IsSigneddnsserver:
> Invalid zone operation IsSigneddnsserver: Invalid zone operation
> IsSigneddnsserver: Invalid zone operation IsSigneddnsserver: Invalid
> zone operation IsSigneddnsserver: Invalid zone op...
2013 Sep 09
0
DNS Administration Strangeness
...3]: created /tmp/out_\winreg_5.8.prs
Sep 8 22:56:41 server samba[26750]: [2013/09/08 22:56:41.778933, 0, pid=26750, effective(0, 0), real(0, 0)] ../source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1068(dnsserver_query_zone)
Sep 8 22:56:41 server samba[26750]: dnsserver: Invalid zone operation IsSigned DnssrvQuery2: struct DnssrvQuery2
Sep 8 22:56:41 server samba[26750]: out: struct DnssrvQuery2
Sep 8 22:56:41 server samba[26750]: pdwTypeId : *
Sep 8 22:56:41 server samba[26750]: pdwTypeId : DNSSRV_TYPEID_NULL (0)
Se...
2018 Aug 22
2
Fixed Point Support in LLVM
...u're going to be pattern-matching the constant arguments anyway.
I guess our opinions differ there, then. I think the code
savings/generalization/simplification you get from expressing the
parameterization as constant parameters compared to having separate
intrinsics is not huge.
if (Ty->isSigned())
IID = fixsmul
else
IID = fixumul
if (Ty->isSigned())
SignedParam = ConstantInt(1)
else
SignedParam = ConstantInt(0)
The same goes for legalization/expansion. The semantics would be
described in specific operations, not generalized ones ('ext') so there
isn't much...
2012 Feb 23
0
[LLVMdev] Simple question on sign
...>> Essentially, yes.
>>
>>> shl = always signed?
>>
>> Signed left shift and unsigned left shift are both shl.
>>
>> http://llvm.org/docs/LangRef.html#i_shl describes the semantics of
>> shifts.
>>
>>> The CmpInst has the "isSigned()" function, but it appears that every
>>> other
>>> Instruction I've looked at doesn't seem to have this.
>>
>> There isn't an isSigned() function because the query doesn't really
>> make sense. LLVM IR doesn't in general track wheth...
2009 Jul 25
0
[LLVMdev] Bug in ExecutionEngine::getConstantValue() -- Instruction::PtrToInt
...GenericValue GV = getConstantValue(Op0);
> uint32_t PtrWidth = TD->getPointerSizeInBits();
> GV.IntVal = APInt(PtrWidth, uintptr_t(GV.PointerVal));
> return GV;
> }
> Aaron
That looks to be the right order to me:
APInt(unsigned numBits, uint64_t val, bool isSigned=false)
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090725/ccc4b855/attachment.html>
2005 Mar 09
1
[LLVMdev] Fix assert text in Constants.cpp
I found copy-paste error in assert text:
assert(Ty->isInteger() && Ty->isSigned() &&
"Illegal type for unsigned integer constant!");
Patch attached.
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Constants.cpp.patch
Type: application/octet-stream
Size: 426 bytes
Desc: not available
URL: <http://lis...