Home
last modified time | relevance | path

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

123456789

/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h72 CCValAssign Ret; in getReg() local
73 Ret.ValNo = ValNo; in getReg()
74 Ret.Loc = RegNo; in getReg()
75 Ret.isMem = false; in getReg()
76 Ret.isCustom = false; in getReg()
77 Ret.HTP = HTP; in getReg()
78 Ret.ValVT = ValVT; in getReg()
79 Ret.LocVT = LocVT; in getReg()
80 return Ret; in getReg()
86 CCValAssign Ret; in getCustomReg() local
[all …]
/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/lib/Target/Sparc/
DSparcSubtarget.cpp31 std::string Ret = "E-m:e"; in computeDataLayout() local
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.cpp82 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator()); in mergeEmptyReturnBlocks() local
83 if (!Ret) continue; in mergeEmptyReturnBlocks()
87 if (Ret != &BB.front()) { in mergeEmptyReturnBlocks()
89 BasicBlock::iterator I = Ret; in mergeEmptyReturnBlocks()
96 Ret->getNumOperands() == 0 || in mergeEmptyReturnBlocks()
97 Ret->getOperand(0) != I)) in mergeEmptyReturnBlocks()
113 if (Ret->getNumOperands() == 0 || in mergeEmptyReturnBlocks()
114 Ret->getOperand(0) == in mergeEmptyReturnBlocks()
126 RetBlockPHI = PHINode::Create(Ret->getOperand(0)->getType(), in mergeEmptyReturnBlocks()
138 RetBlockPHI->addIncoming(Ret->getOperand(0), &BB); in mergeEmptyReturnBlocks()
DTailRecursionElimination.cpp105 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret,
111 ReturnInst *Ret, BasicBlock *&OldEntry,
406 if (ReturnInst *Ret = dyn_cast<ReturnInst>(BB->getTerminator())) { in runTRE() local
407 bool Change = ProcessReturningBlock(Ret, OldEntry, TailCallsAreMarkedTail, in runTRE()
409 if (!Change && BB->getFirstNonPHIOrDbg() == Ret) in runTRE()
410 Change = FoldReturnAndProcessPred(BB, Ret, OldEntry, in runTRE()
619 bool TailCallElim::EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in EliminateRecursiveTailCall() argument
642 for (++BBI; &*BBI != Ret; ++BBI) { in EliminateRecursiveTailCall()
663 if (Ret->getNumOperands() == 1 && Ret->getReturnValue() != CI && in EliminateRecursiveTailCall()
664 !isa<UndefValue>(Ret->getReturnValue()) && in EliminateRecursiveTailCall()
[all …]
/external/llvm/lib/Target/ARM/
DARMSubtarget.cpp87 std::string Ret = ""; in computeDataLayout() local
91 Ret += "e"; in computeDataLayout()
94 Ret += "E"; in computeDataLayout()
96 Ret += DataLayout::getManglingComponent(ST.getTargetTriple()); in computeDataLayout()
99 Ret += "-p:32:32"; in computeDataLayout()
104 Ret += "-i1:8:32-i8:8:32-i16:16:32"; in computeDataLayout()
108 Ret += "-i64:64"; in computeDataLayout()
113 Ret += "-f64:32:64"; in computeDataLayout()
118 Ret += "-v64:32:64-v128:32:128"; in computeDataLayout()
120 Ret += "-v128:64:128"; in computeDataLayout()
[all …]
/external/llvm/lib/Target/X86/
DX86Subtarget.cpp302 std::string Ret = "e"; in computeDataLayout() local
304 Ret += DataLayout::getManglingComponent(ST.getTargetTriple()); in computeDataLayout()
307 Ret += "-p:32:32"; in computeDataLayout()
311 Ret += "-i64:64"; in computeDataLayout()
313 Ret += "-f64:32:64"; in computeDataLayout()
319 Ret += "-f80:128"; in computeDataLayout()
321 Ret += "-f80:32"; in computeDataLayout()
325 Ret += "-n8:16:32:64"; in computeDataLayout()
327 Ret += "-n8:16:32"; in computeDataLayout()
331 Ret += "-S32"; in computeDataLayout()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp39 std::string Ret; in getDataLayoutString() local
43 Ret = "e"; in getDataLayoutString()
45 Ret = "E"; in getDataLayoutString()
47 Ret += DataLayout::getManglingComponent(T); in getDataLayoutString()
52 Ret += "-p:32:32"; in getDataLayoutString()
57 Ret += "-i64:64"; in getDataLayoutString()
59 Ret += "-f64:32:64"; in getDataLayoutString()
63 Ret += "-n32:64"; in getDataLayoutString()
65 Ret += "-n32"; in getDataLayoutString()
67 return Ret; in getDataLayoutString()
/external/llvm/lib/Object/
DArchive.cpp44 uint32_t Ret; in getSize() local
45 if (llvm::StringRef(Size, sizeof(Size)).rtrim(" ").getAsInteger(10, Ret)) in getSize()
47 return Ret; in getSize()
51 unsigned Ret; in getAccessMode() local
52 if (StringRef(AccessMode, sizeof(AccessMode)).rtrim(" ").getAsInteger(8, Ret)) in getAccessMode()
54 return static_cast<sys::fs::perms>(Ret); in getAccessMode()
63 sys::TimeValue Ret; in getLastModified() local
64 Ret.fromEpochTime(Seconds); in getLastModified()
65 return Ret; in getLastModified()
69 unsigned Ret; in getUID() local
[all …]
DCOFFObjectFile.cpp353 DataRefImpl Ret; in section_rel_begin() local
355 Ret.p = 0; in section_rel_begin()
364 Ret.p = reinterpret_cast<uintptr_t>(begin); in section_rel_begin()
366 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin()
385 DataRefImpl Ret; in section_rel_end() local
387 Ret.p = 0; in section_rel_end()
392 Ret.p = reinterpret_cast<uintptr_t>(begin + NumReloc); in section_rel_end()
394 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end()
601 DataRefImpl Ret; in symbol_begin_impl() local
602 Ret.p = reinterpret_cast<uintptr_t>(SymbolTable); in symbol_begin_impl()
[all …]
DIRObjectFile.cpp258 DataRefImpl Ret; in symbol_begin_impl() local
259 Ret.p = skipEmpty(I, *M); in symbol_begin_impl()
260 return basic_symbol_iterator(BasicSymbolRef(Ret, this)); in symbol_begin_impl()
264 DataRefImpl Ret; in symbol_end_impl() local
267 Ret.p = 3 | NumAsm; in symbol_end_impl()
268 return basic_symbol_iterator(BasicSymbolRef(Ret, this)); in symbol_end_impl()
/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/include/llvm/ADT/
DSTLExtras.h68 template<typename Ret, typename ...Params>
69 class function_ref<Ret(Params...)> {
70 Ret (*callback)(intptr_t callable, Params ...params);
74 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn()
84 Ret operator()(Params ...params) const { in operator()
91 template<typename Ret>
92 class function_ref<Ret()> {
93 Ret (*callback)(intptr_t callable);
97 static Ret callback_fn(intptr_t callable) { in callback_fn()
106 Ret operator()() const { return callback(callable); } in operator()
[all …]
/external/llvm/lib/Target/Mips/
DMipsSubtarget.cpp76 std::string Ret = ""; in computeDataLayout() local
80 Ret += "e"; in computeDataLayout()
82 Ret += "E"; in computeDataLayout()
84 Ret += "-m:m"; in computeDataLayout()
88 Ret += "-p:32:32"; in computeDataLayout()
92 Ret += "-i8:8:32-i16:16:32-i64:64"; in computeDataLayout()
98 Ret += "-n32:64-S128"; in computeDataLayout()
100 Ret += "-n32-S64"; in computeDataLayout()
102 return Ret; in computeDataLayout()
DMipsISelDAGToDAG.cpp51 bool Ret = SelectionDAGISel::runOnMachineFunction(MF); in runOnMachineFunction() local
55 return Ret; in runOnMachineFunction()
191 std::pair<bool, SDNode*> Ret = selectNode(Node); in Select() local
193 if (Ret.first) in Select()
194 return Ret.second; in Select()
/external/llvm/lib/Target/NVPTX/
DNVPTXSubtarget.cpp29 std::string Ret = "e"; in computeDataLayout() local
32 Ret += "-p:32:32"; in computeDataLayout()
34 Ret += "-i64:64-v16:16-v32:32-n16:32:64"; in computeDataLayout()
36 return Ret; in computeDataLayout()
/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.cpp70 std::string Ret = "!!"; in prettyTag() local
71 Ret += StringRef(Tag).substr(18); in prettyTag()
72 return std::move(Ret); in prettyTag()
74 std::string Ret = "!<"; in prettyTag() local
75 Ret += Tag; in prettyTag()
76 Ret += ">"; in prettyTag()
77 return Ret; in prettyTag()
/external/llvm/lib/Target/R600/
DSIAnnotateControlFlow.cpp193 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); in openIf() local
194 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf()
195 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf()
200 Value *Ret = CallInst::Create(Else, popSaved(), "", Term); in insertElse() local
201 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in insertElse()
202 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in insertElse()
210 Value *Ret = NewPhi; in handleLoopCondition() local
239 Ret = CallInst::Create(ElseBreak, Args, "", OldEnd); in handleLoopCondition()
248 return Ret; in handleLoopCondition()
DAMDGPUTargetMachine.cpp53 std::string Ret = "e-p:32:32"; in computeDataLayout() local
57 Ret += "-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-p24:64:64"; in computeDataLayout()
60 Ret += "-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256" in computeDataLayout()
63 return Ret; in computeDataLayout()
/external/compiler-rt/test/profile/
Dinstrprof-write-file.c21 int Ret = foo(0); in main() local
25 return Ret; in main()
/external/clang/include/clang/StaticAnalyzer/Checkers/
DObjCRetainCount.h193 RetEffect Ret; variable
196 CallEffects(const RetEffect &R) : Ret(R) {} in CallEffects()
206 RetEffect getReturnValue() const { return Ret; } in getReturnValue()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp560 char Ret = StringSwitch<char>(Name) in getSymbolNMTypeChar() local
565 if (Ret != '?') in getSymbolNMTypeChar()
566 return Ret; in getSymbolNMTypeChar()
681 char Ret = isObject(Obj, I) ? 'v' : 'w'; in getNMTypeChar() local
683 Ret = toupper(Ret); in getNMTypeChar()
684 return Ret; in getNMTypeChar()
693 char Ret = '?'; in getNMTypeChar() local
695 Ret = 'a'; in getNMTypeChar()
697 Ret = getSymbolNMTypeChar(*IR, I); in getNMTypeChar()
699 Ret = getSymbolNMTypeChar(*COFF, I); in getNMTypeChar()
[all …]
/external/llvm/include/llvm/Option/
DOption.h125 std::string Ret = getPrefix(); in getPrefixedName() local
126 Ret += getName(); in getPrefixedName()
127 return Ret; in getPrefixedName()
/external/llvm/test/Transforms/ConstProp/
Dbasictest.ll20 ; CHECK: %Ret = phi i32 [ 0, %BB1 ], [ 1, %BB2 ]
21 %Ret = phi i32 [ %Val, %BB1 ], [ 1, %BB2 ]
22 ret i32 %Ret

123456789