Lines Matching refs:LLVMV
729 Value *Context::getOrCreateValueInternal(llvm::Value *LLVMV, llvm::User *U) { in getOrCreateValueInternal() argument
730 auto Pair = LLVMValueToValueMap.insert({LLVMV, nullptr}); in getOrCreateValueInternal()
735 if (auto *C = dyn_cast<llvm::Constant>(LLVMV)) { in getOrCreateValueInternal()
742 if (auto *Arg = dyn_cast<llvm::Argument>(LLVMV)) { in getOrCreateValueInternal()
746 if (auto *BB = dyn_cast<llvm::BasicBlock>(LLVMV)) { in getOrCreateValueInternal()
753 assert(isa<llvm::Instruction>(LLVMV) && "Expected Instruction"); in getOrCreateValueInternal()
755 switch (cast<llvm::Instruction>(LLVMV)->getOpcode()) { in getOrCreateValueInternal()
757 auto *LLVMSel = cast<llvm::SelectInst>(LLVMV); in getOrCreateValueInternal()
762 auto *LLVMLd = cast<llvm::LoadInst>(LLVMV); in getOrCreateValueInternal()
767 auto *LLVMSt = cast<llvm::StoreInst>(LLVMV); in getOrCreateValueInternal()
772 auto *LLVMRet = cast<llvm::ReturnInst>(LLVMV); in getOrCreateValueInternal()
781 new OpaqueInst(cast<llvm::Instruction>(LLVMV), *this)); in getOrCreateValueInternal()