Lines Matching refs:functionPtr
105 CGCallee(const CGCalleeInfo &abstractInfo, llvm::Value *functionPtr) in CGCallee() argument
107 SpecialKind(reinterpret_cast<uintptr_t>(functionPtr))) { in CGCallee()
109 assert(functionPtr && "configuring callee without function pointer"); in CGCallee()
110 assert(functionPtr->getType()->isPointerTy()); in CGCallee()
111 assert(functionPtr->getType()->isOpaquePointerTy() || in CGCallee()
112 functionPtr->getType()->getNonOpaquePointerElementType() in CGCallee()
130 static CGCallee forDirect(llvm::Constant *functionPtr,
132 return CGCallee(abstractInfo, functionPtr);
135 static CGCallee forDirect(llvm::FunctionCallee functionPtr,
137 return CGCallee(abstractInfo, functionPtr.getCallee());
183 void setFunctionPointer(llvm::Value *functionPtr) { in setFunctionPointer() argument
186 SpecialKind(reinterpret_cast<uintptr_t>(functionPtr)); in setFunctionPointer()