Home
last modified time | relevance | path

Searched refs:CodeGen (Results 1 – 25 of 202) sorted by relevance

123456789

/external/clang/lib/CodeGen/
DCGObjCRuntime.h35 namespace CodeGen {
55 namespace CodeGen {
65 CodeGen::CodeGenModule &CGM;
66 CGObjCRuntime(CodeGen::CodeGenModule &CGM) : CGM(CGM) {} in CGObjCRuntime()
78 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
81 uint64_t ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM,
85 LValue EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF,
152 virtual CodeGen::RValue
153 GenerateMessageSend(CodeGen::CodeGenFunction &CGF,
168 virtual CodeGen::RValue
[all …]
DTargetInfo.h34 namespace CodeGen {
58 CodeGen::CodeGenModule &M) const {} in SetTargetAttributes()
63 CodeGen::CodeGenModule &M) const {} in emitTargetMD()
88 virtual int getDwarfEHStackPointer(CodeGen::CodeGenModule &M) const { in getDwarfEHStackPointer()
96 virtual bool initDwarfEHRegSizeTable(CodeGen::CodeGenFunction &CGF, in initDwarfEHRegSizeTable()
106 virtual llvm::Value *decodeReturnAddress(CodeGen::CodeGenFunction &CGF, in decodeReturnAddress()
116 virtual llvm::Value *encodeReturnAddress(CodeGen::CodeGenFunction &CGF, in encodeReturnAddress()
126 virtual llvm::Type *adjustInlineAsmType(CodeGen::CodeGenFunction &CGF, in adjustInlineAsmType()
153 getUBSanFunctionSignature(CodeGen::CodeGenModule &CGM) const { in getUBSanFunctionSignature()
199 virtual bool isNoProtoCallVariadic(const CodeGen::CallArgList &args,
DABIInfo.h27 namespace CodeGen {
44 CodeGen::CodeGenTypes &CGT;
48 ABIInfo(CodeGen::CodeGenTypes &cgt) in ABIInfo()
53 CodeGen::CGCXXABI &getCXXABI() const;
65 virtual void computeInfo(CodeGen::CGFunctionInfo &FI) const = 0;
75 CodeGen::CodeGenFunction &CGF) const = 0;
DCodeGenTBAA.h35 namespace CodeGen {
129 template<> struct DenseMapInfo<clang::CodeGen::TBAAPathTag> {
130 static clang::CodeGen::TBAAPathTag getEmptyKey() {
131 return clang::CodeGen::TBAAPathTag(
137 static clang::CodeGen::TBAAPathTag getTombstoneKey() {
138 return clang::CodeGen::TBAAPathTag(
144 static unsigned getHashValue(const clang::CodeGen::TBAAPathTag &Val) {
150 static bool isEqual(const clang::CodeGen::TBAAPathTag &LHS,
151 const clang::CodeGen::TBAAPathTag &RHS) {
DCGObjCMac.cpp42 using namespace CodeGen;
172 CodeGen::CodeGenModule &CGM;
198 CodeGen::CodeGenTypes &Types = CGM.getTypes(); in getExternalProtocolPtrTy()
236 CodeGen::CodeGenTypes &Types = CGM.getTypes(); in getGetPropertyFn()
254 CodeGen::CodeGenTypes &Types = CGM.getTypes(); in getSetPropertyFn()
275 CodeGen::CodeGenTypes &Types = CGM.getTypes(); in getOptimizedSetPropertyFn()
312 CodeGen::CodeGenTypes &Types = CGM.getTypes(); in getCopyStructFn()
334 CodeGen::CodeGenTypes &Types = CGM.getTypes(); in getCppAtomicObjectFunction()
350 CodeGen::CodeGenTypes &Types = CGM.getTypes(); in getEnumerationMutationFn()
492 ObjCCommonTypesHelper(CodeGen::CodeGenModule &cgm);
[all …]
DCodeGenABITypes.cpp25 using namespace CodeGen;
31 CGM(new CodeGen::CodeGenModule(C, *CGO, M, TD, C.getDiagnostics())) { in CodeGenABITypes()
DTargetInfo.cpp30 using namespace CodeGen;
32 static void AssignToArrayRange(CodeGen::CGBuilderTy &Builder, in AssignToArrayRange()
351 DefaultABIInfo(CodeGen::CodeGenTypes &CGT) : ABIInfo(CGT) {} in DefaultABIInfo()
369 DefaultTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT) in DefaultTargetCodeGenInfo()
414 PNaClABIInfo(CodeGen::CodeGenTypes &CGT) : ABIInfo(CGT) {} in PNaClABIInfo()
426 PNaClTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT) in PNaClTargetCodeGenInfo()
485 static llvm::Type* X86AdjustInlineAsmType(CodeGen::CodeGenFunction &CGF, in X86AdjustInlineAsmType()
563 X86_32ABIInfo(CodeGen::CodeGenTypes &CGT, bool d, bool p, bool w, in X86_32ABIInfo()
571 X86_32TargetCodeGenInfo(CodeGen::CodeGenTypes &CGT, in X86_32TargetCodeGenInfo()
579 CodeGen::CodeGenModule &CGM) const override;
[all …]
DCGObjCRuntime.cpp27 using namespace CodeGen;
29 static uint64_t LookupFieldBitOffset(CodeGen::CodeGenModule &CGM, in LookupFieldBitOffset()
65 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset()
72 uint64_t CGObjCRuntime::ComputeIvarBaseOffset(CodeGen::CodeGenModule &CGM, in ComputeIvarBaseOffset()
80 CodeGen::CodeGenModule &CGM, in ComputeBitfieldBitOffset()
86 LValue CGObjCRuntime::EmitValueForIvarAtOffset(CodeGen::CodeGenFunction &CGF, in EmitValueForIvarAtOffset()
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp85 LTOCodeGenerator CodeGen; in main() local
89 CodeGen.setCodePICModel(LTO_CODEGEN_PIC_MODEL_STATIC); in main()
92 CodeGen.setCodePICModel(LTO_CODEGEN_PIC_MODEL_DYNAMIC); in main()
95 CodeGen.setCodePICModel(LTO_CODEGEN_PIC_MODEL_DYNAMIC_NO_PIC); in main()
98 CodeGen.setCodePICModel(LTO_CODEGEN_PIC_MODEL_DEFAULT); in main()
101 CodeGen.setDebugInfo(LTO_DEBUG_MODEL_DWARF); in main()
102 CodeGen.setTargetOptions(Options); in main()
121 if (!CodeGen.addModule(Module.get(), error)) { in main()
141 CodeGen.addMustPreserveSymbol(ExportedSymbols[i].c_str()); in main()
145 CodeGen.addMustPreserveSymbol(KeptDSOSyms[i].c_str()); in main()
[all …]
/external/chromium_org/sandbox/linux/seccomp-bpf/
Dsandbox_bpf.h23 class CodeGen; variable
187 friend class CodeGen;
232 Instruction* CompilePolicy(CodeGen* gen, bool* has_unsafe_traps);
237 Instruction* CheckArch(CodeGen* gen, Instruction* passed);
246 Instruction* MaybeAddEscapeHatch(CodeGen* gen,
254 Instruction* DispatchSyscall(CodeGen* gen);
259 Instruction* CheckSyscallNumber(CodeGen* gen, Instruction* passed);
274 Instruction* AssembleJumpTable(CodeGen* gen,
283 Instruction* RetExpression(CodeGen* gen, const ErrorCode& err);
289 Instruction* CondExpression(CodeGen* gen, const ErrorCode& cond);
[all …]
Dcodegen_unittest.cc29 class CodeGenUnittestHelper : public CodeGen {
33 CodeGen::FindBranchTargets(instructions, branch_targets); in FindBranchTargets()
39 return CodeGen::CutGraphIntoBasicBlocks(insns, branch_targets, blocks); in CutGraphIntoBasicBlocks()
42 void MergeTails(TargetsToBlocks* blocks) { CodeGen::MergeTails(blocks); } in MergeTails()
47 Instruction* SampleProgramOneInstruction(CodeGen* codegen, int* flags) { in SampleProgramOneInstruction()
54 Instruction* SampleProgramSimpleBranch(CodeGen* codegen, int* flags) { in SampleProgramSimpleBranch()
67 Instruction* SampleProgramAtypicalBranch(CodeGen* codegen, int* flags) { in SampleProgramAtypicalBranch()
82 Instruction* SampleProgramComplex(CodeGen* codegen, int* flags) { in SampleProgramComplex()
145 Instruction* SampleProgramConfusingTails(CodeGen* codegen, int* flags) { in SampleProgramConfusingTails()
180 Instruction* SampleProgramConfusingTailsBasic(CodeGen* codegen, int* flags) { in SampleProgramConfusingTailsBasic()
[all …]
Dcodegen.cc44 CodeGen::CodeGen() : compiled_(false) {} in CodeGen() function in sandbox::CodeGen
46 CodeGen::~CodeGen() { in ~CodeGen()
59 void CodeGen::PrintProgram(const SandboxBPF::Program& program) { in PrintProgram()
147 Instruction* CodeGen::MakeInstruction(uint16_t code, in MakeInstruction()
175 Instruction* CodeGen::MakeInstruction(uint16_t code, in MakeInstruction()
192 void CodeGen::Traverse(Instruction* instruction, in Traverse()
204 void CodeGen::FindBranchTargets(const Instruction& instructions, in FindBranchTargets()
277 BasicBlock* CodeGen::MakeBasicBlock(Instruction* head, Instruction* tail) { in MakeBasicBlock()
294 void CodeGen::AddBasicBlock(Instruction* head, in AddBasicBlock()
316 BasicBlock* CodeGen::CutGraphIntoBasicBlocks( in CutGraphIntoBasicBlocks()
[all …]
Dcodegen.h54 class SANDBOX_EXPORT CodeGen {
56 CodeGen();
57 ~CodeGen();
Dsandbox_bpf.cc650 CodeGen* gen = new CodeGen(); in AssembleFilter()
676 Instruction* SandboxBPF::CompilePolicy(CodeGen* gen, bool* has_unsafe_traps) { in CompilePolicy()
687 Instruction* SandboxBPF::CheckArch(CodeGen* gen, Instruction* passed) { in CheckArch()
701 Instruction* SandboxBPF::MaybeAddEscapeHatch(CodeGen* gen, in MaybeAddEscapeHatch()
779 Instruction* SandboxBPF::DispatchSyscall(CodeGen* gen) { in DispatchSyscall()
795 Instruction* SandboxBPF::CheckSyscallNumber(CodeGen* gen, Instruction* passed) { in CheckSyscallNumber()
829 CodeGen::PrintProgram(program); in VerifyProgram()
860 Instruction* SandboxBPF::AssembleJumpTable(CodeGen* gen, in AssembleJumpTable()
887 Instruction* SandboxBPF::RetExpression(CodeGen* gen, const ErrorCode& err) { in RetExpression()
899 Instruction* SandboxBPF::CondExpression(CodeGen* gen, const ErrorCode& cond) { in CondExpression()
[all …]
/external/llvm/tools/gold/
Dgold-plugin.cpp74 static LTOCodeGenerator *CodeGen = nullptr; variable
236 CodeGen = new LTOCodeGenerator(); in onload()
242 CodeGen->setCodeGenDebugOptions((*it).c_str()); in onload()
246 CodeGen->parseCodeGenDebugOptions(); in onload()
254 CodeGen->setAttr(Attrs.c_str()); in onload()
258 CodeGen->setTargetOptions(TargetOpts); in onload()
386 if (CodeGen) { in claim_file_hook()
388 if (!CodeGen->addModule(M, Error)) { in claim_file_hook()
415 assert(CodeGen); in all_symbols_read_hook()
432 CodeGen->addMustPreserveSymbol(I->syms[i].name); in all_symbols_read_hook()
[all …]
/external/clang/patches/
D0002-Revert-to-old-vector-passing-ABI-for-backwards-compa.patch9 lib/CodeGen/TargetInfo.cpp | 6 +++---
12 diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp
14 --- a/lib/CodeGen/TargetInfo.cpp
15 +++ b/lib/CodeGen/TargetInfo.cpp
/external/llvm/utils/Misc/
Dmergefunctions.clang.svn.patch1 Index: lib/CodeGen/BackendUtil.cpp
3 --- lib/CodeGen/BackendUtil.cpp (revision 191330)
4 +++ lib/CodeGen/BackendUtil.cpp (working copy)
/external/llvm/lib/CodeGen/SelectionDAG/
DLLVMBuild.txt1 ;===- ./lib/CodeGen/SelectionDAG/LLVMBuild.txt -----------------*- Conf -*--===;
21 parent = CodeGen
22 required_libraries = Analysis CodeGen Core MC Support Target TransformUtils
/external/llvm/include/llvm/
Dmodule.modulemap10 // A module covering CodeGen/ and Target/. These are intertwined
15 module CodeGen {
16 umbrella "CodeGen"
20 exclude header "CodeGen/MachineValueType.h"
24 exclude header "CodeGen/CommandFlags.h"
25 exclude header "CodeGen/LinkAllAsmWriterComponents.h"
26 exclude header "CodeGen/LinkAllCodegenComponents.h"
167 header "CodeGen/MachineValueType.h"
/external/llvm/lib/CodeGen/AsmPrinter/
DLLVMBuild.txt1 ;===- ./lib/CodeGen/AsmPrinter/LLVMBuild.txt -------------------*- Conf -*--===;
22 required_libraries = Analysis CodeGen Core MC MCParser Support Target TransformUtils
/external/llvm/lib/CodeGen/
DLLVMBuild.txt1 ;===- ./lib/CodeGen/LLVMBuild.txt ------------------------------*- Conf -*--===;
23 name = CodeGen
/external/llvm/test/Bitcode/
Ddrop-debug-info.ll14 …ile_unit ] [/Users/manmanren/llvm_gmail/release/../llvm/tools/clang/test/CodeGen/debug-info-versio…
15 !1 = metadata !{metadata !"../llvm/tools/clang/test/CodeGen/debug-info-version.c", metadata !"/User…
19 …ile_type ] [/Users/manmanren/llvm_gmail/release/../llvm/tools/clang/test/CodeGen/debug-info-versio…
/external/clang/include/clang/CodeGen/
DCodeGenABITypes.h43 namespace CodeGen {
77 CodeGen::CodeGenModule *CGM;
/external/llvm/tools/lto/
Dlto.cpp199 LTOCodeGenerator *CodeGen = new LTOCodeGenerator(); in lto_codegen_create() local
200 if (CodeGen) in lto_codegen_create()
201 CodeGen->setTargetOptions(Options); in lto_codegen_create()
202 return wrap(CodeGen); in lto_codegen_create()
/external/llvm/
DAndroid.mk19 lib/CodeGen \
20 lib/CodeGen/AsmPrinter \
21 lib/CodeGen/SelectionDAG \

123456789