Home
last modified time | relevance | path

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

123

/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.cpp150 auto is_once_callback = hasType(hasCanonicalType(hasDeclaration( in GetMatcher()
153 hasType(hasCanonicalType(hasDeclaration(classTemplateSpecializationDecl( in GetMatcher()
201 hasType(hasCanonicalType(references(is_repeating_callback)))) in GetMatcher()
249 hasType(hasCanonicalType(hasDeclaration( in GetMatcher()
599 auto is_once_callback = hasType(hasCanonicalType(hasDeclaration( in GetMatcher()
602 hasType(hasCanonicalType(hasDeclaration(classTemplateSpecializationDecl( 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()
/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/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/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp298 hasAnyParameter(hasType( in RunMatchers()
302 unless(hasAnyParameter(hasType(recordDecl( in RunMatchers()
377 hasObjectExpression(hasType(cxxRecordDecl(anyOf( in RunMatchers()
/external/llvm/include/llvm/Linker/
DIRMover.h60 bool hasType(StructType *Ty);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Linker/
DIRMover.h60 bool hasType(StructType *Ty);
/external/deqp-deps/SPIRV-Tools/source/
Dtable.h34 const bool hasType; // Does the instruction have a type ID operand? member
Dtext.cpp273 assert(opcodeEntry->hasType); in spvTextEncodeOperand()
630 } else if (opcodeEntry->hasType) { in spvTextEncodeOpcode()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtable.h34 const bool hasType; // Does the instruction have a type ID operand? member
Dtext.cpp273 assert(opcodeEntry->hasType); in spvTextEncodeOperand()
630 } else if (opcodeEntry->hasType) { in spvTextEncodeOpcode()
/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/deqp-deps/glslang/SPIRV/
Ddoc.h234 bool hasType() const { return typePresent != 0; } in hasType() function
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.h239 bool hasType() const { return typePresent != 0; } in hasType() function
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.h239 bool hasType() const { return typePresent != 0; } in hasType() function
/external/shaderc/spirv-headers/tools/buildHeaders/
DjsonToSpirv.h239 bool hasType() const { return typePresent != 0; } in hasType() function

123