Lines Matching refs:ConstantVal

1489 unsigned long long LLVMConstIntGetZExtValue(LLVMValueRef ConstantVal) {  in LLVMConstIntGetZExtValue()  argument
1490 return unwrap<ConstantInt>(ConstantVal)->getZExtValue(); in LLVMConstIntGetZExtValue()
1493 long long LLVMConstIntGetSExtValue(LLVMValueRef ConstantVal) { in LLVMConstIntGetSExtValue() argument
1494 return unwrap<ConstantInt>(ConstantVal)->getSExtValue(); in LLVMConstIntGetSExtValue()
1497 double LLVMConstRealGetDouble(LLVMValueRef ConstantVal, LLVMBool *LosesInfo) { in LLVMConstRealGetDouble() argument
1498 ConstantFP *cFP = unwrap<ConstantFP>(ConstantVal) ; in LLVMConstRealGetDouble()
1613 LLVMOpcode LLVMGetConstOpcode(LLVMValueRef ConstantVal) { in LLVMGetConstOpcode() argument
1614 return map_to_llvmopcode(unwrap<ConstantExpr>(ConstantVal)->getOpcode()); in LLVMGetConstOpcode()
1625 LLVMValueRef LLVMConstNeg(LLVMValueRef ConstantVal) { in LLVMConstNeg() argument
1626 return wrap(ConstantExpr::getNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNeg()
1629 LLVMValueRef LLVMConstNSWNeg(LLVMValueRef ConstantVal) { in LLVMConstNSWNeg() argument
1630 return wrap(ConstantExpr::getNSWNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNSWNeg()
1633 LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal) { in LLVMConstNUWNeg() argument
1634 return wrap(ConstantExpr::getNUWNeg(unwrap<Constant>(ConstantVal))); in LLVMConstNUWNeg()
1638 LLVMValueRef LLVMConstNot(LLVMValueRef ConstantVal) { in LLVMConstNot() argument
1639 return wrap(ConstantExpr::getNot(unwrap<Constant>(ConstantVal))); in LLVMConstNot()
1717 LLVMValueRef LLVMConstGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, in LLVMConstGEP2() argument
1721 Constant *Val = unwrap<Constant>(ConstantVal); in LLVMConstGEP2()
1725 LLVMValueRef LLVMConstInBoundsGEP2(LLVMTypeRef Ty, LLVMValueRef ConstantVal, in LLVMConstInBoundsGEP2() argument
1730 Constant *Val = unwrap<Constant>(ConstantVal); in LLVMConstInBoundsGEP2()
1734 LLVMValueRef LLVMConstTrunc(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstTrunc() argument
1735 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
1739 LLVMValueRef LLVMConstPtrToInt(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstPtrToInt() argument
1740 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal), in LLVMConstPtrToInt()
1744 LLVMValueRef LLVMConstIntToPtr(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstIntToPtr() argument
1745 return wrap(ConstantExpr::getIntToPtr(unwrap<Constant>(ConstantVal), in LLVMConstIntToPtr()
1749 LLVMValueRef LLVMConstBitCast(LLVMValueRef ConstantVal, LLVMTypeRef ToType) { in LLVMConstBitCast() argument
1750 return wrap(ConstantExpr::getBitCast(unwrap<Constant>(ConstantVal), in LLVMConstBitCast()
1754 LLVMValueRef LLVMConstAddrSpaceCast(LLVMValueRef ConstantVal, in LLVMConstAddrSpaceCast() argument
1756 return wrap(ConstantExpr::getAddrSpaceCast(unwrap<Constant>(ConstantVal), in LLVMConstAddrSpaceCast()
1760 LLVMValueRef LLVMConstTruncOrBitCast(LLVMValueRef ConstantVal, in LLVMConstTruncOrBitCast() argument
1762 return wrap(ConstantExpr::getTruncOrBitCast(unwrap<Constant>(ConstantVal), in LLVMConstTruncOrBitCast()
1766 LLVMValueRef LLVMConstPointerCast(LLVMValueRef ConstantVal, in LLVMConstPointerCast() argument
1768 return wrap(ConstantExpr::getPointerCast(unwrap<Constant>(ConstantVal), in LLVMConstPointerCast()
2130 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { in LLVMSetInitializer() argument
2132 ->setInitializer(unwrap<Constant>(ConstantVal)); in LLVMSetInitializer()