Home
last modified time | relevance | path

Searched refs:argTy (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/Analysis/
DFormatString.cpp291 ArgType::matchesType(ASTContext &C, QualType argTy) const { in matchesType()
294 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType()
302 argTy = PT->getPointeeType(); in matchesType()
313 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType()
314 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
316 if (const BuiltinType *BT = argTy->getAs<BuiltinType>()) in matchesType()
330 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType()
331 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
332 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
334 if (T == argTy) in matchesType()
[all …]
/external/llvm-project/clang/lib/AST/
DFormatString.cpp324 ArgType::matchesType(ASTContext &C, QualType argTy) const { in matchesType()
327 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType()
335 argTy = PT->getPointeeType(); in matchesType()
346 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
351 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
354 if (const BuiltinType *BT = argTy->getAs<BuiltinType>()) in matchesType()
369 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
373 argTy = C.IntTy; in matchesType()
375 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
377 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
[all …]
/external/llvm-project/flang/lib/Lower/
DCharacterRuntime.cpp51 inline int64_t getLength(mlir::Type argTy) { in getLength() argument
52 return argTy.cast<fir::SequenceType>().getShape()[0]; in getLength()
DOpenMP.cpp138 llvm::ArrayRef<mlir::Type> argTy; in genOMP() local
185 currentLocation, argTy, ifClauseOperand, numThreadsClauseOperand, in genOMP()
238 firOpBuilder.create<mlir::omp::MasterOp>(currentLocation, argTy); in genOMP()
DOpenACC.cpp94 llvm::ArrayRef<mlir::Type> argTy; in createRegionOp() local
95 Op op = builder.create<Op>(loc, argTy, operands); in createRegionOp()
115 llvm::ArrayRef<mlir::Type> argTy; in createSimpleOp() local
116 Op op = builder.create<Op>(loc, argTy, operands); in createSimpleOp()
DIO.cpp112 inline int64_t getLength(mlir::Type argTy) { in getLength() argument
113 return argTy.cast<fir::SequenceType>().getShape()[0]; in getLength()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp916 auto argTy = mlirArg.getType().dyn_cast<LLVM::LLVMType>(); in convertOneFunction() local
917 if (!argTy.isPointerTy()) in convertOneFunction()
928 auto argTy = mlirArg.getType().dyn_cast<LLVM::LLVMType>(); in convertOneFunction() local
929 if (!argTy.isPointerTy()) in convertOneFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.cpp976 const Type* argTy = static_cast<const Type*>(*PI); in getOrInsertFunction() local
977 if (argTy->isPointerTy()) { in getOrInsertFunction()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.cpp975 const Type* argTy = static_cast<const Type*>(*PI); in getOrInsertFunction() local
976 if (argTy->isPointerTy()) { in getOrInsertFunction()
/external/clang/include/clang/Analysis/Analyses/
DFormatString.h266 MatchKind matchesType(ASTContext &C, QualType argTy) const;
/external/llvm-project/clang/include/clang/AST/
DFormatString.h316 MatchKind matchesType(ASTContext &C, QualType argTy) const;
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp1377 auto argTy = memrefOrTensor().getType(); in fold() local
1379 if (auto shapedTy = argTy.dyn_cast<ShapedType>()) { in fold()
1417 auto memrefType = argTy.dyn_cast<MemRefType>(); in fold()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp1457 Type argTy = std::get<1>(it); in matchAndRewrite() local
1462 assert(!argTy.isa<UnrankedMemRefType>() && in matchAndRewrite()
1464 auto memrefTy = argTy.dyn_cast<MemRefType>(); in matchAndRewrite()
/external/llvm-project/flang/include/flang/Optimizer/Dialect/
DFIROps.td2178 llvm::SmallVector<mlir::Type, 8> argTy(getOperandTypes());
2179 p << " : " << mlir::FunctionType::get(argTy, resTy, getContext());