Home
last modified time | relevance | path

Searched refs:Ctx (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DNSAPI.cpp18 : Ctx(ctx), ClassIds(), BOOLId(nullptr), NSIntegerId(nullptr), in NSAPI()
34 return (ClassIds[K] = &Ctx.Idents.get(ClassName[K])); in getNSClassId()
44 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString")); in getNSStringSelector()
47 Sel = Ctx.Selectors.getUnarySelector( in getNSStringSelector()
48 &Ctx.Idents.get("stringWithUTF8String")); in getNSStringSelector()
51 Sel = Ctx.Selectors.getUnarySelector( in getNSStringSelector()
52 &Ctx.Idents.get("initWithUTF8String")); in getNSStringSelector()
56 &Ctx.Idents.get("stringWithCString"), in getNSStringSelector()
57 &Ctx.Idents.get("encoding") in getNSStringSelector()
59 Sel = Ctx.Selectors.getSelector(2, KeyIdents); in getNSStringSelector()
[all …]
H A DExprClassification.cpp26 static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E);
27 static Cl::Kinds ClassifyDecl(ASTContext &Ctx, const Decl *D);
28 static Cl::Kinds ClassifyUnnamed(ASTContext &Ctx, QualType T);
29 static Cl::Kinds ClassifyMemberExpr(ASTContext &Ctx, const MemberExpr *E);
30 static Cl::Kinds ClassifyBinaryOp(ASTContext &Ctx, const BinaryOperator *E);
31 static Cl::Kinds ClassifyConditional(ASTContext &Ctx,
34 static Cl::ModifiableType IsModifiable(ASTContext &Ctx, const Expr *E,
37 Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const { in ClassifyImpl() argument
40 Cl::Kinds kind = ClassifyInternal(Ctx, this); in ClassifyImpl()
43 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyImpl()
[all …]
H A DRecordLayout.cpp20 void ASTRecordLayout::Destroy(ASTContext &Ctx) { in Destroy() argument
22 Ctx.Deallocate(FieldOffsets); in Destroy()
25 Ctx.Deallocate(CXXInfo); in Destroy()
28 Ctx.Deallocate(this); in Destroy()
31 ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, CharUnits size, in ASTRecordLayout() argument
41 FieldOffsets = new (Ctx) uint64_t[FieldCount]; in ASTRecordLayout()
47 ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, in ASTRecordLayout() argument
67 FieldCount(fieldcount), CXXInfo(new (Ctx) CXXRecordLayoutInfo) in ASTRecordLayout()
70 FieldOffsets = new (Ctx) uint64_t[FieldCount]; in ASTRecordLayout()
92 if (Ctx.getTargetInfo().getCXXABI().hasPrimaryVBases()) { in ASTRecordLayout()
/minix3/external/bsd/llvm/dist/llvm/lib/MC/
H A DMCObjectFileInfo.cpp60 = Ctx->getMachOSection("__TEXT", "__text", in InitMachOMCObjectFileInfo()
64 = Ctx->getMachOSection("__DATA", "__data", 0, in InitMachOMCObjectFileInfo()
71 = Ctx->getMachOSection("__DATA", "__thread_data", in InitMachOMCObjectFileInfo()
75 = Ctx->getMachOSection("__DATA", "__thread_bss", in InitMachOMCObjectFileInfo()
81 = Ctx->getMachOSection("__DATA", "__thread_vars", in InitMachOMCObjectFileInfo()
86 = Ctx->getMachOSection("__DATA", "__thread_init", in InitMachOMCObjectFileInfo()
91 = Ctx->getMachOSection("__TEXT", "__cstring", in InitMachOMCObjectFileInfo()
95 = Ctx->getMachOSection("__TEXT","__ustring", 0, in InitMachOMCObjectFileInfo()
98 = Ctx->getMachOSection("__TEXT", "__literal4", in InitMachOMCObjectFileInfo()
102 = Ctx->getMachOSection("__TEXT", "__literal8", in InitMachOMCObjectFileInfo()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachORelocationInfo.cpp25 X86_64MachORelocationInfo(MCContext &Ctx) : MCRelocationInfo(Ctx) {} in X86_64MachORelocationInfo() argument
39 MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName); in createExprForRelocation()
42 Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx)); in createExprForRelocation()
47 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_TLVP, Ctx); in createExprForRelocation()
50 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), in createExprForRelocation()
51 MCConstantExpr::Create(4, Ctx), in createExprForRelocation()
52 Ctx); in createExprForRelocation()
55 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), in createExprForRelocation()
56 MCConstantExpr::Create(2, Ctx), in createExprForRelocation()
57 Ctx); in createExprForRelocation()
[all …]
H A DX86ELFRelocationInfo.cpp26 X86_64ELFRelocationInfo(MCContext &Ctx) : MCRelocationInfo(Ctx) {} in X86_64ELFRelocationInfo() argument
37 MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName); in createExprForRelocation()
40 Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx)); in createExprForRelocation()
79 Expr = MCSymbolRefExpr::Create(Sym, Ctx); in createExprForRelocation()
88 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOT, Ctx); in createExprForRelocation()
93 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_PLT, Ctx); in createExprForRelocation()
98 Expr = MCSymbolRefExpr::Create(Sym, Ctx); in createExprForRelocation()
104 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx); in createExprForRelocation()
108 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTOFF, Ctx); in createExprForRelocation()
116 Expr = MCConstantExpr::Create(SymSize, Ctx); in createExprForRelocation()
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/MC/
H A DMCExpr.h143 static const MCConstantExpr *Create(int64_t Value, MCContext &Ctx);
306 static const MCSymbolRefExpr *Create(const MCSymbol *Symbol, MCContext &Ctx) { in Create() argument
307 return MCSymbolRefExpr::Create(Symbol, VK_None, Ctx); in Create()
311 MCContext &Ctx);
313 MCContext &Ctx);
364 MCContext &Ctx);
365 static const MCUnaryExpr *CreateLNot(const MCExpr *Expr, MCContext &Ctx) { in CreateLNot() argument
366 return Create(LNot, Expr, Ctx); in CreateLNot()
368 static const MCUnaryExpr *CreateMinus(const MCExpr *Expr, MCContext &Ctx) { in CreateMinus() argument
369 return Create(Minus, Expr, Ctx); in CreateMinus()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp113 CallingContext Ctx(nullptr, D); in translateAttrExpr() local
118 Ctx.SelfArg = ME->getBase(); in translateAttrExpr()
119 Ctx.SelfArrow = ME->isArrow(); in translateAttrExpr()
122 Ctx.SelfArg = CE->getImplicitObjectArgument(); in translateAttrExpr()
123 Ctx.SelfArrow = isCalleeArrow(CE->getCallee()); in translateAttrExpr()
124 Ctx.NumArgs = CE->getNumArgs(); in translateAttrExpr()
125 Ctx.FunArgs = CE->getArgs(); in translateAttrExpr()
127 Ctx.NumArgs = CE->getNumArgs(); in translateAttrExpr()
128 Ctx.FunArgs = CE->getArgs(); in translateAttrExpr()
131 Ctx.SelfArg = nullptr; // Will be set below in translateAttrExpr()
[all …]
H A DPrintfFormatString.cpp300 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx, in getArgType() argument
310 return Ctx.IntTy; in getArgType()
315 if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) in getArgType()
316 return Ctx.IntTy; in getArgType()
325 return Ctx.LongLongTy; in getArgType()
327 return Ctx.IntTy; in getArgType()
329 return ArgType(Ctx.IntTy, "__int32"); in getArgType()
331 case LengthModifier::AsShort: return Ctx.ShortTy; in getArgType()
332 case LengthModifier::AsLong: return Ctx.LongTy; in getArgType()
335 return Ctx.LongLongTy; in getArgType()
[all …]
H A DScanfFormatString.cpp221 ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const { in getArgType()
234 return ArgType::PtrTo(Ctx.IntTy); in getArgType()
238 return ArgType::PtrTo(Ctx.ShortTy); in getArgType()
240 return ArgType::PtrTo(Ctx.LongTy); in getArgType()
243 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType()
245 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType()
247 return ArgType::PtrTo(ArgType(Ctx.getIntMaxType(), "intmax_t")); in getArgType()
252 return ArgType::PtrTo(ArgType(Ctx.getPointerDiffType(), "ptrdiff_t")); in getArgType()
255 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType()
273 return ArgType::PtrTo(Ctx.UnsignedIntTy); in getArgType()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DSelectorExtras.h19 static inline Selector getKeywordSelectorImpl(ASTContext &Ctx, in getKeywordSelectorImpl() argument
23 II.push_back(&Ctx.Idents.get(First)); in getKeywordSelectorImpl()
26 II.push_back(&Ctx.Idents.get(s)); in getKeywordSelectorImpl()
28 return Ctx.Selectors.getSelector(II.size(), &II[0]); in getKeywordSelectorImpl()
31 static inline Selector getKeywordSelector(ASTContext &Ctx, va_list argp) { in getKeywordSelector() argument
34 return getKeywordSelectorImpl(Ctx, First, argp); in getKeywordSelector()
38 static inline Selector getKeywordSelector(ASTContext &Ctx, in getKeywordSelector() argument
42 Selector result = getKeywordSelectorImpl(Ctx, First, argp); in getKeywordSelector()
48 static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx, in lazyInitKeywordSelector() argument
54 Sel = getKeywordSelectorImpl(Ctx, First, argp); in lazyInitKeywordSelector()
[all …]
H A DObjCMissingSuperCallChecker.cpp77 void initializeSelectors(ASTContext &Ctx) const;
78 void fillSelectors(ASTContext &Ctx, ArrayRef<SelectorDescriptor> Sel,
103 void ObjCSuperCallChecker::fillSelectors(ASTContext &Ctx, in fillSelectors() argument
114 IdentifierInfo *II = &Ctx.Idents.get(Descriptor.SelectorName); in fillSelectors()
116 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); in fillSelectors()
121 void ObjCSuperCallChecker::initializeSelectors(ASTContext &Ctx) const { in initializeSelectors()
139 fillSelectors(Ctx, Selectors, "UIViewController"); in initializeSelectors()
146 fillSelectors(Ctx, Selectors, "UIResponder"); in initializeSelectors()
154 fillSelectors(Ctx, Selectors, "NSResponder"); in initializeSelectors()
162 fillSelectors(Ctx, Selectors, "NSDocument"); in initializeSelectors()
[all …]
H A DCheckObjCDealloc.cpp35 ASTContext &Ctx) { in scan_ivar_release() argument
54 ME->getArg(0)->isNullPointerConstant(Ctx, in scan_ivar_release()
64 if (BO->getRHS()->isNullPointerConstant(Ctx, in scan_ivar_release()
73 if (*I && scan_ivar_release(*I, ID, PD, Release, SelfII, Ctx)) in scan_ivar_release()
85 ASTContext &Ctx = BR.getContext(); in checkObjCDealloc() local
111 IdentifierInfo* NSObjectII = &Ctx.Idents.get("NSObject"); in checkObjCDealloc()
112 IdentifierInfo* SenTestCaseII = &Ctx.Idents.get("SenTestCase"); in checkObjCDealloc()
133 IdentifierInfo* II = &Ctx.Idents.get("dealloc"); in checkObjCDealloc()
134 Selector S = Ctx.Selectors.getSelector(0, &II); in checkObjCDealloc()
164 IdentifierInfo* RII = &Ctx.Idents.get("release"); in checkObjCDealloc()
[all …]
/minix3/external/bsd/llvm/dist/llvm/unittests/Linker/
H A DLinkModulesTest.cpp27 M.reset(new Module("MyModule", Ctx)); in SetUp()
29 Type::getInt8PtrTy(Ctx), Type::getInt32Ty(Ctx), false /*=isVarArg*/); in SetUp()
33 EntryBB = BasicBlock::Create(Ctx, "entry", F); in SetUp()
34 SwitchCase1BB = BasicBlock::Create(Ctx, "switch.case.1", F); in SetUp()
35 SwitchCase2BB = BasicBlock::Create(Ctx, "switch.case.2", F); in SetUp()
36 ExitBB = BasicBlock::Create(Ctx, "exit", F); in SetUp()
38 ArrayType *AT = ArrayType::get(Type::getInt8PtrTy(Ctx), 3); in SetUp()
51 ConstantInt *One = ConstantInt::get(Type::getInt32Ty(Ctx), 1); in SetUp()
53 Type::getInt8PtrTy(Ctx)); in SetUp()
61 LLVMContext Ctx; member in __anona2919eba0111::LinkModuleTest
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/
H A DX86AsmInstrumentation.cpp194 MCContext &Ctx, in InstrumentAndEmitInstruction() argument
197 InstrumentMOVS(Inst, Operands, Ctx, MII, Out); in InstrumentAndEmitInstruction()
201 InstrumentMOV(Inst, Operands, Ctx, MII, Out); in InstrumentAndEmitInstruction()
210 MCContext &Ctx,
215 MCContext &Ctx,
221 MCContext &Ctx, MCStreamer &Out) = 0;
225 MCContext &Ctx, MCStreamer &Out) = 0;
227 virtual void InstrumentMOVSImpl(unsigned AccessSize, MCContext &Ctx,
231 const RegisterContext &RegCtx, MCContext &Ctx,
234 unsigned AccessSize, MCContext &Ctx, MCStreamer &Out);
[all …]
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp115 static std::string formatSymbol(const Dumper::Context &Ctx, in formatSymbol() argument
123 if (Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData) || in formatSymbol()
137 static std::error_code resolveRelocation(const Dumper::Context &Ctx, in resolveRelocation() argument
144 Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) in resolveRelocation()
150 section_iterator SI = Ctx.COFF.section_begin(); in resolveRelocation()
154 ResolvedSection = Ctx.COFF.getCOFFSection(*SI); in resolveRelocation()
160 void Dumper::printRuntimeFunctionEntry(const Context &Ctx, in printRuntimeFunctionEntry() argument
165 formatSymbol(Ctx, Section, Offset + 0, RF.StartAddress)); in printRuntimeFunctionEntry()
167 formatSymbol(Ctx, Section, Offset + 4, RF.EndAddress)); in printRuntimeFunctionEntry()
169 formatSymbol(Ctx, Section, Offset + 8, RF.UnwindInfoOffset)); in printRuntimeFunctionEntry()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp34 ASTContext &Ctx) { in isEmptyARCMTMacroStatement() argument
45 SourceManager &SM = Ctx.getSourceManager(); in isEmptyARCMTMacroStatement()
70 SourceLocation AfterMacroSemiLoc = findSemiAfterLocation(AfterMacroLoc, Ctx); in isEmptyARCMTMacroStatement()
79 ASTContext &Ctx; member in __anon2018ce810111::EmptyChecker
84 : Ctx(ctx), MacroLocs(macroLocs) { } in EmptyChecker()
87 return isEmptyARCMTMacroStatement(S, MacroLocs, Ctx); in VisitNullStmt()
103 if (hasSideEffects(condE, Ctx)) in VisitIfStmt()
117 if (hasSideEffects(condE, Ctx)) in VisitWhileStmt()
127 if (hasSideEffects(condE, Ctx)) in VisitDoStmt()
137 if (hasSideEffects(Exp, Ctx)) in VisitObjCForCollectionStmt()
[all …]
H A DObjCMT.cpp51 void migrateObjCInterfaceDecl(ASTContext &Ctx, ObjCContainerDecl *D);
52 void migrateProtocolConformance(ASTContext &Ctx,
55 bool migrateNSEnumDecl(ASTContext &Ctx, const EnumDecl *EnumDcl,
57 void migrateAllMethodInstaceType(ASTContext &Ctx, ObjCContainerDecl *CDecl);
58 void migrateMethodInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl,
60 bool migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *OM);
61 void migrateNsReturnsInnerPointer(ASTContext &Ctx, ObjCMethodDecl *OM);
62 void migratePropertyNsReturnsInnerPointer(ASTContext &Ctx, ObjCPropertyDecl *P);
63 void migrateFactoryMethod(ASTContext &Ctx, ObjCContainerDecl *CDecl,
67 void migrateCFAnnotation(ASTContext &Ctx, const Decl *Decl);
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/
H A DMCExternalSymbolizer.cpp90 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name); in tryAddingSymbolicOperand()
91 Add = MCSymbolRefExpr::Create(Sym, Ctx); in tryAddingSymbolicOperand()
93 Add = MCConstantExpr::Create((int)SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
101 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name); in tryAddingSymbolicOperand()
102 Sub = MCSymbolRefExpr::Create(Sym, Ctx); in tryAddingSymbolicOperand()
104 Sub = MCConstantExpr::Create((int)SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand()
110 Off = MCConstantExpr::Create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand()
116 LHS = MCBinaryExpr::CreateSub(Add, Sub, Ctx); in tryAddingSymbolicOperand()
118 LHS = MCUnaryExpr::CreateMinus(Sub, Ctx); in tryAddingSymbolicOperand()
120 Expr = MCBinaryExpr::CreateAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand()
[all …]
H A DMCRelocationInfo.cpp17 MCRelocationInfo::MCRelocationInfo(MCContext &Ctx) in MCRelocationInfo() argument
18 : Ctx(Ctx) { in MCRelocationInfo()
37 MCRelocationInfo *llvm::createMCRelocationInfo(StringRef TT, MCContext &Ctx) { in createMCRelocationInfo() argument
38 return new MCRelocationInfo(Ctx); in createMCRelocationInfo()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGLoopInfo.cpp20 static MDNode *createMetadata(LLVMContext &Ctx, const LoopAttributes &Attrs) { in createMetadata() argument
29 MDNode *TempNode = MDNode::getTemporary(Ctx, None); in createMetadata()
34 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.width"), in createMetadata()
36 Type::getInt32Ty(Ctx), Attrs.VectorizerWidth))}; in createMetadata()
37 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata()
42 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.interleave.count"), in createMetadata()
44 Type::getInt32Ty(Ctx), Attrs.VectorizerUnroll))}; in createMetadata()
45 Args.push_back(MDNode::get(Ctx, Vals)); in createMetadata()
51 MDString::get(Ctx, "llvm.loop.vectorize.enable"), in createMetadata()
53 Type::getInt1Ty(Ctx), in createMetadata()
[all …]
H A DCGOpenCLRuntime.cpp36 llvm::LLVMContext& Ctx = CGM.getLLVMContext(); in convertOpenCLSpecificType() local
45 Ctx, "opencl.image1d_t"), ImgAddrSpc); in convertOpenCLSpecificType()
48 Ctx, "opencl.image1d_array_t"), ImgAddrSpc); in convertOpenCLSpecificType()
51 Ctx, "opencl.image1d_buffer_t"), ImgAddrSpc); in convertOpenCLSpecificType()
54 Ctx, "opencl.image2d_t"), ImgAddrSpc); in convertOpenCLSpecificType()
57 Ctx, "opencl.image2d_array_t"), ImgAddrSpc); in convertOpenCLSpecificType()
60 Ctx, "opencl.image3d_t"), ImgAddrSpc); in convertOpenCLSpecificType()
62 return llvm::IntegerType::get(Ctx, 32); in convertOpenCLSpecificType()
65 Ctx, "opencl.event_t"), 0); in convertOpenCLSpecificType()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachORelocationInfo.cpp23 ARMMachORelocationInfo(MCContext &Ctx) : MCRelocationInfo(Ctx) {} in ARMMachORelocationInfo() argument
29 return ARMMCExpr::CreateUpper16(SubExpr, Ctx); in createExprForCAPIVariantKind()
31 return ARMMCExpr::CreateLower16(SubExpr, Ctx); in createExprForCAPIVariantKind()
41 MCRelocationInfo *llvm::createARMMachORelocationInfo(MCContext &Ctx) { in createARMMachORelocationInfo() argument
42 return new ARMMachORelocationInfo(Ctx); in createARMMachORelocationInfo()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64ExternalSymbolizer.cpp95 const MCRegisterInfo &MCRI = *Ctx.getRegisterInfo(); in tryAddingSymbolicOperand()
121 const MCRegisterInfo &MCRI = *Ctx.getRegisterInfo(); in tryAddingSymbolicOperand()
168 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name); in tryAddingSymbolicOperand()
171 Add = MCSymbolRefExpr::Create(Sym, Variant, Ctx); in tryAddingSymbolicOperand()
173 Add = MCSymbolRefExpr::Create(Sym, Ctx); in tryAddingSymbolicOperand()
175 Add = MCConstantExpr::Create(SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
183 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name); in tryAddingSymbolicOperand()
184 Sub = MCSymbolRefExpr::Create(Sym, Ctx); in tryAddingSymbolicOperand()
186 Sub = MCConstantExpr::Create(SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand()
192 Off = MCConstantExpr::Create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreTargetObjectFile.cpp21 void XCoreTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){ in Initialize() argument
22 TargetLoweringObjectFileELF::Initialize(Ctx, TM); in Initialize()
25 Ctx.getELFSection(".dp.bss", ELF::SHT_NOBITS, in Initialize()
30 Ctx.getELFSection(".dp.bss.large", ELF::SHT_NOBITS, in Initialize()
35 Ctx.getELFSection(".dp.data", ELF::SHT_PROGBITS, in Initialize()
40 Ctx.getELFSection(".dp.data.large", ELF::SHT_PROGBITS, in Initialize()
45 Ctx.getELFSection(".dp.rodata", ELF::SHT_PROGBITS, in Initialize()
50 Ctx.getELFSection(".dp.rodata.large", ELF::SHT_PROGBITS, in Initialize()
55 Ctx.getELFSection(".cp.rodata", ELF::SHT_PROGBITS, in Initialize()
60 Ctx.getELFSection(".cp.rodata.large", ELF::SHT_PROGBITS, in Initialize()
[all …]

12345678910>>...16