Lines Matching refs:unwrap
29 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()
41 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat()
55 return unwrap(GenValRef)->IntVal.getBitWidth(); in LLVMGenericValueIntWidth()
60 GenericValue *GenVal = unwrap(GenValRef); in LLVMGenericValueToInt()
68 return unwrap(GenVal)->PointerVal; in LLVMGenericValueToPointer()
72 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat()
74 return unwrap(GenVal)->FloatVal; in LLVMGenericValueToFloat()
76 return unwrap(GenVal)->DoubleVal; in LLVMGenericValueToFloat()
85 delete unwrap(GenVal); in LLVMDisposeGenericValue()
94 EngineBuilder builder(unwrap(M)); in LLVMCreateExecutionEngineForModule()
109 EngineBuilder builder(unwrap(M)); in LLVMCreateInterpreterForModule()
125 EngineBuilder builder(unwrap(M)); in LLVMCreateJITCompilerForModule()
167 delete unwrap(EE); in LLVMDisposeExecutionEngine()
171 unwrap(EE)->runStaticConstructorsDestructors(false); in LLVMRunStaticConstructors()
175 unwrap(EE)->runStaticConstructorsDestructors(true); in LLVMRunStaticDestructors()
185 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP); in LLVMRunFunctionAsMain()
194 ArgVec.push_back(*unwrap(Args[I])); in LLVMRunFunction()
197 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec); in LLVMRunFunction()
202 unwrap(EE)->freeMachineCodeForFunction(unwrap<Function>(F)); in LLVMFreeMachineCodeForFunction()
206 unwrap(EE)->addModule(unwrap(M)); in LLVMAddModule()
216 Module *Mod = unwrap(M); in LLVMRemoveModule()
217 unwrap(EE)->removeModule(Mod); in LLVMRemoveModule()
232 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) { in LLVMFindFunction()
240 return unwrap(EE)->recompileAndRelinkFunction(unwrap<Function>(Fn)); in LLVMRecompileAndRelinkFunction()
244 return wrap(unwrap(EE)->getTargetData()); in LLVMGetExecutionEngineTargetData()
249 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr); in LLVMAddGlobalMapping()
253 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global)); in LLVMGetPointerToGlobal()