Home
last modified time | relevance | path

Searched refs:hasType (Results 1 – 25 of 37) sorted by relevance

12

/external/clang/unittests/AST/
DASTImporterTest.cpp113 hasType( in TEST()
122 hasType( in TEST()
131 hasType( in TEST()
144 hasType(isInteger())))))))); in TEST()
169 hasType(asString("double"))))))))); in TEST()
178 hasType(asString("float"))))))))); in TEST()
194 hasType(asString("struct s")), in TEST()
196 hasType(asString("struct s")), in TEST()
198 equals(42), hasType(asString("int")))), in TEST()
200 equals(0), hasType(asString("long")))), in TEST()
[all …]
/external/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp158 valueDecl(hasType(asString("enum EnumType"))))); in TEST()
160 valueDecl(hasType(asString("void (void)"))))); in TEST()
202 cxxMemberCallExpr(on(hasType(recordDecl(hasName("Y"))))); in TEST()
221 cxxMemberCallExpr(on(hasType(pointsTo(recordDecl(hasName("Y")))))); in TEST()
710 hasType(asString("struct point")), in TEST()
713 hasType(asString("double")))))), in TEST()
716 hasType(asString("struct point")), in TEST()
765 hasType(asString("const char [4]")), in TEST()
1007 initListExpr(hasType(asString("int [2]"))))); in TEST()
1009 initListExpr(hasType(recordDecl(hasName("B")))))); in TEST()
[all …]
DASTMatchersNarrowingTest.cpp34 hasArgument(1, hasType(pointsTo( in TEST()
39 hasArgument(1, hasType(pointsTo( in TEST()
45 hasArgument(1, hasType(pointsTo( in TEST()
487 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"))))))); in TEST()
491 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2"))))))); in TEST()
495 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"), in TEST()
512 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"))))))); in TEST()
516 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base2"))))))); in TEST()
520 hasInitializer(hasType(cxxRecordDecl(isDerivedFrom("Base1"), in TEST()
602 cxxMemberCallExpr(on(hasType(asString("class Y *")))))); in TEST()
[all …]
DASTMatchersTraversalTest.cpp117 varDecl(hasName("i"), hasType(qualType(has(builtinType())))))); in TEST()
120 varDecl(hasName("i"), hasType(qualType(has(pointerType())))))); in TEST()
125 expr(hasType(pointsTo(recordDecl(hasName("X")))), in TEST()
136 expr(hasType(pointsTo(recordDecl(hasName("X")))), in TEST()
167 varDecl(hasType(namedDecl(hasName("S")))))); in TEST()
173 parmVarDecl(hasType(namedDecl(hasName("I")))))); in TEST()
176 parmVarDecl(hasType(objcObjectPointerType())))); in TEST()
180 parmVarDecl(hasType(pointsTo(objcInterfaceDecl(hasName("Foo"))))))); in TEST()
183 parmVarDecl(hasType(templateTypeParmType())))); in TEST()
186 parmVarDecl(hasType(namedDecl(hasName("T")))))); in TEST()
[all …]
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp365 hasType(pointerType()))), in main()
370 forField(id("var", fieldDecl(hasType(pointerType()))))))), in main()
391 id("expr", expr(hasType(is_scoped_refptr))))), in main()
392 hasAnyArgument(ignoringParenImpCasts(hasType(pointerType()))), in main()
404 hasAnyArgument(id("expr", expr(hasType(is_scoped_refptr)))), in main()
405 hasAnyArgument(hasType(pointerType()))), in main()
418 hasArgument(0, id("expr", expr(hasType(is_scoped_refptr)))), in main()
/external/llvm/lib/Target/Mips/
DMipsSEInstrInfo.cpp210 else if (RC->hasType(MVT::v16i8)) in storeRegToStack()
212 else if (RC->hasType(MVT::v8i16) || RC->hasType(MVT::v8f16)) in storeRegToStack()
214 else if (RC->hasType(MVT::v4i32) || RC->hasType(MVT::v4f32)) in storeRegToStack()
216 else if (RC->hasType(MVT::v2i64) || RC->hasType(MVT::v2f64)) in storeRegToStack()
283 else if (RC->hasType(MVT::v16i8)) in loadRegFromStack()
285 else if (RC->hasType(MVT::v8i16) || RC->hasType(MVT::v8f16)) in loadRegFromStack()
287 else if (RC->hasType(MVT::v4i32) || RC->hasType(MVT::v4f32)) in loadRegFromStack()
289 else if (RC->hasType(MVT::v2i64) || RC->hasType(MVT::v2f64)) in loadRegFromStack()
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp49 auto is_method_bind = hasArgument(0, hasType(memberPointerType())); in GetMatcher()
50 auto is_raw_pointer_receiver = hasArgument(1, hasType(pointerType())); in GetMatcher()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVValue.h88 bool hasType()const { return !(Attrib & SPIRVEA_NOTYPE);} in hasType() function
90 assert(hasType() && "value has no type"); in getType()
101 assert((!hasType() || Type) && "Invalid type"); in validate()
115 if (!hasType()) in getRequiredCapability()
DSPIRVInstruction.h221 setType(hasType() ? TheType : nullptr); in init()
254 if (hasType()) in getExpectedNumOperands()
266 if (hasType()) in setOpWords()
284 if (hasType()) in setWordCount()
372 if (hasType()) in encode()
380 if (hasType()) in decode()
/external/llvm/lib/Target/AVR/
DAVRInstrInfo.cpp122 if (RC->hasType(MVT::i8)) { in storeRegToStackSlot()
124 } else if (RC->hasType(MVT::i16)) { in storeRegToStackSlot()
156 if (RC->hasType(MVT::i8)) { in loadRegFromStackSlot()
158 } else if (RC->hasType(MVT::i16)) { in loadRegFromStackSlot()
DAVRRegisterInfo.cpp81 if (RC->hasType(MVT::i16)) { in getLargestLegalSuperClass()
85 if (RC->hasType(MVT::i8)) { in getLargestLegalSuperClass()
/external/v8/tools/clang/value_cleanup/
DListValueRewriter.cpp369 expr(hasType(booleanType())))))))))))), in RegisterMatchers()
387 expr(hasType(isInteger()), in RegisterMatchers()
388 unless(hasType( in RegisterMatchers()
407 expr(hasType( in RegisterMatchers()
/external/clang/docs/
DLibASTMatchersTutorial.rst217 variable(hasType(isInteger())).bind("intvar")
369 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
379 varDecl(hasType(isInteger())).bind("incrementVariable"))))))
404 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
405 hasRHS(expr(hasType(isInteger())))))
442 to(varDecl(hasType(isInteger())))))),
443 hasRHS(expr(hasType(isInteger())))))
486 to(varDecl(hasType(isInteger())).bind("incVarName")))))),
490 to(varDecl(hasType(isInteger())).bind("condVarName"))))),
491 hasRHS(expr(hasType(isInteger())))))).bind("forLoop");
/external/llvm/include/llvm/Linker/
DIRMover.h60 bool hasType(StructType *Ty);
/external/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp136 if ((VT == MVT::Other || RC->hasType(VT)) && RC->contains(reg) && in getMinimalPhysRegClass()
188 if (SVT == MVT::SimpleValueType::Any || RC->hasType(VT)) in firstCommonClass()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetRegisterInfo.cpp63 if ((VT == MVT::Other || RC->hasType(VT)) && RC->contains(reg) && in getMinimalPhysRegClass()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2590 hasType, AST_POLYMORPHIC_SUPPORTED_TYPES(Expr, TypedefNameDecl, ValueDecl),
2613 AST_POLYMORPHIC_MATCHER_P_OVERLOAD(hasType,
2731 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
2739 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
5352 integerLiteral(equals(0), hasParent(expr(hasType(pointerType()))))); in AST_MATCHER_FUNCTION()
/external/dng_sdk/source/
Ddng_info.cpp1776 bool hasType = true; in ParseDNGPrivateData() local
1785 hasType = false; in ParseDNGPrivateData()
1840 uint32 tagType = hasType ? stream.Get_uint16 () in ParseDNGPrivateData()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyAsmPrinter.cpp99 if (TRC->hasType(T)) in getRegType()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetRegisterInfo.h109 bool hasType(EVT vt) const { in hasType() function
/external/llvm/include/llvm/Target/
DTargetRegisterInfo.h123 bool hasType(MVT vt) const { in hasType() function
/external/llvm/lib/Linker/
DIRMover.cpp726 if (TypeMap.DstStructTypesSet.hasType(DST)) in computeTypeMapping()
1330 bool IRMover::IdentifiedStructTypeSet::hasType(StructType *Ty) { in hasType() function in IRMover::IdentifiedStructTypeSet
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1327 hasType(isConstQualified()), in main()
1328 hasType(type(anyOf(builtinType(), enumType()))), in main()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp89 REGISTER_OVERLOADED_2(hasType); in RegistryMaps()
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinISelLowering.cpp189 assert(RC->hasType(RegVT) && "Unexpected regclass in CCState"); in LowerFormalArguments()

12