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

1234567891011>>

/freebsd-10.0-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());
/freebsd-10.0-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.0-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp176 MCSymbol *Start = getContext().CreateTempSymbol();
180 getContext().GetOrCreateSymbol(Name + "." +
189 const MCExpr *Value = MCSymbolRefExpr::Create(Start, getContext());
252 EHSection = getContext().getELFSection(
256 EHSection = getContext().getELFSection(EHSecName, Type, Flags, Kind);
282 const MCRegisterInfo &MRI = getContext().getRegisterInfo();
300 const MCSymbol *PersonalitySym = getContext().GetOrCreateSymbol(Name);
305 getContext());
328 FnStart = getContext().CreateTempSymbol();
347 ExTab = getContext()
[all...]
/freebsd-10.0-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.0-release/contrib/llvm/tools/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);
/freebsd-10.0-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.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...]
/freebsd-10.0-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64ELFStreamer.cpp122 MCSymbol *Start = getContext().CreateTempSymbol();
126 getContext().GetOrCreateSymbol(Name + "." +
135 const MCExpr *Value = MCSymbolRefExpr::Create(Start, getContext());
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp208 Alignment = Types.getContext().getASTRecordLayout(D).getAlignment();
211 IsMsStruct = D->isMsStruct(Types.getContext());
242 uint64_t TypeSizeInBits = Types.getContext().toBits(TypeSizeInBytes);
277 uint64_t NextFieldOffsetInBits = Types.getContext().toBits(NextFieldOffset);
283 = Types.getContext().toCharUnitsFromBits(FirstFieldOffset);
291 Types.getContext().toCharUnitsFromBits(FirstFieldOffset);
298 NextFieldOffsetInBits = Types.getContext().toBits(NextFieldOffset);
303 AppendPadding(Types.getContext().toCharUnitsFromBits(FirstFieldOffset),
313 (*FJ)->getBitWidthValue(Types.getContext()) != 0); FI = FJ++) {
314 NextContiguousFieldOffset += (*FJ)->getBitWidthValue(Types.getContext());
[all...]
H A DCGDebugInfo.cpp57 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc);
64 SourceManager &SM = CGM.getContext().getSourceManager();
109 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl),
222 SourceManager &SM = CGM.getContext().getSourceManager();
256 SourceManager &SM = CGM.getContext().getSourceManager();
270 SourceManager &SM = CGM.getContext().getSourceManager();
292 SourceManager &SM = CGM.getContext().getSourceManager();
388 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
430 CGM.getContext()
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h54 MCContext &getContext() { return getParser().getContext(); } function in class:llvm::MCAsmParserExtension
/freebsd-10.0-release/contrib/llvm/lib/IR/
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) &&
321 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
357 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
516 return MDNode::get(A->getContext(), EndPoints);
577 setMetadata(getContext().getMDKindID(Kind), Node);
581 return getMetadataImpl(getContext().getMDKindID(Kind));
598 LLVMContextImpl::MDMapTy &Info = getContext().pImpl->MetadataStore[this];
619 getContext()
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp36 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
40 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/freebsd-10.0-release/contrib/llvm/lib/Target/MBlaze/
H A DMBlazeIntrinsicInfo.cpp107 AttributeSet AList = getAttributes(M->getContext(),
110 getType(M->getContext(), IntrID),
H A DMBlazeTargetObjectFile.cpp27 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
32 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/freebsd-10.0-release/contrib/llvm/lib/MC/
H A DMCStreamer.cpp136 EmitValueImpl(MCSymbolRefExpr::Create(Sym, getContext()), Size,
152 const MCExpr *E = MCConstantExpr::Create(FillValue, getContext());
160 return getContext().GetDwarfFile(Directory, Filename, FileNo, CUID) == 0;
168 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa,
232 StringRef Prefix = getContext().getAsmInfo().getPrivateGlobalPrefix();
236 Frame.Begin = getContext().CreateTempSymbol();
251 Frame.End = getContext().CreateTempSymbol();
257 MCSymbol *Label = getContext().CreateTempSymbol();
401 Frame->Begin = getContext().CreateTempSymbol();
412 CurFrame->End = getContext()
[all...]
H A DMCDwarf.cpp72 if (!MCOS->getContext().getDwarfLocSeen())
76 MCSymbol *LineSym = MCOS->getContext().CreateTempSymbol();
81 const MCDwarfLoc &DwarfLoc = MCOS->getContext().getCurrentDwarfLoc();
87 MCOS->getContext().ClearDwarfLocSeen();
92 MCOS->getContext().getMCLineSections();
100 MCOS->getContext().addMCLineSection(Section, LineSection);
105 MCOS->getContext().getDwarfCompileUnitID());
117 MCSymbolRefExpr::Create(&End, Variant, MCOS.getContext());
119 MCSymbolRefExpr::Create(&Start, Variant, MCOS.getContext());
121 MCBinaryExpr::Create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext());
[all...]
/freebsd-10.0-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.0-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DProfilingUtils.cpp27 LLVMContext &Context = MainFn->getContext();
115 LLVMContext &Context = BB->getContext();
136 Type::getInt32Ty(Mod->getContext()),
137 FunctionType::get(Type::getVoidTy(Mod->getContext()), false)->getPointerTo()
140 StructType::get(Mod->getContext(), GlobalDtorElems, false);
144 ConstantInt::get(Type::getInt32Ty(Mod->getContext()), 65535),
/freebsd-10.0-release/contrib/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp370 getStreamer().SwitchSection(getContext().getMachOSection(
397 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);
476 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);
538 getStreamer().SwitchSection(getContext().getMachOSection(
583 if (getContext().getSecureLogUsed() != false)
587 const char *SecureLogFile = getContext().getSecureLogFile();
593 raw_ostream *OS = getContext().getSecureLog();
602 getContext().setSecureLog(OS);
611 getContext().setSecureLogUsed(true);
624 getContext()
[all...]
/freebsd-10.0-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...]
H A DShadowStackGC.cpp99 : F(F), CleanupBBName(N), State(0), Builder(F.getContext()) {}
143 LLVMContext &C = F.getContext();
204 Type *VoidPtr = Type::getInt8PtrTy(F.getContext());
217 Type *Int32Ty = Type::getInt32Ty(F.getContext());
252 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0),
253 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)
278 EltTys.push_back(Type::getInt32Ty(M.getContext()));
280 EltTys.push_back(Type::getInt32Ty(M.getContext()));
290 StackEntryTy = StructType::create(M.getContext(), "gc_stackentry");
375 LLVMContext &Context = F.getContext();
[all...]

Completed in 216 milliseconds

1234567891011>>