Searched defs:Ctx (Results 1 - 25 of 286) sorted by last modified time

1234567891011>>

/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
H A DAMDGPUMCTargetDesc.cpp75 MCContext &Ctx) {
77 return createSIMCCodeEmitter(MCII, STI, Ctx);
79 return createR600MCCodeEmitter(MCII, STI, Ctx);
84 MCContext &Ctx, MCAsmBackend &MAB,
89 return createPureStreamer(Ctx, MAB, _OS, _Emitter);
73 createAMDGPUMCCodeEmitter(const MCInstrInfo &MCII, const MCSubtargetInfo &STI, MCContext &Ctx) argument
83 createMCStreamer(const Target &T, StringRef TT, MCContext &Ctx, MCAsmBackend &MAB, raw_ostream &_OS, MCCodeEmitter *_Emitter, bool RelaxAll, bool NoExecStack) argument
H A DR600MCCodeEmitter.cpp44 MCContext &Ctx; member in class:__anon27321::R600MCCodeEmitter
50 : MCII(mcii), STI(sti), Ctx(ctx) { }
146 MCContext &Ctx) {
147 return new R600MCCodeEmitter(MCII, STI, Ctx);
144 createR600MCCodeEmitter(const MCInstrInfo &MCII, const MCSubtargetInfo &STI, MCContext &Ctx) argument
H A DSIMCCodeEmitter.cpp64 MCContext &Ctx; member in class:__anon27323::SIMCCodeEmitter
69 : MCII(mcii), STI(sti), Ctx(ctx) { }
127 MCContext &Ctx) {
128 return new SIMCCodeEmitter(MCII, STI, Ctx);
125 createSIMCCodeEmitter(const MCInstrInfo &MCII, const MCSubtargetInfo &STI, MCContext &Ctx) argument
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Di830_context.h119 GLuint Ctx[I830_CTX_SETUP_SIZE]; member in struct:i830_hw_state
H A Di915_context.h219 GLuint Ctx[I915_CTX_SETUP_SIZE]; member in struct:i915_hw_state
/external/llvm/unittests/IR/
H A DPatternMatch.cpp34 LLVMContext Ctx; member in struct:__anon26505::PatternMatchTest
41 : M(new Module("PatternMatchTestModule", Ctx)),
43 FunctionType::get(Type::getVoidTy(Ctx), /* IsVarArg */ false),
45 BB(BasicBlock::Create(Ctx, "entry", F)), IRB(BB) {}
H A DValueTest.cpp47 LLVMContext &Ctx = getGlobalContext(); local
48 std::unique_ptr<Module> M(new Module("TestModule", Ctx));
49 Type *Int8Ty = Type::getInt8Ty(Ctx);
50 Type *Int32Ty = Type::getInt32Ty(Ctx);
H A DIRBuilderTest.cpp28 M.reset(new Module("MyModule", Ctx));
29 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Ctx),
32 BB = BasicBlock::Create(Ctx, "", F);
33 GV = new GlobalVariable(*M, Type::getFloatTy(Ctx), true,
42 LLVMContext Ctx; member in class:__anon26498::IRBuilderTest
82 BasicBlock *TBB = BasicBlock::Create(Ctx, "", F);
83 BasicBlock *FBB = BasicBlock::Create(Ctx, "", F);
93 MDNode *Weights = MDBuilder(Ctx).createBranchWeights(42, 13);
111 std::unique_ptr<Module> M(new Module("test", Ctx));
121 EXPECT_EQ(Ty1, IntegerType::get(Ctx,
[all...]
H A DInstructionsTest.cpp57 ModuleWithFunctionTest() : M(new Module("MyModule", Ctx)) {
58 FArgTypes.push_back(Type::getInt8Ty(Ctx));
59 FArgTypes.push_back(Type::getInt32Ty(Ctx));
60 FArgTypes.push_back(Type::getInt64Ty(Ctx));
62 FunctionType::get(Type::getVoidTy(Ctx), FArgTypes, false);
66 LLVMContext Ctx; member in class:llvm::__anon26499::ModuleWithFunctionTest
73 Value *Args[] = {ConstantInt::get(Type::getInt8Ty(Ctx), 20),
74 ConstantInt::get(Type::getInt32Ty(Ctx), 9999),
75 ConstantInt::get(Type::getInt64Ty(Ctx), 42)};
88 BasicBlock *BB1 = BasicBlock::Create(Ctx, "",
[all...]
/external/llvm/unittests/Linker/
H A DLinkModulesTest.cpp25 M.reset(new Module("MyModule", Ctx));
27 Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/);
31 EntryBB = BasicBlock::Create(Ctx, "entry", F);
32 SwitchCase1BB = BasicBlock::Create(Ctx, "switch.case.1", F);
33 SwitchCase2BB = BasicBlock::Create(Ctx, "switch.case.2", F);
34 ExitBB = BasicBlock::Create(Ctx, "exit", F);
36 ArrayType *AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3);
49 ConstantInt *One = ConstantInt::get(Type::getInt32Ty(Ctx), 1);
51 Type::getInt8PtrTy(Ctx));
59 LLVMContext Ctx; member in class:__anon26516::LinkModuleTest
[all...]
/external/llvm/unittests/Support/
H A DYAMLParserTest.cpp25 // Assumes Ctx is an SMDiagnostic where Diag can be stored.
26 static void CollectDiagnosticsOutput(const SMDiagnostic &Diag, void *Ctx) { argument
27 SMDiagnostic* DiagOut = static_cast<SMDiagnostic*>(Ctx);
/external/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp321 SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str,
325 createMCAsmParser(SrcMgr, Ctx, Str, MAI));
405 MCContext Ctx(MAI.get(), MRI.get(), &MOFI, &SrcMgr);
406 MOFI.InitMCObjectFileInfo(TripleName, RelocModel, CMModel, Ctx);
409 Ctx.setAllowTemporaryLabels(false);
411 Ctx.setGenDwarfForAssembly(GenDwarfForAssembly);
419 Ctx.setDwarfVersion(DwarfVersion);
421 Ctx.setDwarfDebugFlags(StringRef(DwarfDebugFlags));
423 Ctx.setDwarfDebugProducer(StringRef(DwarfDebugProducer));
425 Ctx
320 AssembleInput(const char *ProgName, const Target *TheTarget, SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str, MCAsmInfo &MAI, MCSubtargetInfo &STI, MCInstrInfo &MCII, MCTargetOptions &MCOptions) argument
[all...]
/external/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp115 static std::string formatSymbol(const Dumper::Context &Ctx, argument
123 if (Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData) ||
137 static std::error_code resolveRelocation(const Dumper::Context &Ctx, argument
144 Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData))
150 section_iterator SI = Ctx.COFF.section_begin();
154 ResolvedSection = Ctx.COFF.getCOFFSection(*SI);
160 void Dumper::printRuntimeFunctionEntry(const Context &Ctx, argument
165 formatSymbol(Ctx, Sectio
232 printUnwindInfo(const Context &Ctx, const coff_section *Section, off_t Offset, const UnwindInfo &UI) argument
276 printRuntimeFunction(const Context &Ctx, const coff_section *Section, uint64_t SectionOffset, const RuntimeFunction &RF) argument
300 printData(const Context &Ctx) argument
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1898 LLVMContext &Ctx = Loc->getContext(); local
1900 BinaryOperator::CreateAnd(Check, ConstantInt::getTrue(Ctx));
1920 LLVMContext &Ctx = Loc->getContext(); local
1938 Type *PtrArithTy = Type::getInt8PtrTy(Ctx, AS);
1967 Type *PtrArithTy0 = Type::getInt8PtrTy(Ctx, AS0);
1968 Type *PtrArithTy1 = Type::getInt8PtrTy(Ctx, AS1);
1994 ConstantInt::getTrue(Ctx));
/external/llvm/include/llvm/CodeGen/
H A DMachineFunction.h78 MCContext &Ctx; member in class:llvm::MachineFunction
147 MCContext &getContext() const { return Ctx; }
466 MCSymbol *getJTISymbol(unsigned JTI, MCContext &Ctx,
/external/llvm/include/llvm/IR/
H A DConstants.h394 static Constant *getAnon(LLVMContext &Ctx, argument
396 return get(getTypeForElements(Ctx, V, Packed), V);
404 static StructType *getTypeForElements(LLVMContext &Ctx,
/external/llvm/include/llvm/MC/
H A DMCDisassembler.h58 MCDisassembler(const MCSubtargetInfo &STI, MCContext &Ctx) argument
59 : Ctx(Ctx), STI(STI), Symbolizer(), CommentStream(nullptr) {}
86 MCContext &Ctx; member in class:llvm::MCDisassembler
106 MCContext& getContext() const { return Ctx; }
H A DMCExpr.h131 static const MCConstantExpr *Create(int64_t Value, MCContext &Ctx);
293 static const MCSymbolRefExpr *Create(const MCSymbol *Symbol, MCContext &Ctx) { argument
294 return MCSymbolRefExpr::Create(Symbol, VK_None, Ctx);
298 MCContext &Ctx);
300 MCContext &Ctx);
348 MCContext &Ctx);
349 static const MCUnaryExpr *CreateLNot(const MCExpr *Expr, MCContext &Ctx) { argument
350 return Create(LNot, Expr, Ctx);
352 static const MCUnaryExpr *CreateMinus(const MCExpr *Expr, MCContext &Ctx) { argument
353 return Create(Minus, Expr, Ctx);
355 CreateNot(const MCExpr *Expr, MCContext &Ctx) argument
358 CreatePlus(const MCExpr *Expr, MCContext &Ctx) argument
420 CreateAdd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
424 CreateAnd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
428 CreateDiv(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
432 CreateEQ(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
436 CreateGT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
440 CreateGTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
444 CreateLAnd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
448 CreateLOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
452 CreateLT(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
456 CreateLTE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
460 CreateMod(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
464 CreateMul(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
468 CreateNE(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
472 CreateOr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
476 CreateShl(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
480 CreateShr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
484 CreateSub(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
488 CreateXor(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx) argument
[all...]
H A DMCExternalSymbolizer.h41 MCExternalSymbolizer(MCContext &Ctx, argument
45 : MCSymbolizer(Ctx, std::move(RelInfo)), GetOpInfo(getOpInfo),
H A DMCObjectFileInfo.h373 MCContext *Ctx; member in class:llvm::MCObjectFileInfo
H A DMCRelocationInfo.h35 MCContext &Ctx; member in class:llvm::MCRelocationInfo
38 MCRelocationInfo(MCContext &Ctx);
H A DMCSymbolizer.h45 MCContext &Ctx; member in class:llvm::MCSymbolizer
50 MCSymbolizer(MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo) argument
51 : Ctx(Ctx), RelInfo(std::move(RelInfo)) {
H A DMCTargetAsmParser.h187 MCContext &Ctx) {
185 applyModifierToExpr(const MCExpr *E, MCSymbolRefExpr::VariantKind, MCContext &Ctx) argument
/external/llvm/include/llvm/Support/
H A DTargetRegistry.h54 MCStreamer *createNullStreamer(MCContext &Ctx);
55 MCStreamer *createAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS,
60 MCRelocationInfo *createMCRelocationInfo(StringRef TT, MCContext &Ctx);
65 MCContext *Ctx,
115 MCContext &Ctx);
125 MCContext &Ctx);
128 MCContext &Ctx,
135 typedef MCStreamer *(*AsmStreamerCtorTy)(MCContext &Ctx,
143 typedef MCStreamer *(*NullStreamerCtorTy)(MCContext &Ctx);
145 MCContext &Ctx);
427 createMCObjectStreamer(StringRef TT, MCContext &Ctx, MCAsmBackend &TAB, raw_ostream &_OS, MCCodeEmitter *_Emitter, const MCSubtargetInfo &STI, bool RelaxAll, bool NoExecStack) const argument
441 createAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS, bool isVerboseAsm, bool useDwarfDirectory, MCInstPrinter *InstPrint, MCCodeEmitter *CE, MCAsmBackend *TAB, bool ShowInst) const argument
484 createMCSymbolizer(StringRef TT, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp, void *DisInfo, MCContext *Ctx, MCRelocationInfo *RelInfo) const argument
[all...]
/external/llvm/include/llvm/Target/
H A DTargetLoweringObjectFile.h37 MCContext *Ctx; member in class:llvm::TargetLoweringObjectFile
45 MCContext &getContext() const { return *Ctx; }
47 TargetLoweringObjectFile() : MCObjectFileInfo(), Ctx(nullptr), DL(nullptr) {}

Completed in 2646 milliseconds

1234567891011>>