Displaying 2 results from an estimated 2 matches for "int8type".
Did you mean:
instrtype
2014 Jan 08
3
[LLVMdev] reference to non-static member function must be called
...ike this:
void func(int a, unsigned chat *p);
and in the Pass(a Function Pass ,and using the InstVistor template ), I
wrote like this:
void visitStoreInst(StoreInst &SI)
{
//Get the refference of the types
Module *M = SI.getParent()->getParent()->getParent();
IntegerType* Int8Type = IntegerType::getInt8Ty(M->getContext());
IntegerType* Int32Type = IntegerType::getInt32Ty(M->getContext());
IntegerType* Int64Type = IntegerType::getInt64Ty(M->getContext());
PointerType* VoidPtrType = PointerType::getUnqual(Int8Type);
Type* VoidType = Type::getVoidTy(M->...
2014 Jan 09
2
[LLVMdev] reference to non-static member function must be called
I'm using LLVM 3.3 Release. From the Class Reference Page. CallInst has a
member function :
static CallInst * Create (Value *Func, ArrayRef< Value * > Args, const
Twine &NameStr="", Instruction *InsertBefore=0)
This is what I want to use! the default name is "" and I also use that .
Thanks!
-----
Kind Regards!
-JinHuang
--
View this message in context: