To see what the standard passes are for LLVM you can try
to check to subclasses of the Pass interface. As far as I know there is no pass that run the clang specific passes in the LLVM API itself. For that you have to look at clang.
To figure out exactly what passes that you would like to add look at
llvm-as < /dev/null | opt -O3 -disable-output -debug-pass=Arguments
See Where to find the optimization sequence for clang -OX?
Still, there is some hassle, finding the API you use and so on. The same can be applied for Clang -O3.
What you can do if it is possible for your project is to generate the LLVM IR to file on disk and then compiling the unoptimised LLVM IR with clang separately with the O3 flag.
This is how you can run some passes using the legacy pass manager. Assuming you have an LLVM context.
module = llvm::make_unique<llvm::Module>("module",context); //Context is your LLVM context.
functionPassMngr = llvm::make_unique<llvm::legacy::FunctionPassManager>(module.get());
functionPassMngr->add(llvm::createPromoteMemoryToRegisterPass()); //SSA conversion
functionPassMngr->add(llvm::createCFGSimplificationPass()); //Dead code elimination
functionPassMngr->add(llvm::createSROAPass());
functionPassMngr->add(llvm::createLoopSimplifyCFGPass());
functionPassMngr->add(llvm::createConstantPropagationPass());
functionPassMngr->add(llvm::createNewGVNPass());//Global value numbering
functionPassMngr->add(llvm::createReassociatePass());
functionPassMngr->add(llvm::createPartiallyInlineLibCallsPass()); //Inline standard calls
functionPassMngr->add(llvm::createDeadCodeEliminationPass());
functionPassMngr->add(llvm::createCFGSimplificationPass()); //Cleanup
functionPassMngr->add(llvm::createInstructionCombiningPass());
functionPassMngr->add(llvm::createFlattenCFGPass()); //Flatten the control flow graph.
These can then by run by
functionPassMngr->run(getLLVMFunc());
Were getLLVMFunc would return a llvm::Function* that you are currently generating. Note that I use the legacy pass manager here, the reason being that clang uses the legacy pass manager internally.