Lines Matching defs:ConstantVal
1577 unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal) {
1578 return unwrap<ConstantInt>(ConstantVal)->getZExtValue();
1581 long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal) {
1582 return unwrap<ConstantInt>(ConstantVal)->getSExtValue();
1585 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *LosesInfo) {
1586 ConstantFP *cFP = unwrap<ConstantFP>(ConstantVal) ;
1743 LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal) {
1744 return map_to_llvmopcode(unwrap<ConstantExpr>(ConstantVal)->getOpcode());
1755 LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal) {
1756 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal)));
1759 LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal) {
1760 return wrap(ConstantExpr::getNSWNeg(unwrap<Constant>(ConstantVal)));
1763 LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal) {
1764 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal)));
1768 LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal) {
1769 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal)));
1828 LLVMValueRef LLVMConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal,
1832 Constant *Val = unwrap<Constant>(ConstantVal);
1836 LLVMValueRef LLVMConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal,
1841 Constant *Val = unwrap<Constant>(ConstantVal);
1846 LLVMValueRef ConstantVal,
1852 Constant *Val = unwrap<Constant>(ConstantVal);
1857 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1858 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal),
1862 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1863 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal),
1867 LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1868 return wrap(ConstantExpr::getIntToPtr(unwrap<Constant>(ConstantVal),
1872 LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) {
1873 return wrap(ConstantExpr::getBitCast(unwrap<Constant>(ConstantVal),
1877 LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal,
1879 return wrap(ConstantExpr::getAddrSpaceCast(unwrap<Constant>(ConstantVal),
1883 LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal,
1885 return wrap(ConstantExpr::getTruncOrBitCast(unwrap<Constant>(ConstantVal),
1889 LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal,
1891 return wrap(ConstantExpr::getPointerCast(unwrap<Constant>(ConstantVal),
2266 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) {
2268 ConstantVal ? unwrap<Constant>(ConstantVal) : nullptr);