Lines Matching refs:unwrap
48 llvm::Argument *A = llvm::unwrap<llvm::Argument>(val); in ac_add_attr_dereferenceable()
54 llvm::Argument *A = llvm::unwrap<llvm::Argument>(val); in ac_add_attr_alignment()
60 llvm::Argument *A = llvm::unwrap<llvm::Argument>(arg); in ac_is_sgpr_param()
81 llvm::unwrap(module)->setTargetTriple(TM->getTargetTriple().getTriple()); in ac_create_module()
82 llvm::unwrap(module)->setDataLayout(TM->createDataLayout()); in ac_create_module()
108 llvm::unwrap(builder)->setFastMathFlags(flags); in ac_create_builder()
118 auto *b = llvm::unwrap(ctx->builder); in ac_enable_signed_zeros()
132 auto *b = llvm::unwrap(ctx->builder); in ac_disable_signed_zeros()
249 p->passmgr.run(*llvm::unwrap(module)); in ac_compile_module_to_elf()
256 llvm::unwrap(passmgr)->add(llvm::createBarrierNoopPass()); in ac_llvm_add_barrier_noop_pass()
309 unsigned SSID = llvm::unwrap(ctx->context)->getOrInsertSyncScopeID(sync_scope); in ac_build_atomic_rmw()
310 return llvm::wrap(llvm::unwrap(ctx->builder) in ac_build_atomic_rmw()
311 ->CreateAtomicRMW(binop, llvm::unwrap(ptr), llvm::unwrap(val), in ac_build_atomic_rmw()
321 unsigned SSID = llvm::unwrap(ctx->context)->getOrInsertSyncScopeID(sync_scope); in ac_build_atomic_cmp_xchg()
322 return llvm::wrap(llvm::unwrap(ctx->builder) in ac_build_atomic_cmp_xchg()
323 ->CreateAtomicCmpXchg(llvm::unwrap(ptr), llvm::unwrap(cmp), in ac_build_atomic_cmp_xchg()
324 llvm::unwrap(val), in ac_build_atomic_cmp_xchg()