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

1234567891011>>

/macosx-10.10/llvmCore-3425.0.34/unittests/Bitcode/
H A DBitReaderTest.cpp29 FunctionType::get(Type::getVoidTy(Mod->getContext()), false);
33 BasicBlock* Entry = BasicBlock::Create(Mod->getContext(), "entry", Func);
34 new UnreachableInst(Mod->getContext(), Entry);
36 BasicBlock* BB = BasicBlock::Create(Mod->getContext(), "bb", Func);
37 new UnreachableInst(Mod->getContext(), BB);
39 PointerType* Int8Ptr = Type::getInt8PtrTy(Mod->getContext());
/macosx-10.10/llvmCore-3425.0.34/lib/Target/X86/
H A DX86TargetObjectFile.cpp34 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext());
35 const MCExpr *Four = MCConstantExpr::Create(4, getContext());
36 return MCBinaryExpr::CreateAdd(Res, Four, getContext());
/macosx-10.10/llvmCore-3425.0.34/lib/Target/ARM/
H A DARMTargetObjectFile.cpp36 getContext().getELFSection(".ARM.attributes",
H A DThumb2RegisterInfo.cpp45 Type::getInt32Ty(MBB.getParent()->getFunction()->getContext()), Val);
/macosx-10.10/llvmCore-3425.0.34/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...]
/macosx-10.10/llvmCore-3425.0.34/examples/BrainF/
H A DBrainFDriver.cpp60 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()),
61 IntegerType::getInt32Ty(mod->getContext()),
63 IntegerType::getInt8Ty(mod->getContext()))), NULL));
73 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func);
83 ReturnInst::Create(mod->getContext(),
84 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb);
/macosx-10.10/WebCore-7600.1.25/html/
H A DHTMLCanvasElement.idl38 [Custom] any getContext([Default=Undefined] optional DOMString contextId);
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/Utils/
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...]
/macosx-10.10/llvmCore-3425.0.34/lib/MC/
H A DMCStreamer.cpp125 EmitValueImpl(MCSymbolRefExpr::Create(Sym, getContext()), Size,
141 const MCExpr *E = MCConstantExpr::Create(FillValue, getContext());
149 return getContext().GetDwarfFile(Directory, Filename, FileNo) == 0;
157 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa,
214 StringRef Prefix = getContext().getAsmInfo().getPrivateGlobalPrefix();
218 Frame.Begin = getContext().CreateTempSymbol();
233 Frame.End = getContext().CreateTempSymbol();
240 MCSymbol *Label = getContext().CreateTempSymbol();
251 MCSymbol *Label = getContext().CreateTempSymbol();
262 MCSymbol *Label = 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);
116 MCSymbolRefExpr::Create(&End, Variant, MCOS.getContext());
118 MCSymbolRefExpr::Create(&Start, Variant, MCOS.getContext());
120 MCBinaryExpr::Create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext());
122 MCConstantExpr::Create(IntVal, MCOS.getContext());
[all...]
H A DMCAsmInfo.cpp132 return MCSymbolRefExpr::Create(Sym, Streamer.getContext());
134 MCContext &Context = Streamer.getContext();
H A DMCObjectStreamer.cpp213 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel);
225 const MCExpr *AddrDelta = BuildSymbolDiff(getContext(), Label, LastLabel);
243 MCSymbol *CurrentPos = getContext().CreateTempSymbol();
247 MCSymbolRefExpr::Create(CurrentPos, Variant, getContext());
249 MCBinaryExpr::Create(MCBinaryExpr::Sub, Offset, Ref, getContext());
284 if (getContext().hasDwarfFiles())
288 if (getContext().getGenDwarfForAssembly())
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp58 return getContext().GetOrCreateSymbol(StringRef("DW.ref.") +
69 MCSymbol *Label = getContext().GetOrCreateSymbol(NameData);
75 const MCSection *Sec = getContext().getELFSection(NameData,
84 const MCExpr *E = MCConstantExpr::Create(Size, getContext());
182 return getContext().getELFSection(SectionName,
235 return getContext().getELFSection(Name.str(),
262 return getContext().getELFSection(Name, ELF::SHT_PROGBITS,
331 MCSymbol *SSym = getContext().GetOrCreateSymbol(Name.str());
355 return getContext().getELFSection(Name, ELF::SHT_INIT_ARRAY,
360 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...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h54 MCContext &getContext() { return getParser().getContext(); } function in class:llvm::MCAsmParserExtension
/macosx-10.10/llvmCore-3425.0.34/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp36 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
40 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/macosx-10.10/llvmCore-3425.0.34/lib/Target/MBlaze/
H A DMBlazeTargetObjectFile.cpp27 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
32 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/macosx-10.10/llvmCore-3425.0.34/lib/VMCore/
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) &&
320 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
356 LLVMContextImpl *pImpl = getType()->getContext().pImpl;
551 return MDNode::get(A->getContext(), EndPoints);
612 setMetadata(getContext().getMDKindID(Kind), Node);
616 return getMetadataImpl(getContext().getMDKindID(Kind));
633 LLVMContextImpl::MDMapTy &Info = getContext().pImpl->MetadataStore[this];
654 getContext()
[all...]
H A DConstantFold.cpp59 Type *Ty = IntegerType::get(CV->getContext(), 32);
92 Type::getInt64Ty(DstTy->getContext()));
108 Constant::getNullValue(Type::getInt32Ty(DPTy->getContext()));
166 return ConstantFP::get(DestTy->getContext(),
176 return ConstantInt::get(FP->getContext(),
208 return ConstantInt::get(CI->getContext(), V);
259 return Constant::getNullValue(IntegerType::get(CE->getContext(),
281 return Constant::getNullValue(IntegerType::get(CE->getContext(),
297 return Constant::getNullValue(IntegerType::get(CE->getContext(),
317 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(),
[all...]
/macosx-10.10/llvmCore-3425.0.34/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);
/macosx-10.10/llvmCore-3425.0.34/lib/Target/Mips/
H A DMipsTargetObjectFile.cpp32 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS,
37 getContext().getELFSection(".sbss", ELF::SHT_NOBITS,
/macosx-10.10/llvmCore-3425.0.34/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),
/macosx-10.10/llvmCore-3425.0.34/lib/MC/MCParser/
H A DDarwinAsmParser.cpp318 getStreamer().SwitchSection(getContext().getMachOSection(
345 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);
397 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name);
459 getStreamer().SwitchSection(getContext().getMachOSection(
504 if (getContext().getSecureLogUsed() != false)
508 const char *SecureLogFile = getContext().getSecureLogFile();
514 raw_ostream *OS = getContext().getSecureLog();
523 getContext().setSecureLog(OS);
532 getContext().setSecureLogUsed(true);
545 getContext()
[all...]

Completed in 143 milliseconds

1234567891011>>