/external/llvm/lib/Target/XCore/ |
XCoreLowerThreadLocal.cpp | 182 LLVMContext &Ctx = M->getContext(); 214 Indices.push_back(Constant::getNullValue(Type::getInt64Ty(Ctx)));
|
/external/llvm/lib/Transforms/IPO/ |
CrossDSOCFI.cpp | 111 LLVMContext &Ctx = M->getContext(); 115 Type::getVoidTy(Ctx), 116 {Type::getInt64Ty(Ctx), PointerType::getUnqual(Type::getInt8Ty(Ctx))}, 127 BasicBlock *BB = BasicBlock::Create(Ctx, "entry", F); 129 BasicBlock *TrapBB = BasicBlock::Create(Ctx, "trap", F); 137 BasicBlock *ExitBB = BasicBlock::Create(Ctx, "exit", F); 144 ConstantInt *CaseTypeId = ConstantInt::get(Type::getInt64Ty(Ctx), TypeId); 145 BasicBlock *TestBB = BasicBlock::Create(Ctx, "test", F); 152 Ctx, ConstantAsMetadata::get(CaseTypeId))}) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 330 LLVMContext &Ctx = CS.getInstruction()->getContext(); 331 AS = AS.addAttribute(Ctx, Indices, Attribute::get(Ctx, Attribute::NonNull));
|
Float2Int.cpp | 83 LLVMContext *Ctx; 431 Type *Ty = (MinBW > 32) ? Type::getInt64Ty(*Ctx) : Type::getInt32Ty(*Ctx); 530 Ctx = &F.getParent()->getContext();
|
/frameworks/compile/slang/ |
slang_rs_export_foreach.cpp | 323 clang::ASTContext &Ctx = Context->getASTContext(); 342 clang::RecordDecl::Create(Ctx, clang::TTK_Struct, 343 Ctx.getTranslationUnitDecl(), 346 &Ctx.Idents.get(Id)); 349 clang::FieldDecl::Create(Ctx, 363 clang::QualType T = Ctx.getTagDeclType(RD);
|
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 281 ASTContext &Ctx = Unit->getASTContext(); 285 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); 301 Ctx.getSourceManager(), Ctx.getLangOpts()); 309 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); 315 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); 316 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags, 467 RewritesApplicator(Rewriter &rewriter, ASTContext &ctx, 471 Listener->start(ctx); 560 ASTContext &Ctx = Unit->getASTContext() [all...] |
TransAutoreleasePool.cpp | 74 PoolII = &pass.Ctx.Idents.get("NSAutoreleasePool"); 75 DrainSel = pass.Ctx.Selectors.getNullarySelector( 76 &pass.Ctx.Idents.get("drain")); 132 Pass.Ctx); 249 ASTContext &Ctx; 254 NameReferenceChecker(ASTContext &ctx, PoolScope &scope, 257 : Ctx(ctx), referenceLoc(referenceLoc), 289 SourceManager &SM = Ctx.getSourceManager(); 310 findLocationAfterSemi(retS->getLocEnd(), Pass.Ctx).isValid()) [all...] |
/external/clang/lib/CodeGen/ |
CGCUDANV.cpp | 83 ASTContext &Ctx = CGM.getContext(); 85 IntTy = Types.ConvertType(Ctx.IntTy); 86 SizeTy = Types.ConvertType(Ctx.getSizeType()); 89 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); 90 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy));
|
ObjectFilePCHContainerOperations.cpp | 45 ASTContext *Ctx; 61 ASTContext &Ctx; 62 DebugTypeVisitor(clang::CodeGen::CGDebugInfo &DI, ASTContext &Ctx) 63 : DI(DI), Ctx(Ctx) {} 78 QualType QualTy = Ctx.getTypeDeclType(D); 101 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, 114 ArgTypes.push_back(D->getSelfType(Ctx, D->getClassInterface(), 116 ArgTypes.push_back(Ctx.getObjCSelType()); 120 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes [all...] |
/external/clang/lib/Frontend/ |
FrontendAction.cpp | 100 ASTContext &Ctx; 104 DeserializedDeclsChecker(ASTContext &Ctx, 108 : DelegatingDeserializationListener(Previous, DeletePrevious), Ctx(Ctx), 115 = Ctx.getDiagnostics().getCustomDiagID(DiagnosticsEngine::Error, 117 Ctx.getDiagnostics().Report(Ctx.getFullLoc(D->getLocation()), DiagID)
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DeadStoresChecker.cpp | 125 ASTContext &Ctx; 138 DeadStoreObs(const CFG &cfg, ASTContext &ctx, BugReporter &br, 142 : cfg(cfg), Ctx(ctx), BR(br), Checker(checker), AC(ac), Parents(parents), 282 if (RHS->isNullPointerConstant(Ctx, Expr::NPC_ValueDependentIsNull)) 355 if (E->isEvaluatable(Ctx))
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExplodedGraph.cpp | 252 BumpVectorContext &Ctx = G.getNodeAllocator(); 254 new (V) ExplodedNodeVector(Ctx, 4); 255 V->push_back(Old, Ctx);
|
Store.cpp | 26 MRMgr(svalBuilder.getRegionManager()), Ctx(stateMgr.getContext()) {} 59 return MRMgr.getElementRegion(T, idx, R, Ctx); 64 ASTContext &Ctx = StateMgr.getContext(); 86 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); 89 if (CanonPointeeTy.getLocalUnqualifiedType() == Ctx.VoidTy) 95 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType()); 167 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType()); 168 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); 190 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); 205 newSuperR = MakeElementRegion(baseR, Ctx.CharTy, off.getQuantity()) [all...] |
SymbolManager.cpp | 316 ASTContext &Ctx = R->getMemRegionManager()->getContext(); 317 return Ctx.getSizeType();
|
/external/clang/tools/libclang/ |
CIndexHigh.cpp | 188 ASTContext &Ctx = data->getASTContext(); 189 SourceManager &SM = Ctx.getSourceManager(); 209 cxloc::translateSourceRange(Ctx, Loc)) == CXVisit_Break) 283 ASTContext &Ctx = data->getASTContext(); 284 SourceManager &SM = Ctx.getSourceManager(); 304 cxloc::translateSourceRange(Ctx, Loc)) == CXVisit_Break) 361 ASTContext &Ctx = getASTContext(); 362 SourceManager &SM = Ctx.getSourceManager(); 370 cxloc::translateSourceRange(Ctx, Loc)) == CXVisit_Break)
|
/external/llvm/include/llvm/CodeGen/ |
MachineFunction.h | 92 MCContext &Ctx; 165 MCContext &getContext() const { return Ctx; } 516 MCSymbol *getJTISymbol(unsigned JTI, MCContext &Ctx,
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
MCJIT.h | 182 MCContext *Ctx;
|
/external/llvm/lib/MC/ |
MCELFStreamer.cpp | 89 MCContext &Ctx = getContext(); 90 SwitchSection(Ctx.getObjectFileInfo()->getTextSection()); 94 SwitchSection(Ctx.getAsmInfo()->getNonexecutableStackSection(Ctx)); 150 MCContext &Ctx = getContext(); 153 Begin = Ctx.getOrCreateSectionSymbol(*SectionELF);
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MCCodeEmitter.cpp | 37 MCContext &Ctx; 42 AArch64MCCodeEmitter(const MCInstrInfo &mcii, MCContext &ctx) : Ctx(ctx) {} 197 MCContext &Ctx) { 198 return new AArch64MCCodeEmitter(MCII, Ctx); 208 return Ctx.getRegisterInfo()->getEncodingValue(MO.getReg());
|
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUAsmPrinter.cpp | 437 LLVMContext &Ctx = MF.getFunction()->getContext(); 438 Ctx.emitError("too many SGPRs used with the SGPR init bug"); 445 LLVMContext &Ctx = MF.getFunction()->getContext(); 446 Ctx.emitError("too many user SGPRs used");
|
R600TextureIntrinsicsReplacer.cpp | 213 LLVMContext &Ctx = M.getContext(); 215 FloatType = Type::getFloatTy(Ctx); 216 Int32Type = Type::getInt32Ty(Ctx);
|
SIRegisterInfo.cpp | 213 LLVMContext &Ctx = MF->getFunction()->getContext(); 236 Ctx.emitError("Ran out of SGPRs for spilling VGPRS"); 286 LLVMContext &Ctx = MF->getFunction()->getContext(); 287 Ctx.emitError("Ran out of VGPRs for spilling SGPR"); 319 LLVMContext &Ctx = MF->getFunction()->getContext(); 320 Ctx.emitError("Ran out of VGPRs for spilling SGPR");
|
/external/llvm/lib/Transforms/Utils/ |
LoopUnroll.cpp | 255 LLVMContext &Ctx = F->getContext(); 260 emitOptimizationRemark(Ctx, DEBUG_TYPE, *F, LoopLoc, 265 emitOptimizationRemark(Ctx, DEBUG_TYPE, *F, LoopLoc,
|
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 30 M.reset(new Module("MyModule", Ctx)); 31 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Ctx), 34 BB = BasicBlock::Create(Ctx, "", F); 35 GV = new GlobalVariable(*M, Type::getFloatTy(Ctx), true, 44 LLVMContext Ctx; 84 BasicBlock *TBB = BasicBlock::Create(Ctx, "", F); 85 BasicBlock *FBB = BasicBlock::Create(Ctx, "", F); 95 MDNode *Weights = MDBuilder(Ctx).createBranchWeights(42, 13); 112 std::unique_ptr<Module> M(new Module("test", Ctx)); 122 EXPECT_EQ(Ty1, IntegerType::get(Ctx, 1)) [all...] |
/external/llvm/unittests/Linker/ |
LinkModulesTest.cpp | 30 M.reset(new Module("MyModule", Ctx)); 32 Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/); 36 EntryBB = BasicBlock::Create(Ctx, "entry", F); 37 SwitchCase1BB = BasicBlock::Create(Ctx, "switch.case.1", F); 38 SwitchCase2BB = BasicBlock::Create(Ctx, "switch.case.2", F); 39 ExitBB = BasicBlock::Create(Ctx, "exit", F); 41 AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3); 54 ConstantInt *One = ConstantInt::get(Type::getInt32Ty(Ctx), 1); 56 Type::getInt8PtrTy(Ctx)); [all...] |