Lines Matching defs:callInst
1493 ModuleImport::convertCallOperands(llvm::CallBase *callInst,
1495 bool isInlineAsm = callInst->isInlineAsm();
1506 if (!isa<llvm::Function>(callInst->getCalledOperand()) && !isInlineAsm) {
1507 FailureOr<Value> called = convertValue(callInst->getCalledOperand());
1513 SmallVector<llvm::Value *> args(callInst->args());
1522 LLVMFunctionType ModuleImport::convertFunctionType(llvm::CallBase *callInst) {
1523 llvm::Value *calledOperand = callInst->getCalledOperand();
1527 return convertType(callInst->getFunctionType());
1535 FlatSymbolRefAttr ModuleImport::convertCalleeName(llvm::CallBase *callInst) {
1536 llvm::Value *calledOperand = callInst->getCalledOperand();
1623 auto callInst = cast<llvm::CallInst>(inst);
1624 llvm::Value *calledOperand = callInst->getCalledOperand();
1627 convertCallOperands(callInst, /*allowInlineAsm=*/true);
1633 Type resultTy = convertType(callInst->getType());
1646 LLVMFunctionType funcTy = convertFunctionType(callInst);
1650 FlatSymbolRefAttr callee = convertCalleeName(callInst);
1652 if (failed(convertCallAttributes(callInst, callOp)))
1661 if (!callInst->getType()->isVoidTy())