Lines Matching refs:unwrap
29 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
41 switch (unwrap(TyRef)->getTypeID()) {
55 return unwrap(GenValRef)->IntVal.getBitWidth();
60 GenericValue *GenVal = unwrap(GenValRef);
68 return unwrap(GenVal)->PointerVal;
72 switch (unwrap(TyRef)->getTypeID()) {
74 return unwrap(GenVal)->FloatVal;
76 return unwrap(GenVal)->DoubleVal;
83 delete unwrap(GenVal);
92 EngineBuilder builder(unwrap(M));
107 EngineBuilder builder(unwrap(M));
123 EngineBuilder builder(unwrap(M));
165 delete unwrap(EE);
169 unwrap(EE)->runStaticConstructorsDestructors(false);
173 unwrap(EE)->runStaticConstructorsDestructors(true);
183 return unwrap(EE)->runFunctionAsMain(unwrap<Function>(F), ArgVec, EnvP);
192 ArgVec.push_back(*unwrap(Args[I]));
195 *Result = unwrap(EE)->runFunction(unwrap<Function>(F), ArgVec);
200 unwrap(EE)->freeMachineCodeForFunction(unwrap<Function>(F));
204 unwrap(EE)->addModule(unwrap(M));
214 Module *Mod = unwrap(M);
215 unwrap(EE)->removeModule(Mod);
230 if (Function *F = unwrap(EE)->FindFunctionNamed(Name)) {
238 return unwrap(EE)->recompileAndRelinkFunction(unwrap<Function>(Fn));
242 return wrap(unwrap(EE)->getTargetData());
247 unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr);
251 return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global));