Home
last modified time | relevance | path

Searched refs:Ret (Results 1 – 25 of 274) sorted by relevance

1234567891011

/external/clang/test/CodeGenCXX/
Dmangle-ms-template-callback.cpp6 template<typename Ret>
7 class C<Ret(void)> {};
10 template<typename Ret, typename Arg1>
11 class C<Ret(Arg1)> {};
13 template<typename Ret, typename Arg1, typename Arg2>
14 class C<Ret(Arg1, Arg2)> {};
45 template<typename Ret> class C<Ret(*)(void)> {};
50 template<typename Ret> class C<Ret(^)(void)> {};
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h80 CCValAssign Ret; in getReg() local
81 Ret.ValNo = ValNo; in getReg()
82 Ret.Loc = RegNo; in getReg()
83 Ret.isMem = false; in getReg()
84 Ret.isCustom = false; in getReg()
85 Ret.HTP = HTP; in getReg()
86 Ret.ValVT = ValVT; in getReg()
87 Ret.LocVT = LocVT; in getReg()
88 return Ret; in getReg()
94 CCValAssign Ret; in getCustomReg() local
[all …]
/external/v8/test/cctest/compiler/
Dc-signature.h110 template <typename Ret, uint16_t kParamCount>
116 : CSignature(MachineTypeForC<Ret>() != MachineType::None() ? 1 : 0, in CSignatureOf()
118 if (return_count_ == 1) storage_[0] = MachineTypeForC<Ret>(); in CSignatureOf()
128 template <typename Ret>
129 class CSignature0 : public CSignatureOf<Ret, 0> {
131 CSignature0() : CSignatureOf<Ret, 0>() {} in CSignature0()
134 template <typename Ret, typename P1>
135 class CSignature1 : public CSignatureOf<Ret, 1> {
137 CSignature1() : CSignatureOf<Ret, 1>() { in CSignature1()
142 template <typename Ret, typename P1, typename P2>
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp50 std::string Ret = ""; in computeDataLayout() local
53 Ret += "E"; in computeDataLayout()
56 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
61 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout()
64 Ret += "-i64:64"; in computeDataLayout()
67 Ret += "-f128:64"; in computeDataLayout()
71 Ret += "-v128:64"; in computeDataLayout()
74 Ret += "-a:8:16"; in computeDataLayout()
77 Ret += "-n32:64"; in computeDataLayout()
79 return Ret; in computeDataLayout()
/external/llvm/lib/Target/X86/
DX86TargetMachine.cpp64 std::string Ret = "e"; in computeDataLayout() local
66 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
71 Ret += "-p:32:32"; in computeDataLayout()
75 Ret += "-i64:64"; in computeDataLayout()
77 Ret += "-f64:32:64"; in computeDataLayout()
83 Ret += "-f80:128"; in computeDataLayout()
85 Ret += "-f80:32"; in computeDataLayout()
89 Ret += "-n8:16:32:64"; in computeDataLayout()
91 Ret += "-n8:16:32"; in computeDataLayout()
95 Ret += "-a:0:32-S32"; in computeDataLayout()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp30 std::string Ret = T.getArch() == Triple::sparcel ? "e" : "E"; in computeDataLayout() local
31 Ret += "-m:e"; in computeDataLayout()
35 Ret += "-p:32:32"; in computeDataLayout()
38 Ret += "-i64:64"; in computeDataLayout()
43 Ret += "-n32:64"; in computeDataLayout()
45 Ret += "-f128:64-n32"; in computeDataLayout()
48 Ret += "-S128"; in computeDataLayout()
50 Ret += "-S64"; in computeDataLayout()
52 return Ret; in computeDataLayout()
/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp64 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator()); in mergeEmptyReturnBlocks() local
65 if (!Ret) continue; in mergeEmptyReturnBlocks()
69 if (Ret != &BB.front()) { in mergeEmptyReturnBlocks()
71 BasicBlock::iterator I(Ret); in mergeEmptyReturnBlocks()
77 (!isa<PHINode>(I) || I != BB.begin() || Ret->getNumOperands() == 0 || in mergeEmptyReturnBlocks()
78 Ret->getOperand(0) != &*I)) in mergeEmptyReturnBlocks()
94 if (Ret->getNumOperands() == 0 || in mergeEmptyReturnBlocks()
95 Ret->getOperand(0) == in mergeEmptyReturnBlocks()
107 RetBlockPHI = PHINode::Create(Ret->getOperand(0)->getType(), in mergeEmptyReturnBlocks()
119 RetBlockPHI->addIncoming(Ret->getOperand(0), &BB); in mergeEmptyReturnBlocks()
DTailRecursionElimination.cpp107 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret,
113 ReturnInst *Ret, BasicBlock *&OldEntry,
412 if (ReturnInst *Ret = dyn_cast<ReturnInst>(BB->getTerminator())) { in runTRE() local
413 bool Change = ProcessReturningBlock(Ret, OldEntry, TailCallsAreMarkedTail, in runTRE()
415 if (!Change && BB->getFirstNonPHIOrDbg() == Ret) in runTRE()
416 Change = FoldReturnAndProcessPred(BB, Ret, OldEntry, in runTRE()
620 bool TailCallElim::EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in EliminateRecursiveTailCall() argument
643 for (++BBI; &*BBI != Ret; ++BBI) { in EliminateRecursiveTailCall()
664 if (Ret->getNumOperands() == 1 && Ret->getReturnValue() != CI && in EliminateRecursiveTailCall()
665 !isa<UndefValue>(Ret->getReturnValue()) && in EliminateRecursiveTailCall()
[all …]
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp44 Value *Ret = Builder.CreateRet(Div); in TEST() local
49 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST()
74 Value *Ret = Builder.CreateRet(Div); in TEST() local
79 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST()
104 Value *Ret = Builder.CreateRet(Rem); in TEST() local
109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST()
134 Value *Ret = Builder.CreateRet(Rem); in TEST() local
139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST()
165 Value *Ret = Builder.CreateRet(Div); in TEST() local
170 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); in TEST()
[all …]
/external/llvm/lib/Object/
DArchive.cpp47 uint32_t Ret; in getSize() local
48 if (llvm::StringRef(Size, sizeof(Size)).rtrim(" ").getAsInteger(10, Ret)) in getSize()
50 return Ret; in getSize()
54 unsigned Ret; in getAccessMode() local
55 if (StringRef(AccessMode, sizeof(AccessMode)).rtrim(" ").getAsInteger(8, Ret)) in getAccessMode()
57 return static_cast<sys::fs::perms>(Ret); in getAccessMode()
66 sys::TimeValue Ret; in getLastModified() local
67 Ret.fromEpochTime(Seconds); in getLastModified()
68 return Ret; in getLastModified()
72 unsigned Ret; in getUID() local
[all …]
DSymbolSize.cpp48 std::vector<std::pair<SymbolRef, uint64_t>> Ret; in computeSymbolSizes() local
55 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes()
56 return Ret; in computeSymbolSizes()
93 Ret.resize(SymNum); in computeSymbolSizes()
97 Ret[P.Number] = {*P.I, P.Address}; in computeSymbolSizes()
99 return Ret; in computeSymbolSizes()
DObject.cpp70 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile() local
71 return wrap(Ret); in LLVMCreateObjectFile()
178 ErrorOr<StringRef> Ret = (*unwrap(SI))->getName(); in LLVMGetSymbolName() local
179 if (std::error_code EC = Ret.getError()) in LLVMGetSymbolName()
181 return Ret->data(); in LLVMGetSymbolName()
185 ErrorOr<uint64_t> Ret = (*unwrap(SI))->getAddress(); in LLVMGetSymbolAddress() local
186 if (std::error_code EC = Ret.getError()) in LLVMGetSymbolAddress()
188 return *Ret; in LLVMGetSymbolAddress()
/external/llvm/lib/Target/ARM/
DARMTargetMachine.cpp125 std::string Ret = ""; in computeDataLayout() local
129 Ret += "e"; in computeDataLayout()
132 Ret += "E"; in computeDataLayout()
134 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
137 Ret += "-p:32:32"; in computeDataLayout()
141 Ret += "-i64:64"; in computeDataLayout()
146 Ret += "-f64:32:64"; in computeDataLayout()
151 Ret += "-v64:32:64-v128:32:128"; in computeDataLayout()
153 Ret += "-v128:64:128"; in computeDataLayout()
157 Ret += "-a:0:32"; in computeDataLayout()
[all …]
/external/llvm/tools/llvm-c-test/
Dmodule.c39 LLVMBool Ret; in load_module() local
44 Ret = LLVMGetBitcodeModule2(MB, &M); in load_module()
46 Ret = LLVMParseBitcode2(MB, &M); in load_module()
49 Ret = LLVMGetBitcodeModule(MB, &M, &msg); in load_module()
51 Ret = LLVMParseBitcode(MB, &M, &msg); in load_module()
54 if (Ret) { in load_module()
/external/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp50 std::string Ret = ""; in computeDataLayout() local
55 Ret += "e"; in computeDataLayout()
57 Ret += "E"; in computeDataLayout()
59 Ret += "-m:m"; in computeDataLayout()
63 Ret += "-p:32:32"; in computeDataLayout()
67 Ret += "-i8:8:32-i16:16:32-i64:64"; in computeDataLayout()
73 Ret += "-n32:64-S128"; in computeDataLayout()
75 Ret += "-n32-S64"; in computeDataLayout()
77 return Ret; in computeDataLayout()
DMipsISelDAGToDAG.cpp51 bool Ret = SelectionDAGISel::runOnMachineFunction(MF); in runOnMachineFunction() local
55 return Ret; in runOnMachineFunction()
199 std::pair<bool, SDNode*> Ret = selectNode(Node); in Select() local
201 if (Ret.first) in Select()
202 return Ret.second; in Select()
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp82 std::string Ret; in getDataLayoutString() local
86 Ret = "e"; in getDataLayoutString()
88 Ret = "E"; in getDataLayoutString()
90 Ret += DataLayout::getManglingComponent(T); in getDataLayoutString()
95 Ret += "-p:32:32"; in getDataLayoutString()
100 Ret += "-i64:64"; in getDataLayoutString()
102 Ret += "-f64:32:64"; in getDataLayoutString()
106 Ret += "-n32:64"; in getDataLayoutString()
108 Ret += "-n32"; in getDataLayoutString()
110 return Ret; in getDataLayoutString()
/external/llvm/lib/LibDriver/
DLibDriver.cpp70 std::vector<StringRef> Ret; in getSearchPaths() local
72 Ret.push_back(""); in getSearchPaths()
76 Ret.push_back(Arg->getValue()); in getSearchPaths()
81 return Ret; in getSearchPaths()
86 Ret.push_back(Path); in getSearchPaths()
88 return Ret; in getSearchPaths()
/external/clang/test/SemaTemplate/
Dinstantiate-init.cpp18 template<typename Ret, typename T, typename U>
19 Ret f1(Ret *retty, T t, U u) { in f1()
20 Ret r0(t, u); // expected-error{{no matching}} in f1()
21 return Ret(t, u); // expected-error{{no matching}} in f1()
/external/llvm/utils/yaml-bench/
DYAMLBench.cpp75 std::string Ret = "!!"; in prettyTag() local
76 Ret += StringRef(Tag).substr(18); in prettyTag()
77 return Ret; in prettyTag()
79 std::string Ret = "!<"; in prettyTag() local
80 Ret += Tag; in prettyTag()
81 Ret += ">"; in prettyTag()
82 return Ret; in prettyTag()
/external/llvm/tools/llvm-ar/
Dllvm-ar.cpp515 std::vector<NewArchiveIterator> Ret; in computeNewArchiveMembers() local
523 int Pos = Ret.size(); in computeNewArchiveMembers()
540 addMember(Ret, Child, Name); in computeNewArchiveMembers()
543 addMember(Ret, *MemberI); in computeNewArchiveMembers()
560 return Ret; in computeNewArchiveMembers()
566 InsertPos = Ret.size(); in computeNewArchiveMembers()
568 assert(unsigned(InsertPos) <= Ret.size()); in computeNewArchiveMembers()
569 Ret.insert(Ret.begin() + InsertPos, Moved.begin(), Moved.end()); in computeNewArchiveMembers()
571 Ret.insert(Ret.begin() + InsertPos, Members.size(), NewArchiveIterator("")); in computeNewArchiveMembers()
574 addMember(Ret, Member, Pos); in computeNewArchiveMembers()
[all …]
/external/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp197 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); in openIf() local
198 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf()
199 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf()
204 Value *Ret = CallInst::Create(Else, popSaved(), "", Term); in insertElse() local
205 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in insertElse()
206 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in insertElse()
223 Value *Ret = NewPhi; in handleLoopCondition() local
252 Ret = CallInst::Create(ElseBreak, Args, "", OldEnd); in handleLoopCondition()
261 return Ret; in handleLoopCondition()
/external/llvm/include/llvm/Object/
DCOFFYAML.h25 uint32_t Ret = static_cast<uint32_t>(a) | static_cast<uint32_t>(b); variable
26 return static_cast<Characteristics>(Ret);
31 uint32_t Ret = static_cast<uint32_t>(a) | static_cast<uint32_t>(b); variable
32 return static_cast<SectionCharacteristics>(Ret);
37 uint16_t Ret = static_cast<uint16_t>(a) | static_cast<uint16_t>(b); variable
38 return static_cast<DLLCharacteristics>(Ret);
/external/llvm/test/Transforms/InstCombine/
Dnot.ll16 %Ret = xor i1 %cond, true
17 ret i1 %Ret
58 %Ret = xor <2 x i1> %cond, <i1 true, i1 true>
59 ret <2 x i1> %Ret
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp897 uint64_t Ret = 0; in optimizeMemCmp() local
900 Ret = -1; in optimizeMemCmp()
902 Ret = 1; in optimizeMemCmp()
903 return ConstantInt::get(CI->getType(), Ret); in optimizeMemCmp()
1040 Value *Ret = nullptr; in optimizeCos() local
1043 Ret = optimizeUnaryDoubleFP(CI, B, true); in optimizeCos()
1050 return Ret; in optimizeCos()
1058 return Ret; in optimizeCos()
1088 Value *Ret = nullptr; in optimizePow() local
1091 Ret = optimizeUnaryDoubleFP(CI, B, true); in optimizePow()
[all …]

1234567891011