Home
last modified time | relevance | path

Searched refs:getContext (Results 1 – 25 of 769) sorted by relevance

12345678910>>...31

/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp43 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture); in EmitStrLen()
45 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitStrLen()
47 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitStrLen()
49 "strlen", AttributeSet::get(M->getContext(), AS), in EmitStrLen()
69 AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitStrChr()
74 AttributeSet::get(M->getContext(), in EmitStrChr()
92 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture); in EmitStrNCmp()
93 AS[1] = AttributeSet::get(M->getContext(), 2, Attribute::NoCapture); in EmitStrNCmp()
95 AS[2] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex, AVs); in EmitStrNCmp()
97 LLVMContext &Context = B.GetInsertBlock()->getContext(); in EmitStrNCmp()
[all …]
DUnifyFunctionExitNodes.cpp65 UnreachableBlock = BasicBlock::Create(F.getContext(), in runOnFunction()
67 new UnreachableInst(F.getContext(), UnreachableBlock); in runOnFunction()
90 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), in runOnFunction()
95 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); in runOnFunction()
101 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in runOnFunction()
/external/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp43 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/llvm/examples/ParallelJIT/
DParallelJIT.cpp40 Type::getInt32Ty(M->getContext()), in createAdd1()
41 Type::getInt32Ty(M->getContext()), in createAdd1()
46 BasicBlock *BB = BasicBlock::Create(M->getContext(), "EntryBlock", Add1F); in createAdd1()
49 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in createAdd1()
60 ReturnInst::Create(M->getContext(), Add, BB); in createAdd1()
71 Type::getInt32Ty(M->getContext()), in CreateFibFunction()
72 Type::getInt32Ty(M->getContext()), in CreateFibFunction()
76 BasicBlock *BB = BasicBlock::Create(M->getContext(), "EntryBlock", FibF); in CreateFibFunction()
79 Value *One = ConstantInt::get(Type::getInt32Ty(M->getContext()), 1); in CreateFibFunction()
80 Value *Two = ConstantInt::get(Type::getInt32Ty(M->getContext()), 2); in CreateFibFunction()
[all …]
/external/llvm/lib/MC/
DWinCOFFStreamer.cpp66 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()
170 if (getContext().getObjectFileInfo()->getTargetTriple().getArch() != in EmitCOFFSafeSEH()
178 MCSection *SXData = getContext().getObjectFileInfo()->getSXDataSection(); in EmitCOFFSafeSEH()
196 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSectionIndex()
204 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSecRel32()
216 const Triple &T = getContext().getObjectFileInfo()->getTargetTriple(); in EmitCommonSymbol()
232 const MCObjectFileInfo *MFI = getContext().getObjectFileInfo(); in EmitCommonSymbol()
[all …]
DMCDwarf.cpp50 if (!MCOS->getContext().getDwarfLocSeen()) in Make()
54 MCSymbol *LineSym = MCOS->getContext().createTempSymbol(); in Make()
59 const MCDwarfLoc &DwarfLoc = MCOS->getContext().getCurrentDwarfLoc(); in Make()
65 MCOS->getContext().clearDwarfLocSeen(); in Make()
68 MCOS->getContext() in Make()
69 .getMCDwarfLineTable(MCOS->getContext().getDwarfCompileUnitID()) in Make()
83 MCSymbolRefExpr::create(&End, Variant, MCOS.getContext()); in MakeStartMinusEndExpr()
85 MCSymbolRefExpr::create(&Start, Variant, MCOS.getContext()); in MakeStartMinusEndExpr()
87 MCBinaryExpr::create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext()); in MakeStartMinusEndExpr()
89 MCConstantExpr::create(IntVal, MCOS.getContext()); in MakeStartMinusEndExpr()
[all …]
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DVideoCapturerAndroidTest.java46 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/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DDatabaseContentProvider.java227 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/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp94 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/
DX86TargetObjectFile.cpp36 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()
122 getContext()); in getExecutableRelativeSymbol()
169 return getContext().getCOFFSection(".rdata", Characteristics, Kind, in getSectionForConstant()
/external/llvm/lib/IR/
DMetadata.cpp38 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue()
91 LLVMContext &Context = getContext(); in handleChangedMetadata()
254 auto &Context = V->getContext(); in get()
273 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); in getIfExists()
279 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; in handleDeletion()
301 LLVMContext &Context = From->getType()->getContext(); in handleRAUW()
695 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \ in uniquify()
707 getContext().pImpl->CLASS##s.erase(cast<CLASS>(this)); \ in eraseFromStore()
754 getContext().pImpl->DistinctMDNodes.insert(this); in storeDistinctInContext()
807 return getOrSelfReference(A->getContext(), MDs); in concatenate()
[all …]
DConstants.cpp201 return ConstantFP::get(Ty->getContext(), in getNullValue()
204 return ConstantFP::get(Ty->getContext(), in getNullValue()
207 return ConstantFP::get(Ty->getContext(), in getNullValue()
210 return ConstantFP::get(Ty->getContext(), in getNullValue()
213 return ConstantFP::get(Ty->getContext(), in getNullValue()
216 return ConstantFP::get(Ty->getContext(), in getNullValue()
226 return ConstantTokenNone::get(Ty->getContext()); in getNullValue()
237 Constant *C = ConstantInt::get(Ty->getContext(), V); in getIntegerValue()
252 return ConstantInt::get(Ty->getContext(), in getAllOnesValue()
258 return ConstantFP::get(Ty->getContext(), FL); in getAllOnesValue()
[all …]
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp126 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc); in setLocation()
134 SourceManager &SM = CGM.getContext().getSourceManager(); in setLocation()
176 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), in getContextDescriptor()
265 RD->getNameForDiagnostic(OS, CGM.getContext().getPrintingPolicy(), in getClassName()
279 SourceManager &SM = CGM.getContext().getSourceManager(); in getOrCreateFile()
319 SourceManager &SM = CGM.getContext().getSourceManager(); in getLineNumber()
332 SourceManager &SM = CGM.getContext().getSourceManager(); in getColumnNumber()
358 SourceManager &SM = CGM.getContext().getSourceManager(); in CreateCompileUnit()
444 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType()
501 "opencl_sampler_t", CGM.getContext().getTypeSize(BT), in CreateType()
[all …]
DCGObjC.cpp93 getContext().getObjCEncodingForType(ValueType, Str); in EmitObjCBoxedExpr()
115 ASTContext &Context = CGM.getContext(); in EmitObjCCollectionLiteral()
503 CGF.getContext().VoidTy, in Emit()
571 ASTContext &Context = CGF.getContext(); in emitStructGetterCall()
587 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); in emitStructGetterCall()
680 CGM.getContext().getTypeInfoInChars(ivarType); in PropertyImplStrategy()
743 CGM.getContext().getObjCGCAttrKind(ivarType))) { in PropertyImplStrategy()
845 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
852 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
855 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
[all …]
DTargetInfo.cpp79 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirect()
85 return ABIArgInfo::getIndirectInReg(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirectInReg()
129 ASTContext &ABIInfo::getContext() const { in getContext() function in ABIInfo
130 return CGT.getContext(); in getContext()
660 if (isEmptyRecord(getContext(), Ty, true)) in classifyArgumentType()
665 if (const Type *SeltTy = isSingleElementStruct(Ty, getContext())) in classifyArgumentType()
679 if (isEmptyRecord(getContext(), RetTy, true)) in classifyReturnType()
684 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) in classifyReturnType()
846 return isX86VectorTypeForVectorCall(getContext(), Ty); in isHomogeneousAggregateBaseType()
998 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType()); in addReturnRegisterOutputs()
[all …]
/external/skia/src/gpu/
DGrGpuResource.cpp18 SkASSERT(gpu->getContext()); in get_resource_cache()
19 SkASSERT(gpu->getContext()->getResourceCache()); in get_resource_cache()
20 return gpu->getContext()->getResourceCache(); in get_resource_cache()
82 const GrContext* GrGpuResource::getContext() const { in getContext() function in GrGpuResource
84 return fGpu->getContext(); in getContext()
90 GrContext* GrGpuResource::getContext() { in getContext() function in GrGpuResource
92 return fGpu->getContext(); in getContext()
/external/llvm/examples/BrainF/
DBrainFDriver.cpp61 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/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp1054 const Context& getContext (void) const { return m_context; } in getContext() function in vkt::memory::__anone9617f060111::PrepareContext
1145 const Context& getContext (void) const { return m_context; } in getContext() function in vkt::memory::__anone9617f060111::ExecuteContext
1168 const Context& getContext (void) const { return m_context; } in getContext() function in vkt::memory::__anone9617f060111::VerifyContext
1240 const vk::DeviceInterface& vkd = context.getContext().getDeviceInterface(); in execute()
1241 const vk::VkDevice device = context.getContext().getDevice(); in execute()
1270 const vk::DeviceInterface& vkd = context.getContext().getDeviceInterface(); in execute()
1271 const vk::VkDevice device = context.getContext().getDevice(); in execute()
1301 const vk::DeviceInterface& vkd = context.getContext().getDeviceInterface(); in execute()
1302 const vk::VkDevice device = context.getContext().getDevice(); in execute()
1332 const vk::DeviceInterface& vkd = context.getContext().getDeviceInterface(); in execute()
[all …]
/external/deqp/modules/gles31/
Dtes31TestPackage.cpp69 DE_ASSERT(m_testPackage.getContext()); in deinit()
70 …glu::resetState(m_testPackage.getContext()->getRenderContext(), m_testPackage.getContext()->getCon… in deinit()
75 tcu::TestContext& testCtx = m_testPackage.getContext()->getTestContext(); in iterate()
81 m_testPackage.getContext()->getRenderContext().postIterate(); in iterate()
/external/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp94 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSampler()
100 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSampler()
113 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePSurface()
119 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePSurface()
131 replaceWith(&I, ConstantInt::getTrue(I.getContext())); in replaceIsTypePTexture()
138 replaceWith(&I, ConstantInt::getFalse(I.getContext())); in replaceIsTypePTexture()
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp167 MCSymbol *Sym = getContext().getOrCreateSymbol(Name); in ParseDirectiveSymbolAttribute()
192 getStreamer().SwitchSection(getContext().getELFSection(Section, Type, Flags), in ParseSectionSwitch()
202 MCSymbolELF *Sym = cast<MCSymbolELF>(getContext().getOrCreateSymbol(Name)); in ParseDirectiveSize()
395 if (!getContext().getAsmInfo()->usesSunStyleELFSectionSwitchSyntax() in ParseSectionArguments()
520 MCSection *ELFSection = getContext().getELFSection(SectionName, Type, Flags, in ParseSectionArguments()
524 if (getContext().getGenDwarfForAssembly()) { in ParseSectionArguments()
525 bool InsertResult = getContext().addGenDwarfSection(ELFSection); in ParseSectionArguments()
527 if (getContext().getDwarfVersion() <= 2) in ParseSectionArguments()
531 MCSymbol *SectionStartSymbol = getContext().createTempSymbol(); in ParseSectionArguments()
575 MCSymbol *Sym = getContext().getOrCreateSymbol(Name); in ParseDirectiveType()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MachObjectWriter.cpp153 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
161 Asm.getContext().reportError( in RecordX86_64Relocation()
177 Asm.getContext().reportError( in RecordX86_64Relocation()
186 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
216 if (!Asm.getContext().getAsmInfo()->isSectionAtomizableBySymbols(Sec)) in RecordX86_64Relocation()
256 Asm.getContext().reportError(Fixup.getLoc(), in RecordX86_64Relocation()
262 Asm.getContext().reportError( in RecordX86_64Relocation()
282 Asm.getContext().reportError( in RecordX86_64Relocation()
310 Asm.getContext().reportError( in RecordX86_64Relocation()
329 Asm.getContext().reportError( in RecordX86_64Relocation()
[all …]
/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp24 AttributeSet::get(MB.getModule()->getContext(), 1U, in TEST()
27 AttributeSet::get(MB.getModule()->getContext(), 2U, in TEST()
30 AttributeSet::get(MB.getModule()->getContext(), ~0U, in TEST()
32 F->setAttributes(AttributeSet::get(MB.getModule()->getContext(), Attrs)); in TEST()
/external/deqp/modules/gles2/
Dtes2TestPackage.cpp74 DE_ASSERT(m_testPackage.getContext()); in deinit()
75 …glu::resetState(m_testPackage.getContext()->getRenderContext(), m_testPackage.getContext()->getCon… in deinit()
80 tcu::TestContext& testCtx = m_testPackage.getContext()->getTestContext(); in iterate()
81 glu::RenderContext& renderCtx = m_testPackage.getContext()->getRenderContext(); in iterate()
/external/deqp/modules/gles3/
Dtes3TestPackage.cpp73 DE_ASSERT(m_testPackage.getContext()); in deinit()
74 …glu::resetState(m_testPackage.getContext()->getRenderContext(), m_testPackage.getContext()->getCon… in deinit()
79 tcu::TestContext& testCtx = m_testPackage.getContext()->getTestContext(); in iterate()
80 glu::RenderContext& renderCtx = m_testPackage.getContext()->getRenderContext(); in iterate()

12345678910>>...31