/external/swiftshader/third_party/LLVM/lib/MC/ |
D | MCStreamer.cpp | 127 EmitValueImpl(MCSymbolRefExpr::Create(Sym, getContext()), Size, in EmitSymbolValue() 139 const MCExpr *E = MCConstantExpr::Create(FillValue, getContext()); in EmitFill() 146 return getContext().GetDwarfFile(Filename, FileNo) == 0; in EmitDwarfFileDirective() 154 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa, in EmitDwarfLocDirective() 184 MCContext &Context = getContext(); in EmitDataRegion() 200 MCContext &Context = getContext(); in EmitCodeRegion() 216 MCContext &Context = getContext(); in EmitJumpTable8Region() 232 MCContext &Context = getContext(); in EmitJumpTable16Region() 249 MCContext &Context = getContext(); in EmitJumpTable32Region() 284 StringRef Prefix = getContext().getAsmInfo().getPrivateGlobalPrefix(); in EmitCFIStartProc() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetObjectFile.cpp | 43 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); in getTTypeGlobalReference() 44 MCSymbol *PCSym = getContext().createTempSymbol(); in getTTypeGlobalReference() 46 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getTTypeGlobalReference() 47 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference() 68 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, getContext()); in getIndirectSymViaGOTPCRel() 69 MCSymbol *PCSym = getContext().createTempSymbol(); in getIndirectSymViaGOTPCRel() 71 const MCExpr *PC = MCSymbolRefExpr::create(PCSym, getContext()); in getIndirectSymViaGOTPCRel() 72 return MCBinaryExpr::createSub(Res, PC, getContext()); in getIndirectSymViaGOTPCRel()
|
/external/swiftshader/third_party/LLVM/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 39 Type::getInt32Ty(M->getContext()), in createAdd1() 40 Type::getInt32Ty(M->getContext()), in createAdd1() 45 BasicBlock *BB = BasicBlock::Create(M->getContext(), "EntryBlock", Add1F); in createAdd1() 48 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1() 59 ReturnInst::Create(M->getContext(), Add, BB); in createAdd1() 70 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 71 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 75 BasicBlock *BB = BasicBlock::Create(M->getContext(), "EntryBlock", FibF); in CreateFibFunction() 78 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction() 79 Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()), 2); in CreateFibFunction() [all …]
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 56 Type::getInt32Ty(M->getContext()), in createAdd1() 57 Type::getInt32Ty(M->getContext()), in createAdd1() 62 BasicBlock *BB = BasicBlock::Create(M->getContext(), "EntryBlock", Add1F); in createAdd1() 65 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1() 76 ReturnInst::Create(M->getContext(), Add, BB); in createAdd1() 87 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 88 Type::getInt32Ty(M->getContext()), in CreateFibFunction() 92 BasicBlock *BB = BasicBlock::Create(M->getContext(), "EntryBlock", FibF); in CreateFibFunction() 95 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction() 96 Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()), 2); in CreateFibFunction() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LowerInvoke.cpp | 123 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() 130 JBLinkTy = StructType::create(M.getContext(), "llvm.sjljeh.jmpbufty"); in doInitialization() 167 AbortFn = M.getOrInsertFunction("abort", Type::getVoidTy(M.getContext()), in doInitialization() 202 ReturnInst::Create(F.getContext(), in insertCheapEHSupport() 220 ConstantInt *InvokeNoC = ConstantInt::get(Type::getInt32Ty(II->getContext()), in rewriteExpensiveInvoke() 245 new StoreInst(Constant::getNullValue(Type::getInt32Ty(II->getContext())), in rewriteExpensiveInvoke() 457 Value *Idx[] = { Constant::getNullValue(Type::getInt32Ty(F.getContext())), in insertExpensiveEHSupport() 458 ConstantInt::get(Type::getInt32Ty(F.getContext()), 1) }; in insertExpensiveEHSupport() 473 BasicBlock::Create(F.getContext(), "setjmp.catch", &F); in insertExpensiveEHSupport() 478 AllocaInst *StackPtr = new AllocaInst(Type::getInt8PtrTy(F.getContext()), 0, in insertExpensiveEHSupport() [all …]
|
D | UnifyFunctionExitNodes.cpp | 69 UnwindBlock = BasicBlock::Create(F.getContext(), "UnifiedUnwindBlock", &F); in runOnFunction() 70 new UnwindInst(F.getContext(), UnwindBlock); in runOnFunction() 86 UnreachableBlock = BasicBlock::Create(F.getContext(), in runOnFunction() 88 new UnreachableInst(F.getContext(), UnreachableBlock); in runOnFunction() 111 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), in runOnFunction() 116 ReturnInst::Create(F.getContext(), NULL, NewRetBlock); in runOnFunction() 122 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in runOnFunction()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | libGLESv2.cpp | 123 es2::Context *context = es2::getContext(); in ActiveTexture() 140 es2::Context *context = es2::getContext(); in AttachShader() 196 es2::Context *context = es2::getContext(); in BeginQueryEXT() 213 es2::Context *context = es2::getContext(); in BindAttribLocation() 244 es2::Context *context = es2::getContext(); in BindBuffer() 315 es2::Context *context = es2::getContext(); in BindFramebuffer() 340 es2::Context *context = es2::getContext(); in BindRenderbuffer() 356 es2::Context *context = es2::getContext(); in BindTexture() 401 es2::Context* context = es2::getContext(); in BlendColor() 442 es2::Context *context = es2::getContext(); in BlendEquationSeparate() [all …]
|
D | libGLESv3.cpp | 509 es2::Context *context = es2::getContext(); in glReadBuffer() 613 es2::Context *context = es2::getContext(); in glDrawRangeElements() 669 es2::Context *context = es2::getContext(); in glTexImage3D() 715 es2::Context *context = es2::getContext(); in glTexSubImage3D() 760 es2::Context *context = es2::getContext(); in glCopyTexSubImage3D() 847 es2::Context *context = es2::getContext(); in glCompressedTexImage3D() 899 es2::Context *context = es2::getContext(); in glCompressedTexSubImage3D() 923 es2::Context *context = es2::getContext(); in glGenQueries() 943 es2::Context *context = es2::getContext(); in glDeleteQueries() 963 es2::Context *context = es2::getContext(); in glIsQuery() [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | libGLES_CM.cpp | 89 es1::Context *context = es1::getContext(); in ActiveTexture() 121 es1::Context *context = es1::getContext(); in AlphaFunc() 138 es1::Context *context = es1::getContext(); in BindBuffer() 165 es1::Context *context = es1::getContext(); in BindFramebuffer() 182 es1::Context *context = es1::getContext(); in BindFramebufferOES() 199 es1::Context *context = es1::getContext(); in BindRenderbufferOES() 220 es1::Context *context = es1::getContext(); in BindTexture() 280 es1::Context *context = es1::getContext(); in BlendEquationSeparateOES() 370 es1::Context *context = es1::getContext(); in BlendFuncSeparateOES() 399 es1::Context *context = es1::getContext(); in BufferData() [all …]
|
/external/llvm/lib/MC/ |
D | WinCOFFStreamer.cpp | 66 SwitchSection(getContext().getObjectFileInfo()->getTextSection()); in InitSections() 69 SwitchSection(getContext().getObjectFileInfo()->getDataSection()); in InitSections() 72 SwitchSection(getContext().getObjectFileInfo()->getBSSSection()); in InitSections() 75 SwitchSection(getContext().getObjectFileInfo()->getTextSection()); in InitSections() 166 if (getContext().getObjectFileInfo()->getTargetTriple().getArch() != in EmitCOFFSafeSEH() 174 MCSection *SXData = getContext().getObjectFileInfo()->getSXDataSection(); in EmitCOFFSafeSEH() 192 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSectionIndex() 200 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSecRel32() 210 const Triple &T = getContext().getObjectFileInfo()->getTargetTriple(); in EmitCommonSymbol() 226 const MCObjectFileInfo *MFI = getContext().getObjectFileInfo(); in EmitCommonSymbol() [all …]
|
D | MCDwarf.cpp | 51 if (!MCOS->getContext().getDwarfLocSeen()) in Make() 55 MCSymbol *LineSym = MCOS->getContext().createTempSymbol(); in Make() 60 const MCDwarfLoc &DwarfLoc = MCOS->getContext().getCurrentDwarfLoc(); in Make() 66 MCOS->getContext().clearDwarfLocSeen(); in Make() 69 MCOS->getContext() in Make() 70 .getMCDwarfLineTable(MCOS->getContext().getDwarfCompileUnitID()) in Make() 84 MCSymbolRefExpr::create(&End, Variant, MCOS.getContext()); in MakeStartMinusEndExpr() 86 MCSymbolRefExpr::create(&Start, Variant, MCOS.getContext()); in MakeStartMinusEndExpr() 88 MCBinaryExpr::create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext()); in MakeStartMinusEndExpr() 90 MCConstantExpr::create(IntVal, MCOS.getContext()); in MakeStartMinusEndExpr() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | SanitizerStats.cpp | 26 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport() 38 return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()), in makeModuleStatsTy() 39 Type::getInt32Ty(M->getContext()), in makeModuleStatsTy() 78 PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); in finish() 79 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); in finish() 80 Type *VoidTy = Type::getVoidTy(M->getContext()); in finish() 97 auto BB = BasicBlock::Create(M->getContext(), "", F); in finish()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Metadata.cpp | 107 LLVMContextImpl *pImpl = getType()->getContext().pImpl; in ~MDNode() 261 assert(!N->getContext().pImpl->MDNodeSet.RemoveNode(N) && in deleteTemporary() 263 assert(!N->getContext().pImpl->NonUniquedMDNodes.erase(N) && in deleteTemporary() 289 LLVMContextImpl *pImpl = getType()->getContext().pImpl; in setIsNotUniqued() 325 LLVMContextImpl *pImpl = getType()->getContext().pImpl; in replaceOperand() 430 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata() 434 return getMetadataImpl(getContext().getMDKindID(Kind)); in getMetadataImpl() 451 LLVMContextImpl::MDMapTy &Info = getContext().pImpl->MetadataStore[this]; in setMetadata() 472 getContext().pImpl->MetadataStore.count(this) && in setMetadata() 474 LLVMContextImpl::MDMapTy &Info = getContext().pImpl->MetadataStore[this]; in setMetadata() [all …]
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | DatabaseContentProvider.java | 227 sendStorageFullIntent(getContext()); in delete() 235 sendStorageFullIntent(getContext()); in delete() 243 getContext().getContentResolver().notifyChange(uri, null); in delete() 274 sendStorageFullIntent(getContext()); in insert() 282 sendStorageFullIntent(getContext()); in insert() 289 getContext().getContentResolver().notifyChange(uri, null); in insert() 296 mDbHelper = new DatabaseHelper(getContext(), mDbName); in onCreate() 357 sendStorageFullIntent(getContext()); in update() 365 sendStorageFullIntent(getContext()); in update() 372 getContext().getContentResolver().notifyChange(uri, null); in update() [all …]
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | VideoCapturerAndroidTest.java | 46 getInstrumentation().getContext(), true, true, true)); in setUp() 60 new Camera2Enumerator(getInstrumentation().getContext()); in testCamera2Enumerator() 169 capturer, cameraEvents, getInstrumentation().getContext()); in testCameraEvents() 179 getInstrumentation().getContext()); in testCameraCallsAfterStop() 190 getInstrumentation().getContext()); in testCameraCallsAfterStopUsingTextures() 219 getInstrumentation().getContext()); in testStartStopWithDifferentResolutions() 229 getInstrumentation().getContext()); in testStartStopWithDifferentResolutionsUsingTextures() 241 capturer, getInstrumentation().getContext()); in testStartWhileCameraAlreadyOpened() 252 capturer, getInstrumentation().getContext()); in testStartWhileCameraIsAlreadyOpenAndCloseCamera() 263 capturer, getInstrumentation().getContext()); in startWhileCameraIsAlreadyOpenAndStop() [all …]
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MachObjectWriter.cpp | 94 Asm.getContext().reportError(Fixup.getLoc(), in getAArch64FixupKindMachOInfo() 175 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 186 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 193 Asm.getContext().reportError(Fixup.getLoc(), "unknown AArch64 fixup kind!"); in recordRelocation() 205 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 237 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 244 Asm.getContext().reportError(Fixup.getLoc(), in recordRelocation() 257 Asm.getContext().reportError( in recordRelocation() 264 Asm.getContext().reportError( in recordRelocation() 272 Asm.getContext().reportError( in recordRelocation() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 36 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getTTypeGlobalReference() 37 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference() 38 return MCBinaryExpr::createAdd(Res, Four, getContext()); in getTTypeGlobalReference() 59 MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); in getIndirectSymViaGOTPCRel() 60 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel() 61 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel() 66 return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext()); in getDebugThreadLocalSymbol() 99 TM.getSymbol(LHS, Mang), MCSymbolRefExpr::VK_COFF_IMGREL32, getContext()); in lowerRelativeReference() 164 return getContext().getCOFFSection(".rdata", Characteristics, Kind, in getSectionForConstant()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | libGL.cpp | 133 gl::Context *context = gl::getContext(); in glActiveTexture() 155 gl::Context *context = gl::getContext(); in glAttachShader() 211 gl::Context *context = gl::getContext(); in glBeginQueryEXT() 233 gl::Context *context = gl::getContext(); in glBindAttribLocation() 264 gl::Context *context = gl::getContext(); in glBindBuffer() 291 gl::Context *context = gl::getContext(); in glBindFramebuffer() 321 gl::Context *context = gl::getContext(); in glBindRenderbuffer() 338 gl::Context *context = gl::getContext(); in glBindTexture() 373 gl::Context* context = gl::getContext(); in glBlendColor() 419 gl::Context *context = gl::getContext(); in glBlendEquationSeparate() [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceInst.cpp | 429 Srcs[I] = Target->getCfg()->getContext()->getConstantZero(Ty); in clearOperandForTarget() 598 auto *Ctx = Func->getContext(); in makeName() 648 Ostream &Str = Func->getContext()->getStrDump(); in dumpDecorated() 669 Ostream &Str = Func->getContext()->getStrDump(); in dump() 678 Ostream &Str = Func->getContext()->getStrDump(); in dumpExtras() 701 Ostream &Str = Func->getContext()->getStrDump(); in dumpSources() 712 Ostream &Str = Func->getContext()->getStrEmit(); in emitSources() 730 Ostream &Str = Func->getContext()->getStrDump(); in dump() 741 Ostream &Str = Func->getContext()->getStrDump(); in dump() 750 Ostream &Str = Func->getContext()->getStrDump(); in dump() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 127 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc); in setLocation() 135 SourceManager &SM = CGM.getContext().getSourceManager(); in setLocation() 177 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor() 263 RD->getNameForDiagnostic(OS, CGM.getContext().getPrintingPolicy(), in getClassName() 289 ASTContext &Context = CGM.getContext(); in getClassName() 318 SourceManager &SM = CGM.getContext().getSourceManager(); in getOrCreateFile() 358 SourceManager &SM = CGM.getContext().getSourceManager(); in getLineNumber() 371 SourceManager &SM = CGM.getContext().getSourceManager(); in getColumnNumber() 397 SourceManager &SM = CGM.getContext().getSourceManager(); in CreateCompileUnit() 496 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType() [all …]
|
D | TargetInfo.cpp | 80 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirect() 86 return ABIArgInfo::getIndirectInReg(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirectInReg() 170 ASTContext &ABIInfo::getContext() const { in getContext() function in ABIInfo 171 return CGT.getContext(); in getContext() 188 getContext().getLangOpts().RenderScript; in isAndroid() 559 auto TyInfo = CGF.getContext().getTypeInfoInChars(Ty); in EmitVAArgInstr() 697 if (isEmptyRecord(getContext(), Ty, true)) in classifyArgumentType() 702 if (const Type *SeltTy = isSingleElementStruct(Ty, getContext())) in classifyArgumentType() 716 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType() 721 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType() [all …]
|
/external/skia/src/gpu/ |
D | GrGpuResource.cpp | 17 SkASSERT(gpu->getContext()); in get_resource_cache() 18 SkASSERT(gpu->getContext()->getResourceCache()); in get_resource_cache() 19 return gpu->getContext()->getResourceCache(); in get_resource_cache() 87 const GrContext* GrGpuResource::getContext() const { in getContext() function in GrGpuResource 89 return fGpu->getContext(); in getContext() 95 GrContext* GrGpuResource::getContext() { in getContext() function in GrGpuResource 97 return fGpu->getContext(); in getContext()
|
/external/llvm/examples/BrainF/ |
D | BrainFDriver.cpp | 76 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()), in addMainFunction() 77 IntegerType::getInt32Ty(mod->getContext()), in addMainFunction() 79 IntegerType::getInt8Ty(mod->getContext()))), NULL)); in addMainFunction() 89 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func); in addMainFunction() 99 ReturnInst::Create(mod->getContext(), in addMainFunction() 100 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb); in addMainFunction()
|
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
D | BrainFDriver.cpp | 61 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()), in addMainFunction() 62 IntegerType::getInt32Ty(mod->getContext()), in addMainFunction() 64 IntegerType::getInt8Ty(mod->getContext()))), NULL)); in addMainFunction() 74 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func); in addMainFunction() 84 ReturnInst::Create(mod->getContext(), in addMainFunction() 85 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb); in addMainFunction()
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 36 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue() 89 LLVMContext &Context = getContext(); in handleChangedMetadata() 311 auto &Context = V->getContext(); in get() 330 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists() 336 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion() 358 LLVMContext &Context = From->getType()->getContext(); in handleRAUW() 758 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \ in uniquify() 770 getContext().pImpl->CLASS##s.erase(cast<CLASS>(this)); \ in eraseFromStore() 819 getContext().pImpl->DistinctMDNodes.push_back(this); in storeDistinctInContext() 872 return getOrSelfReference(A->getContext(), MDs); in concatenate() [all …]
|