Searched refs:getContext (Results 1 - 25 of 455) sorted by relevance

1234567891011>>

/external/skia/src/gpu/
H A DGrResource.cpp36 const GrContext* GrResource::getContext() const { function in class:GrResource
38 return fGpu->getContext();
44 GrContext* GrResource::getContext() { function in class:GrResource
46 return fGpu->getContext();
H A DGrStencilBuffer.cpp25 this->getGpu()->getContext()->addAndLockStencilBuffer(this);
51 GrAssert(NULL != gpu->getContext());
52 gpu->getContext()->unlockStencilBuffer(fCacheEntry);
H A DGrTexture.cpp20 GrContext* context = this->getContext();
34 GrContext* context = this->getContext();
H A DGrRenderTarget.cpp20 GrContext* context = this->getContext();
34 GrContext* context = this->getContext();
46 GrContext* context = this->getContext();
/external/llvm/unittests/Bitcode/
H A DBitReaderTest.cpp29 FunctionType::get(Type::getVoidTy(Mod->getContext()), false);
33 BasicBlock* Entry = BasicBlock::Create(Mod->getContext(), "entry", Func);
34 new UnreachableInst(Mod->getContext(), Entry);
36 BasicBlock* BB = BasicBlock::Create(Mod->getContext(), "bb", Func);
37 new UnreachableInst(Mod->getContext(), BB);
39 PointerType* Int8Ptr = Type::getInt8PtrTy(Mod->getContext());
/external/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp34 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext());
35 const MCExpr *Four = MCConstantExpr::Create(4, getContext());
36 return MCBinaryExpr::CreateAdd(Res, Four, getContext());
/external/skia/include/gpu/
H A DGrResource.h65 const GrContext* getContext() const;
66 GrContext* getContext();
/external/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp36 getContext().getELFSection(".ARM.attributes",
/external/llvm/examples/ParallelJIT/
H A DParallelJIT.cpp39 Type::getInt32Ty(M->getContext()),
40 Type::getInt32Ty(M->getContext()),
45 BasicBlock *BB = BasicBlock::Create(M->getContext(), "EntryBlock", Add1F);
48 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1);
59 ReturnInst::Create(M->getContext(), Add, BB);
70 Type::getInt32Ty(M->getContext()),
71 Type::getInt32Ty(M->getContext()),
75 BasicBlock *BB = BasicBlock::Create(M->getContext(), "EntryBlock", FibF);
78 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1);
79 Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()),
[all...]
/external/llvm/examples/BrainF/
H A DBrainFDriver.cpp60 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()),
61 IntegerType::getInt32Ty(mod->getContext()),
63 IntegerType::getInt8Ty(mod->getContext()))), NULL));
73 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func);
83 ReturnInst::Create(mod->getContext(),
84 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb);
/external/webkit/Source/WebCore/html/
H A DHTMLCanvasElement.idl43 [Custom] DOMObject getContext(in DOMString contextId);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h107 return AnaCtxMgr.getContext(D)->getCFG();
112 return AnaCtxMgr.getContext(D)->getAnalysis<T>();
116 return AnaCtxMgr.getContext(D)->getParentMap();
120 return AnaCtxMgr.getContext(D);
/external/llvm/lib/Transforms/Utils/
H A DUnifyFunctionExitNodes.cpp66 UnreachableBlock = BasicBlock::Create(F.getContext(),
68 new UnreachableInst(F.getContext(), UnreachableBlock);
91 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(),
96 ReturnInst::Create(F.getContext(), NULL, NewRetBlock);
102 ReturnInst::Create(F.getContext(), PN, NewRetBlock);
H A DLowerInvoke.cpp122 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext());
129 JBLinkTy = StructType::create(M.getContext(), "llvm.sjljeh.jmpbufty");
166 AbortFn = M.getOrInsertFunction("abort", Type::getVoidTy(M.getContext()),
205 ConstantInt *InvokeNoC = ConstantInt::get(Type::getInt32Ty(II->getContext()),
230 new StoreInst(Constant::getNullValue(Type::getInt32Ty(II->getContext())),
438 Value *Idx[] = { Constant::getNullValue(Type::getInt32Ty(F.getContext())),
439 ConstantInt::get(Type::getInt32Ty(F.getContext()), 1) };
454 BasicBlock::Create(F.getContext(), "setjmp.catch", &F);
459 AllocaInst *StackPtr = new AllocaInst(Type::getInt8PtrTy(F.getContext()), 0,
464 AllocaInst *InvokeNum = new AllocaInst(Type::getInt32Ty(F.getContext()),
[all...]
/external/llvm/lib/MC/
H A DMCStreamer.cpp125 EmitValueImpl(MCSymbolRefExpr::Create(Sym, getContext()), Size,
141 const MCExpr *E = MCConstantExpr::Create(FillValue, getContext());
149 return getContext().GetDwarfFile(Directory, Filename, FileNo) == 0;
157 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa,
214 StringRef Prefix = getContext().getAsmInfo().getPrivateGlobalPrefix();
218 Frame.Begin = getContext().CreateTempSymbol();
233 Frame.End = getContext().CreateTempSymbol();
240 MCSymbol *Label = getContext().CreateTempSymbol();
251 MCSymbol *Label = getContext().CreateTempSymbol();
262 MCSymbol *Label = getContext()
[all...]
H A DMCObjectStreamer.cpp213 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel);
225 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel);
243 MCSymbol *CurrentPos = getContext().CreateTempSymbol();
247 MCSymbolRefExpr::Create(CurrentPos, Variant, getContext());
249 MCBinaryExpr::Create(MCBinaryExpr::Sub, Offset, Ref, getContext());
276 if (getContext().hasDwarfFiles())
280 if (getContext().getGenDwarfForAssembly())
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
H A Dmain.h31 Context *getContext();
H A DlibGLESv2.cpp44 gl::Context *context = gl::getContext();
63 gl::Context *context = gl::getContext();
117 gl::Context *context = gl::getContext();
155 gl::Context *context = gl::getContext();
189 gl::Context *context = gl::getContext();
221 gl::Context *context = gl::getContext();
240 gl::Context *context = gl::getContext();
277 gl::Context* context = gl::getContext();
321 gl::Context *context = gl::getContext();
444 gl::Context *context = gl::getContext();
[all...]
/external/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp206 Alignment = Types.getContext().getASTRecordLayout(D).getAlignment();
243 uint64_t TypeSizeInBits = Types.getContext().toBits(TypeSizeInBytes);
338 AI.FieldByteOffset = Types.getContext().toCharUnitsFromBits(
341 AI.FieldByteOffset = Types.getContext().toCharUnitsFromBits(AccessStart);
345 AI.AccessAlignment = Types.getContext().toCharUnitsFromBits(
363 const ASTRecordLayout &RL = Types.getContext().getASTRecordLayout(RD);
364 uint64_t ContainingTypeSizeInBits = Types.getContext().toBits(RL.getSize());
365 unsigned ContainingTypeAlign = Types.getContext().toBits(RL.getAlignment());
373 uint64_t fieldSize = D->getBitWidthValue(Types.getContext());
378 uint64_t nextFieldOffsetInBits = Types.getContext()
[all...]
/external/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp58 return getContext().GetOrCreateSymbol(StringRef("DW.ref.") +
69 MCSymbol *Label = getContext().GetOrCreateSymbol(NameData);
75 const MCSection *Sec = getContext().getELFSection(NameData,
84 const MCExpr *E = MCConstantExpr::Create(Size, getContext());
182 return getContext().getELFSection(SectionName,
235 return getContext().getELFSection(Name.str(),
262 return getContext().getELFSection(Name, ELF::SHT_PROGBITS,
331 MCSymbol *SSym = getContext().GetOrCreateSymbol(Name.str());
355 return getContext().getELFSection(Name, ELF::SHT_INIT_ARRAY,
360 return getContext()
[all...]
/external/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h54 MCContext &getContext() { return getParser().getContext(); } function in class:llvm::MCAsmParserExtension
/external/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp36 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
40 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/external/llvm/lib/Target/MBlaze/
H A DMBlazeTargetObjectFile.cpp27 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
32 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/external/llvm/lib/VMCore/
H A DLeakDetector.cpp38 LLVMContextImpl *pImpl = Object->getContext().pImpl;
48 LLVMContextImpl *pImpl = Object->getContext().pImpl;
H A DMetadata.cpp134 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
292 assert(!N->getContext().pImpl->MDNodeSet.RemoveNode(N) &&
294 assert(!N->getContext().pImpl->NonUniquedMDNodes.erase(N) &&
320 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
356 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
551 return MDNode::get(A->getContext(), EndPoints);
612 setMetadata(getContext().getMDKindID(Kind), Node);
616 return getMetadataImpl(getContext().getMDKindID(Kind));
633 LLVMContextImpl::MDMapTy &Info = getContext().pImpl->MetadataStore[this];
654 getContext()
[all...]

Completed in 1169 milliseconds

1234567891011>>