Searched defs:Ctx (Results 276 - 286 of 286) sorted by relevance

<<1112

/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1898 LLVMContext &Ctx = Loc->getContext(); local
1900 BinaryOperator::CreateAnd(Check, ConstantInt::getTrue(Ctx));
1920 LLVMContext &Ctx = Loc->getContext(); local
1938 Type *PtrArithTy = Type::getInt8PtrTy(Ctx, AS);
1967 Type *PtrArithTy0 = Type::getInt8PtrTy(Ctx, AS0);
1968 Type *PtrArithTy1 = Type::getInt8PtrTy(Ctx, AS1);
1994 ConstantInt::getTrue(Ctx));
/external/clang/include/clang/AST/
H A DType.h669 bool isConstant(ASTContext& Ctx) const {
670 return QualType::isConstant(*this, Ctx);
985 static bool isConstant(QualType T, ASTContext& Ctx);
1458 bool isLiteralType(const ASTContext &Ctx) const;
1497 bool isIntegralType(ASTContext &Ctx) const;
3007 NoexceptResult getNoexceptSpec(const ASTContext &Ctx) const;
3041 bool isNothrow(const ASTContext &Ctx, bool ResultIfDependent = false) const;
3110 void Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Ctx);
3832 void Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Ctx) { argument
3833 Profile(ID, Template, getArgs(), NumArgs, Ctx);
[all...]
/external/clang/lib/AST/
H A DASTContext.cpp5178 static void EncodeBitField(const ASTContext *Ctx, std::string& S, argument
5197 if (Ctx->getLangOpts().ObjCRuntime.isGNUFamily()) {
5199 const ASTRecordLayout &RL = Ctx->getASTRecordLayout(RD);
5202 S += ObjCEncodingForEnumType(Ctx, ET);
5205 S += getObjCEncodingForPrimitiveKind(Ctx, BT->getKind());
5208 S += llvm::utostr(FD->getBitWidthValue(*Ctx));
8288 const clang::ASTContext &Ctx, Decl *Value);
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp599 CStyleCastExpr* NoTypeInfoCStyleCastExpr(ASTContext *Ctx, QualType Ty, argument
601 TypeSourceInfo *TInfo = Ctx->getTrivialTypeSourceInfo(Ty, SourceLocation());
602 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, nullptr,
/external/clang/lib/Sema/
H A DSemaChecking.cpp4213 static const Expr *ignoreLiteralAdditions(const Expr *Ex, ASTContext &Ctx) { argument
7935 bool FindTypeTagExpr(const Expr *TypeExpr, const ASTContext &Ctx, argument
7974 if (ACO->getCond()->EvaluateAsBooleanCondition(Result, Ctx)) {
8013 const Expr *TypeExpr, const ASTContext &Ctx,
8025 if (!FindTypeTagExpr(TypeExpr, Ctx, &VD, &MagicValue))
8011 GetMatchingCType( const IdentifierInfo *ArgumentKind, const Expr *TypeExpr, const ASTContext &Ctx, const llvm::DenseMap<Sema::TypeTagMagicValue, Sema::TypeTagData> *MagicValues, bool &FoundWrongKind, Sema::TypeTagData &TypeInfo) argument
H A DSemaDecl.cpp1204 bool Sema::isDeclInScope(NamedDecl *D, DeclContext *Ctx, Scope *S, argument
1206 return IdResolver.isDeclInScope(D, Ctx, S, AllowInlineNamespace);
1226 void Sema::FilterLookupForScope(LookupResult &R, DeclContext *Ctx, Scope *S, argument
1233 if (isDeclInScope(D, Ctx, S, AllowInlineNamespace))
1236 if (ConsiderLinkage && isOutOfScopePreviousDeclaration(D, Ctx, Context))
1448 static void GenerateFixForUnusedDecl(const NamedDecl *D, ASTContext &Ctx, argument
1452 tok::colon, Ctx.getSourceManager(), Ctx.getLangOpts(), true);
H A DSemaDeclCXX.cpp4272 const NamedDecl *Ctx; member in struct:__anon18034::CheckAbstractUsage
4274 CheckAbstractUsage(AbstractUsageInfo &Info, const NamedDecl *Ctx) argument
4275 : Info(Info), Ctx(Ctx) {}
4347 Info.S.Diag(Ctx->getLocation(), diag::err_array_of_abstract_type)
4350 Info.S.Diag(Ctx->getLocation(), diag::err_abstract_type_in_decl)
7165 DeclContext *Ctx = S->getEntity(); local
7166 if (Ctx && !Ctx->isFunctionOrMethod())
7167 Ctx
7514 ASTContext &Ctx = ND->getASTContext(); variable
[all...]
H A DSemaOverload.cpp305 /// \param Ctx The AST context.
312 StandardConversionSequence::getNarrowingKind(ASTContext &Ctx, argument
316 assert(Ctx.getLangOpts().CPlusPlus && "narrowing check outside C++");
330 if (FromType->isRealFloatingType() && ToType->isIntegralType(Ctx)) {
332 } else if (FromType->isIntegralType(Ctx) && ToType->isRealFloatingType()) {
336 Initializer->isIntegerConstantExpr(IntConstantValue, Ctx)) {
338 llvm::APFloat Result(Ctx.getFloatTypeSemantics(ToType));
365 Ctx.getFloatingTypeOrder(FromType, ToType) == 1) {
368 if (Initializer->isCXX11ConstantExpr(Ctx, &ConstantValue)) {
375 Ctx
[all...]
H A DSemaExpr.cpp7218 ASTContext &Ctx = Self.getASTContext();
7224 llvm::isUIntN(Ctx.getCharWidth(), CharExpr->getValue())) {
7226 << DiagRange << Ctx.CharTy;
9065 DeclContext *Ctx = dcl->getDeclContext(); local
9066 if (Ctx && Ctx->isRecord()) {
9074 while (cast<RecordDecl>(Ctx)->isAnonymousStructOrUnion())
9075 Ctx = Ctx->getParent();
9079 Context.getTypeDeclType(cast<RecordDecl>(Ctx))
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp4178 LLVMContext &Ctx = *DAG.getContext(); local
4180 EVT TruncVT = EVT::getIntegerVT(Ctx, OpSizeInBits - N1C->getZExtValue());
4183 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorNumElements());
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp2656 CreateVectorIndex(unsigned Idx, SMLoc S, SMLoc E, MCContext &Ctx) { argument

Completed in 1851 milliseconds

<<1112