• Home
  • Raw
  • Download

Lines Matching refs:opInst

385 ModuleTranslation::convertOmpParallel(Operation &opInst,  in convertOmpParallel()  argument
401 auto &region = cast<omp::ParallelOp>(opInst).getRegion(); in convertOmpParallel()
430 if (auto ifExprVar = cast<omp::ParallelOp>(opInst).if_expr_var()) in convertOmpParallel()
433 if (auto numThreadsVar = cast<omp::ParallelOp>(opInst).num_threads_var()) in convertOmpParallel()
436 if (auto bind = cast<omp::ParallelOp>(opInst).proc_bind_val()) in convertOmpParallel()
482 LogicalResult ModuleTranslation::convertOmpMaster(Operation &opInst, in convertOmpMaster() argument
498 auto &region = cast<omp::MasterOp>(opInst).getRegion(); in convertOmpMaster()
520 ModuleTranslation::convertOmpOperation(Operation &opInst, in convertOmpOperation() argument
526 return llvm::TypeSwitch<Operation *, LogicalResult>(&opInst) in convertOmpOperation()
556 [&](omp::ParallelOp) { return convertOmpParallel(opInst, builder); }) in convertOmpOperation()
557 .Case([&](omp::MasterOp) { return convertOmpMaster(opInst, builder); }) in convertOmpOperation()
568 LogicalResult ModuleTranslation::convertOperation(Operation &opInst, in convertOperation() argument
603 if (isa<LLVM::CallOp>(opInst)) { in convertOperation()
604 llvm::Value *result = convertCall(opInst); in convertOperation()
605 if (opInst.getNumResults() != 0) { in convertOperation()
606 valueMapping[opInst.getResult(0)] = result; in convertOperation()
613 if (auto inlineAsmOp = dyn_cast<LLVM::InlineAsmOp>(opInst)) { in convertOperation()
643 if (opInst.getNumResults() != 0) in convertOperation()
644 valueMapping[opInst.getResult(0)] = result; in convertOperation()
648 if (auto invOp = dyn_cast<LLVM::InvokeOp>(opInst)) { in convertOperation()
649 auto operands = lookupValues(opInst.getOperands()); in convertOperation()
651 if (auto attr = opInst.getAttrOfType<FlatSymbolRefAttr>("callee")) { in convertOperation()
667 if (auto lpOp = dyn_cast<LLVM::LandingpadOp>(opInst)) { in convertOperation()
684 if (auto brOp = dyn_cast<LLVM::BrOp>(opInst)) { in convertOperation()
688 if (auto condbrOp = dyn_cast<LLVM::CondBrOp>(opInst)) { in convertOperation()
711 if (auto addressOfOp = dyn_cast<LLVM::AddressOfOp>(opInst)) { in convertOperation()
725 if (ompDialect && opInst.getDialect() == ompDialect) in convertOperation()
726 return convertOmpOperation(opInst, builder); in convertOperation()
728 return opInst.emitError("unsupported or non-LLVM operation: ") in convertOperation()
729 << opInst.getName(); in convertOperation()