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

1234567891011>>

/external/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp30 getContext().getELFSection(".init_array", ELF::SHT_INIT_ARRAY,
35 getContext().getELFSection(".fini_array", ELF::SHT_FINI_ARRAY,
43 getContext().getELFSection(".ARM.attributes",
H A DThumb2RegisterInfo.cpp45 Type::getInt32Ty(MBB.getParent()->getFunction()->getContext()), Val);
/external/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp32 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext());
33 const MCExpr *Four = MCConstantExpr::Create(4, getContext());
34 return MCBinaryExpr::CreateAdd(Res, Four, getContext());
/external/llvm/lib/Transforms/Utils/
H A DUnifyFunctionExitNodes.cpp69 UnwindBlock = BasicBlock::Create(F.getContext(), "UnifiedUnwindBlock", &F);
70 new UnwindInst(F.getContext(), UnwindBlock);
86 UnreachableBlock = BasicBlock::Create(F.getContext(),
88 new UnreachableInst(F.getContext(), UnreachableBlock);
111 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(),
116 ReturnInst::Create(F.getContext(), NULL, NewRetBlock);
122 ReturnInst::Create(F.getContext(), PN, NewRetBlock);
H A DLowerInvoke.cpp123 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext());
130 JBLinkTy = StructType::create(M.getContext(), "llvm.sjljeh.jmpbufty");
167 AbortFn = M.getOrInsertFunction("abort", Type::getVoidTy(M.getContext()),
202 ReturnInst::Create(F.getContext(),
220 ConstantInt *InvokeNoC = ConstantInt::get(Type::getInt32Ty(II->getContext()),
245 new StoreInst(Constant::getNullValue(Type::getInt32Ty(II->getContext())),
457 Value *Idx[] = { Constant::getNullValue(Type::getInt32Ty(F.getContext())),
458 ConstantInt::get(Type::getInt32Ty(F.getContext()), 1) };
473 BasicBlock::Create(F.getContext(), "setjmp.catch", &F);
478 AllocaInst *StackPtr = new AllocaInst(Type::getInt8PtrTy(F.getContext()),
[all...]
/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.cpp61 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()),
62 IntegerType::getInt32Ty(mod->getContext()),
64 IntegerType::getInt8Ty(mod->getContext()))), NULL));
74 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func);
84 ReturnInst::Create(mod->getContext(),
85 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb);
/external/webkit/Source/WebCore/html/
H A DHTMLCanvasElement.idl43 [Custom] DOMObject getContext(in DOMString contextId);
/external/llvm/lib/MC/
H A DMCStreamer.cpp127 EmitValueImpl(MCSymbolRefExpr::Create(Sym, getContext()), Size,
139 const MCExpr *E = MCConstantExpr::Create(FillValue, getContext());
147 return getContext().GetDwarfFile(Directory, Filename, FileNo) == 0;
155 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa,
185 MCContext &Context = getContext();
201 MCContext &Context = getContext();
217 MCContext &Context = getContext();
233 MCContext &Context = getContext();
250 MCContext &Context = getContext();
285 StringRef Prefix = getContext()
[all...]
H A DMCDwarf.cpp69 if (!MCOS->getContext().getDwarfLocSeen())
73 MCSymbol *LineSym = MCOS->getContext().CreateTempSymbol();
78 const MCDwarfLoc &DwarfLoc = MCOS->getContext().getCurrentDwarfLoc();
84 MCOS->getContext().ClearDwarfLocSeen();
89 MCOS->getContext().getMCLineSections();
97 MCOS->getContext().addMCLineSection(Section, LineSection);
113 MCSymbolRefExpr::Create(&End, Variant, MCOS.getContext());
115 MCSymbolRefExpr::Create(&Start, Variant, MCOS.getContext());
117 MCBinaryExpr::Create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext());
119 MCConstantExpr::Create(IntVal, MCOS.getContext());
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h172 return AnaCtxMgr.getContext(D)->getCFG();
177 return AnaCtxMgr.getContext(D)->getAnalysis<T>();
181 return AnaCtxMgr.getContext(D)->getParentMap();
185 return AnaCtxMgr.getContext(D);
189 return AnaCtxMgr.getContext(D, TU);
202 return LocCtxMgr.getStackFrame(AnaCtxMgr.getContext(D, TU), 0, 0, 0, 0);
210 return LocCtxMgr.getStackFrame(AnaCtxMgr.getContext(D), Parent, S,
/external/llvm/lib/VMCore/
H A DMetadata.cpp107 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
261 assert(!N->getContext().pImpl->MDNodeSet.RemoveNode(N) &&
263 assert(!N->getContext().pImpl->NonUniquedMDNodes.erase(N) &&
289 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
325 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
430 setMetadata(getContext().getMDKindID(Kind), Node);
434 return getMetadataImpl(getContext().getMDKindID(Kind));
451 LLVMContextImpl::MDMapTy &Info = getContext().pImpl->MetadataStore[this];
472 getContext().pImpl->MetadataStore.count(this) &&
474 LLVMContextImpl::MDMapTy &Info = getContext()
[all...]
H A DLeakDetector.cpp38 LLVMContextImpl *pImpl = Object->getContext().pImpl;
48 LLVMContextImpl *pImpl = Object->getContext().pImpl;
/external/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp201 Alignment = Types.getContext().getASTRecordLayout(D).getAlignment();
236 uint64_t TypeSizeInBits = Types.getContext().toBits(TypeSizeInBytes);
331 AI.FieldByteOffset = Types.getContext().toCharUnitsFromBits(
334 AI.FieldByteOffset = Types.getContext().toCharUnitsFromBits(AccessStart);
338 AI.AccessAlignment = Types.getContext().toCharUnitsFromBits(
356 const ASTRecordLayout &RL = Types.getContext().getASTRecordLayout(RD);
357 uint64_t ContainingTypeSizeInBits = Types.getContext().toBits(RL.getSize());
358 unsigned ContainingTypeAlign = Types.getContext().toBits(RL.getAlignment());
366 uint64_t fieldSize = D->getBitWidthValue(Types.getContext());
371 uint64_t nextFieldOffsetInBits = Types.getContext()
[all...]
H A DCGObjCRuntime.cpp45 RL = &CGM.getContext().getASTObjCImplementationLayout(ID);
47 RL = &CGM.getContext().getASTObjCInterfaceLayout(Container);
71 CGM.getContext().getCharWidth();
78 CGM.getContext().getCharWidth();
116 CGF.CGM.getContext().getASTObjCInterfaceLayout(OID);
117 uint64_t TypeSizeInBits = CGF.CGM.getContext().toBits(RL.getSize());
119 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth();
120 uint64_t ContainingTypeAlign = CGF.CGM.getContext().getTargetInfo().getCharAlign();
122 uint64_t BitFieldSize = Ivar->getBitWidthValue(CGF.getContext());
130 CGBitFieldInfo *Info = new (CGF.CGM.getContext()) CGBitFieldInf
[all...]
H A DCGDeclCXX.cpp29 ASTContext &Context = CGF.getContext();
116 unsigned Alignment = getContext().getDeclAlign(&D).getQuantity();
141 llvm::FunctionType::get(ConvertType(getContext().IntTy), Params, false);
176 if (!CGM.getContext().getLangOptions().AppleKext) {
179 CGM.getContext().getTargetInfo().getStaticInitSectionSpecifier())
279 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
299 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
324 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
349 ImplicitParamDecl dst(0, SourceLocation(), 0, getContext().VoidPtrTy);
353 CGM.getTypes().getFunctionInfo(getContext()
[all...]
/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/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h54 MCContext &getContext() { return getParser().getContext(); } function in class:llvm::MCAsmParserExtension
/external/llvm/lib/Target/MBlaze/
H A DMBlazeTargetObjectFile.cpp27 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
32 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/external/skia/gpu/src/
H A DGrTexture.cpp24 GrContext* context = this->getGpu()->getContext();
59 GrContext* context = this->getGpu()->getContext();
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp168 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext());
172 ConstantInt::get(Type::getInt32Ty(RI->getContext()), Offset);
252 BasicBlock *FailBB = BasicBlock::Create(F->getContext(),
256 Type::getVoidTy(F->getContext()), NULL);
258 new UnreachableInst(F->getContext(), FailBB);
/external/mesa3d/src/pixelflinger2/
H A Dllvm_helper.h46 return ConstantFP::get(builder.getContext(), APFloat(x));
51 return VectorType::get(Type::getInt32Ty(builder.getContext()), 4);
56 return VectorType::get(Type::getFloatTy(builder.getContext()), 4);
156 BasicBlock * ifthen = BasicBlock::Create(m_builder.getContext(), name(trueBlock), function, NULL);
157 BasicBlock * ifend = BasicBlock::Create(m_builder.getContext(), name(falseBlock), function, NULL);
165 BasicBlock *ifend = BasicBlock::Create(m_builder.getContext(), name("else_end"), m_builder.GetInsertBlock()->getParent(),0);
194 BasicBlock *begin = BasicBlock::Create(m_builder.getContext(), name("loop"), function,0);
195 BasicBlock *end = BasicBlock::Create(m_builder.getContext(), name("endloop"), function,0);
216 BasicBlock *unr = BasicBlock::Create(m_builder.getContext(), name("unreachable"), m_builder.GetInsertBlock()->getParent(),0);
/external/llvm/include/llvm/Support/
H A DCrashRecoveryContext.h111 CrashRecoveryContext *getContext() const { function in class:llvm::CrashRecoveryContextCleanup
185 cleanup->getContext()->registerCleanup(cleanup);
194 cleanup->getContext()->unregisterCleanup(cleanup);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp228 Type *Int32Ty = Type::getInt32Ty(EI.getContext());
257 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext())));
263 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i));
269 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()),
289 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext()));
306 ConstantInt::get(Type::getInt32Ty(V->getContext()),
311 ConstantInt::get(Type::getInt32Ty(V->getContext()),
336 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext())));
339 Mask.assign(NumElts, ConstantInt::get(Type::getInt32Ty(V->getContext()),0));
360 ConstantInt::get(Type::getInt32Ty(V->getContext()),
[all...]

Completed in 2451 milliseconds

1234567891011>>