/external/clang/lib/Analysis/ |
D | FormatString.cpp | 291 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/ |
D | FormatString.cpp | 324 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/ |
D | CharacterRuntime.cpp | 51 inline int64_t getLength(mlir::Type argTy) { in getLength() argument 52 return argTy.cast<fir::SequenceType>().getShape()[0]; in getLength()
|
D | OpenMP.cpp | 138 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()
|
D | OpenACC.cpp | 94 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()
|
D | IO.cpp | 112 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/ |
D | ModuleTranslation.cpp | 916 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/ |
D | AMDGPULibFunc.cpp | 976 const Type* argTy = static_cast<const Type*>(*PI); in getOrInsertFunction() local 977 if (argTy->isPointerTy()) { in getOrInsertFunction()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibFunc.cpp | 975 const Type* argTy = static_cast<const Type*>(*PI); in getOrInsertFunction() local 976 if (argTy->isPointerTy()) { in getOrInsertFunction()
|
/external/clang/include/clang/Analysis/Analyses/ |
D | FormatString.h | 266 MatchKind matchesType(ASTContext &C, QualType argTy) const;
|
/external/llvm-project/clang/include/clang/AST/ |
D | FormatString.h | 316 MatchKind matchesType(ASTContext &C, QualType argTy) const;
|
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/ |
D | Ops.cpp | 1377 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/ |
D | StandardToLLVM.cpp | 1457 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/ |
D | FIROps.td | 2178 llvm::SmallVector<mlir::Type, 8> argTy(getOperandTypes()); 2179 p << " : " << mlir::FunctionType::get(argTy, resTy, getContext());
|