Displaying 1 result from an estimated 1 matches for "howtoget_sign_info".
2015 Jan 22
2
[LLVMdev] access IntegerType::getSignBit from Type *
...num of bits between allowed bits
int rI=randInt(IntegerType::MIN_INT_BITS,IntegerType::MAX_INT_BITS);
return IntegerType::get(C, rI);
}
llvm::Type * pType=getRandomValid_IntegerType(llvm::LLVMContext &C);
if(pType.isIntegerTy)
{
pType->getIntegerBitWidth(); // ok
pType->HOWTOGET_SIGN_INFO; //?
}