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

1234567891011>>

/freebsd-10.3-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp62 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_PPC_DTPREL, getContext());
64 MCConstantExpr::Create(0x8000, getContext()),
65 getContext());
/freebsd-10.3-release/contrib/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp38 getContext().getELFSection(".ARM.attributes",
52 getContext());
H A DThumb2RegisterInfo.cpp45 Type::getInt32Ty(MBB.getParent()->getFunction()->getContext()), Val);
/freebsd-10.3-release/contrib/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp30 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext());
31 const MCExpr *Four = MCConstantExpr::Create(4, getContext());
32 return MCBinaryExpr::CreateAdd(Res, Four, getContext());
54 return MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext());
/freebsd-10.3-release/contrib/llvm/lib/Target/Sparc/
H A DSparcTargetObjectFile.cpp31 MCSymbol *SSym = getContext().GetOrCreateSymbol(NameStr.str());
41 MCContext &Ctx = getContext();
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h111 return AnaCtxMgr.getContext(D)->getCFG();
116 return AnaCtxMgr.getContext(D)->getAnalysis<T>();
120 return AnaCtxMgr.getContext(D)->getParentMap();
124 return AnaCtxMgr.getContext(D);
/freebsd-10.3-release/contrib/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp32 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
37 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
45 getContext().getELFSection(".MIPS.options",
51 getContext().getELFSection(".reginfo",
/freebsd-10.3-release/contrib/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp42 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture);
44 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex,
47 LLVMContext &Context = B.GetInsertBlock()->getContext();
49 AttributeSet::get(M->getContext(),
71 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture);
73 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex,
76 LLVMContext &Context = B.GetInsertBlock()->getContext();
78 AttributeSet::get(M->getContext(),
102 AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex,
108 AttributeSet::get(M->getContext(),
[all...]
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.cpp118 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext());
126 JBLinkTy = StructType::create(M.getContext(), "llvm.sjljeh.jmpbufty");
163 AbortFn = M.getOrInsertFunction("abort", Type::getVoidTy(M.getContext()),
202 ConstantInt *InvokeNoC = ConstantInt::get(Type::getInt32Ty(II->getContext()),
227 new StoreInst(Constant::getNullValue(Type::getInt32Ty(II->getContext())),
435 Value *Idx[] = { Constant::getNullValue(Type::getInt32Ty(F.getContext())),
436 ConstantInt::get(Type::getInt32Ty(F.getContext()), 1) };
451 BasicBlock::Create(F.getContext(), "setjmp.catch", &F);
456 AllocaInst *StackPtr = new AllocaInst(Type::getInt8PtrTy(F.getContext()), 0,
461 AllocaInst *InvokeNum = new AllocaInst(Type::getInt32Ty(F.getContext()),
[all...]
/freebsd-10.3-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64ELFStreamer.cpp120 MCSymbol *Start = getContext().CreateTempSymbol();
124 getContext().GetOrCreateSymbol(Name + "." +
133 const MCExpr *Value = MCSymbolRefExpr::Create(Start, getContext());
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp204 const ASTRecordLayout &Layout = Types.getContext().getASTRecordLayout(D);
237 uint64_t TypeSizeInBits = Types.getContext().toBits(TypeSizeInBytes);
272 uint64_t NextFieldOffsetInBits = Types.getContext().toBits(NextFieldOffset);
278 = Types.getContext().toCharUnitsFromBits(FirstFieldOffset);
286 Types.getContext().toCharUnitsFromBits(FirstFieldOffset);
293 NextFieldOffsetInBits = Types.getContext().toBits(NextFieldOffset);
298 AppendPadding(Types.getContext().toCharUnitsFromBits(FirstFieldOffset),
308 (*FJ)->getBitWidthValue(Types.getContext()) != 0); FI = FJ++) {
309 NextContiguousFieldOffset += (*FJ)->getBitWidthValue(Types.getContext());
325 uint64_t LastFieldSize = LastFD->getBitWidthValue(Types.getContext());
[all...]
H A DCGDebugInfo.cpp104 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc);
111 SourceManager &SM = CGM.getContext().getSourceManager();
156 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl),
264 SourceManager &SM = CGM.getContext().getSourceManager();
298 SourceManager &SM = CGM.getContext().getSourceManager();
312 SourceManager &SM = CGM.getContext().getSourceManager();
332 SourceManager &SM = CGM.getContext().getSourceManager();
425 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
467 CGM.getContext()
[all...]
H A DCGObjCRuntime.cpp43 RL = &CGM.getContext().getASTObjCImplementationLayout(ID);
45 RL = &CGM.getContext().getASTObjCInterfaceLayout(Container);
69 CGM.getContext().getCharWidth();
76 CGM.getContext().getCharWidth();
120 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth();
122 uint64_t BitFieldSize = Ivar->getBitWidthValue(CGF.getContext());
124 CGF.CGM.getContext().toCharUnitsFromBits(
126 CharUnits Alignment = CGF.CGM.getContext().toCharUnitsFromBits(AlignmentBits);
134 CGBitFieldInfo *Info = new (CGF.CGM.getContext()) CGBitFieldInfo(
136 CGF.CGM.getContext()
[all...]
/freebsd-10.3-release/contrib/llvm/lib/IR/
H A DLeakDetector.cpp38 LLVMContextImpl *pImpl = Object->getContext().pImpl;
48 LLVMContextImpl *pImpl = Object->getContext().pImpl;
H A DMetadata.cpp136 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
294 assert(!N->getContext().pImpl->MDNodeSet.RemoveNode(N) &&
296 assert(!N->getContext().pImpl->NonUniquedMDNodes.erase(N) &&
323 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
359 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
518 return MDNode::get(A->getContext(), EndPoints);
579 setMetadata(getContext().getMDKindID(Kind), Node);
583 return getMetadataImpl(getContext().getMDKindID(Kind));
600 LLVMContextImpl::MDMapTy &Info = getContext().pImpl->MetadataStore[this];
621 getContext()
[all...]
/freebsd-10.3-release/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h54 MCContext &getContext() { return getParser().getContext(); } function in class:llvm::MCAsmParserExtension
/freebsd-10.3-release/contrib/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCAsmInfo.cpp54 MCContext &Ctx = Streamer.getContext();
67 MCContext &Ctx = Streamer.getContext();
/freebsd-10.3-release/contrib/llvm/lib/MC/
H A DMCStreamer.cpp146 EmitValueImpl(MCSymbolRefExpr::Create(Sym, getContext()), Size);
160 const MCExpr *E = MCConstantExpr::Create(FillValue, getContext());
173 return getContext().GetDwarfFile(Directory, Filename, FileNo, CUID) == 0;
181 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa,
256 StringRef Prefix = getContext().getAsmInfo()->getPrivateGlobalPrefix();
260 Frame.Begin = getContext().CreateTempSymbol();
275 Frame.End = getContext().CreateTempSymbol();
281 MCSymbol *Label = getContext().CreateTempSymbol();
433 Frame->Begin = getContext().CreateTempSymbol();
444 CurFrame->End = getContext()
[all...]
H A DMCDwarf.cpp66 if (!MCOS->getContext().getDwarfLocSeen())
70 MCSymbol *LineSym = MCOS->getContext().CreateTempSymbol();
75 const MCDwarfLoc &DwarfLoc = MCOS->getContext().getCurrentDwarfLoc();
81 MCOS->getContext().ClearDwarfLocSeen();
86 MCOS->getContext().getMCLineSections();
94 MCOS->getContext().addMCLineSection(Section, LineSection);
99 MCOS->getContext().getDwarfCompileUnitID());
111 MCSymbolRefExpr::Create(&End, Variant, MCOS.getContext());
113 MCSymbolRefExpr::Create(&Start, Variant, MCOS.getContext());
115 MCBinaryExpr::Create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext());
[all...]
/freebsd-10.3-release/contrib/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);
/freebsd-10.3-release/contrib/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp378 getStreamer().SwitchSection(getContext().getMachOSection(
405 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);
442 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);
517 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);
579 getStreamer().SwitchSection(getContext().getMachOSection(
624 if (getContext().getSecureLogUsed() != false)
628 const char *SecureLogFile = getContext().getSecureLogFile();
634 raw_ostream *OS = getContext().getSecureLog();
643 getContext().setSecureLog(OS);
652 getContext()
[all...]
/freebsd-10.3-release/contrib/llvm/lib/Target/R600/
H A DSITypeRewriter.cpp59 v16i8 = VectorType::get(Type::getInt8Ty(M.getContext()), 16);
60 i128 = Type::getIntNTy(M.getContext(), 128);
88 Value *BitCast = Builder.CreateBitCast(Ptr, Type::getIntNPtrTy(I.getContext(), 128, 2));
118 Type::getInt32Ty(I.getContext())){
/freebsd-10.3-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp37 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
41 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/freebsd-10.3-release/contrib/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp57 return getContext().GetOrCreateSymbol(StringRef("DW.ref.") +
68 MCSymbol *Label = getContext().GetOrCreateSymbol(NameData);
74 const MCSection *Sec = getContext().getELFSection(NameData,
83 const MCExpr *E = MCConstantExpr::Create(Size, getContext());
104 MCSymbol *SSym = getContext().GetOrCreateSymbol(Name.str());
112 getTTypeReference(MCSymbolRefExpr::Create(SSym, getContext()),
211 return getContext().getELFSection(SectionName,
264 return getContext().getELFSection(Name.str(),
291 return getContext().getELFSection(Name, ELF::SHT_PROGBITS,
355 return getContext()
[all...]

Completed in 336 milliseconds

1234567891011>>