Home
last modified time | relevance | path

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

12345678910>>...21

/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/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DOrderedBasicBlockTest.cpp43 Instruction *Ret = &*I++; in TEST_F() local
49 EXPECT_TRUE(OBB.dominates(Add, Ret)); in TEST_F()
50 EXPECT_TRUE(OBB.dominates(Add, Ret)); in TEST_F()
51 EXPECT_FALSE(OBB.dominates(Ret, Add)); in TEST_F()
52 EXPECT_FALSE(OBB.dominates(Ret, Add)); in TEST_F()
53 EXPECT_FALSE(OBB.dominates(Ret, Ret)); in TEST_F()
54 EXPECT_FALSE(OBB.dominates(Ret, Ret)); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DCallingConvLower.h81 CCValAssign Ret; in getReg() local
82 Ret.ValNo = ValNo; in getReg()
83 Ret.Loc = RegNo; in getReg()
84 Ret.isMem = false; in getReg()
85 Ret.isCustom = false; in getReg()
86 Ret.HTP = HTP; in getReg()
87 Ret.ValVT = ValVT; in getReg()
88 Ret.LocVT = LocVT; in getReg()
89 return Ret; in getReg()
95 CCValAssign Ret; in getCustomReg() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp439 CRLogicalOpInfo Ret; in createCRLogicalOpInfo() local
440 Ret.MI = &MIParam; in createCRLogicalOpInfo()
443 Ret.IsNullary = 1; in createCRLogicalOpInfo()
444 Ret.TrueDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo()
445 Ret.CopyDefs = std::make_pair(nullptr, nullptr); in createCRLogicalOpInfo()
448 Ret.SubregDef1, Ret.CopyDefs.first); in createCRLogicalOpInfo()
449 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
451 Ret.DefsSingleUse &= in createCRLogicalOpInfo()
452 MRI->hasOneNonDBGUse(Ret.CopyDefs.first->getOperand(0).getReg()); in createCRLogicalOpInfo()
455 Ret.IsBinary = 1; in createCRLogicalOpInfo()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp51 std::string Ret = ""; in computeDataLayout() local
54 Ret += "E"; in computeDataLayout()
57 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
62 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout()
65 Ret += "-i64:64"; in computeDataLayout()
68 Ret += "-f128:64"; in computeDataLayout()
72 Ret += "-v128:64"; in computeDataLayout()
75 Ret += "-a:8:16"; in computeDataLayout()
78 Ret += "-n32:64"; in computeDataLayout()
80 return Ret; in computeDataLayout()
/external/llvm/lib/Target/X86/
DX86TargetMachine.cpp66 std::string Ret = "e"; in computeDataLayout() local
68 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
73 Ret += "-p:32:32"; in computeDataLayout()
77 Ret += "-i64:64"; in computeDataLayout()
79 Ret += "-i64:32-f64:32"; in computeDataLayout()
81 Ret += "-f64:32:64"; in computeDataLayout()
87 Ret += "-f80:128"; in computeDataLayout()
89 Ret += "-f80:32"; in computeDataLayout()
92 Ret += "-f128:32"; in computeDataLayout()
96 Ret += "-n8:16:32:64"; in computeDataLayout()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp62 std::string Ret; in computeDataLayout() local
65 Ret += "E"; in computeDataLayout()
68 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
73 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout()
76 Ret += "-i64:64"; in computeDataLayout()
79 Ret += "-f128:64"; in computeDataLayout()
83 Ret += "-v128:64"; in computeDataLayout()
86 Ret += "-a:8:16"; in computeDataLayout()
89 Ret += "-n32:64"; in computeDataLayout()
91 return Ret; in computeDataLayout()
/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp66 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator()); in mergeEmptyReturnBlocks() local
67 if (!Ret) continue; in mergeEmptyReturnBlocks()
71 if (Ret != &BB.front()) { in mergeEmptyReturnBlocks()
73 BasicBlock::iterator I(Ret); in mergeEmptyReturnBlocks()
79 (!isa<PHINode>(I) || I != BB.begin() || Ret->getNumOperands() == 0 || in mergeEmptyReturnBlocks()
80 Ret->getOperand(0) != &*I)) in mergeEmptyReturnBlocks()
96 if (Ret->getNumOperands() == 0 || in mergeEmptyReturnBlocks()
97 Ret->getOperand(0) == in mergeEmptyReturnBlocks()
109 RetBlockPHI = PHINode::Create(Ret->getOperand(0)->getType(), in mergeEmptyReturnBlocks()
121 RetBlockPHI->addIncoming(Ret->getOperand(0), &BB); in mergeEmptyReturnBlocks()
DTailRecursionElimination.cpp495 static bool eliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in eliminateRecursiveTailCall() argument
518 for (++BBI; &*BBI != Ret; ++BBI) { in eliminateRecursiveTailCall()
539 if (Ret->getNumOperands() == 1 && Ret->getReturnValue() != CI && in eliminateRecursiveTailCall()
540 !isa<UndefValue>(Ret->getReturnValue()) && in eliminateRecursiveTailCall()
546 if (!isDynamicConstant(Ret->getReturnValue(), CI, Ret)) in eliminateRecursiveTailCall()
550 AccumulatorRecursionEliminationInitVal = getCommonReturnValue(Ret, CI); in eliminateRecursiveTailCall()
555 BasicBlock *BB = Ret->getParent(); in eliminateRecursiveTailCall()
650 AccPN->addIncoming(Ret->getReturnValue(), BB); in eliminateRecursiveTailCall()
664 BranchInst *NewBI = BranchInst::Create(OldEntry, Ret); in eliminateRecursiveTailCall()
667 BB->getInstList().erase(Ret); // Remove return. in eliminateRecursiveTailCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp491 static bool eliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in eliminateRecursiveTailCall() argument
515 for (++BBI; &*BBI != Ret; ++BBI) { in eliminateRecursiveTailCall()
537 if (Ret->getNumOperands() == 1 && Ret->getReturnValue() != CI && in eliminateRecursiveTailCall()
538 !isa<UndefValue>(Ret->getReturnValue()) && in eliminateRecursiveTailCall()
544 if (!isDynamicConstant(Ret->getReturnValue(), CI, Ret)) in eliminateRecursiveTailCall()
548 AccumulatorRecursionEliminationInitVal = getCommonReturnValue(Ret, CI); in eliminateRecursiveTailCall()
553 BasicBlock *BB = Ret->getParent(); in eliminateRecursiveTailCall()
651 AccPN->addIncoming(Ret->getReturnValue(), BB); in eliminateRecursiveTailCall()
665 BranchInst *NewBI = BranchInst::Create(OldEntry, Ret); in eliminateRecursiveTailCall()
668 BB->getInstList().erase(Ret); // Remove return. in eliminateRecursiveTailCall()
[all …]
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DSymbolSize.cpp42 std::vector<std::pair<SymbolRef, uint64_t>> Ret; in computeSymbolSizes() local
49 Ret.push_back({Sym, Sym.getSize()}); in computeSymbolSizes()
50 return Ret; in computeSymbolSizes()
71 return Ret; in computeSymbolSizes()
91 Ret.resize(SymNum); in computeSymbolSizes()
95 Ret[P.Number] = {*P.I, P.Address}; in computeSymbolSizes()
97 return Ret; in computeSymbolSizes()
DObject.cpp73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile() local
74 return wrap(Ret); in LLVMCreateObjectFile()
186 Expected<StringRef> Ret = (*unwrap(SI))->getName(); in LLVMGetSymbolName() local
187 if (!Ret) { in LLVMGetSymbolName()
190 logAllUnhandledErrors(Ret.takeError(), OS, ""); in LLVMGetSymbolName()
194 return Ret->data(); in LLVMGetSymbolName()
198 Expected<uint64_t> Ret = (*unwrap(SI))->getAddress(); in LLVMGetSymbolAddress() local
199 if (!Ret) { in LLVMGetSymbolAddress()
202 logAllUnhandledErrors(Ret.takeError(), OS, ""); in LLVMGetSymbolAddress()
206 return *Ret; in LLVMGetSymbolAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMTargetMachine.cpp131 std::string Ret; in computeDataLayout() local
135 Ret += "e"; in computeDataLayout()
138 Ret += "E"; in computeDataLayout()
140 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
143 Ret += "-p:32:32"; in computeDataLayout()
147 Ret += "-i64:64"; in computeDataLayout()
152 Ret += "-f64:32:64"; in computeDataLayout()
157 Ret += "-v64:32:64-v128:32:128"; in computeDataLayout()
159 Ret += "-v128:64:128"; in computeDataLayout()
163 Ret += "-a:0:32"; in computeDataLayout()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetMachine.cpp119 std::string Ret = "e"; in computeDataLayout() local
121 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout()
126 Ret += "-p:32:32"; in computeDataLayout()
130 Ret += "-i64:64"; in computeDataLayout()
132 Ret += "-i64:32-f64:32"; in computeDataLayout()
134 Ret += "-f64:32:64"; in computeDataLayout()
140 Ret += "-f80:128"; in computeDataLayout()
142 Ret += "-f80:32"; in computeDataLayout()
145 Ret += "-f128:32"; in computeDataLayout()
149 Ret += "-n8:16:32:64"; in computeDataLayout()
[all …]
/external/llvm/lib/Object/
DObject.cpp73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile() local
74 return wrap(Ret); in LLVMCreateObjectFile()
186 Expected<StringRef> Ret = (*unwrap(SI))->getName(); in LLVMGetSymbolName() local
187 if (!Ret) { in LLVMGetSymbolName()
190 logAllUnhandledErrors(Ret.takeError(), OS, ""); in LLVMGetSymbolName()
194 return Ret->data(); in LLVMGetSymbolName()
198 Expected<uint64_t> Ret = (*unwrap(SI))->getAddress(); in LLVMGetSymbolAddress() local
199 if (!Ret) { in LLVMGetSymbolAddress()
202 logAllUnhandledErrors(Ret.takeError(), OS, ""); in LLVMGetSymbolAddress()
206 return *Ret; in LLVMGetSymbolAddress()
DArchive.cpp46 uint32_t Ret; in getSize() local
47 if (llvm::StringRef(Size, sizeof(Size)).rtrim(" ").getAsInteger(10, Ret)) in getSize()
49 return Ret; in getSize()
53 unsigned Ret; in getAccessMode() local
54 if (StringRef(AccessMode, sizeof(AccessMode)).rtrim(' ').getAsInteger(8, Ret)) in getAccessMode()
56 return static_cast<sys::fs::perms>(Ret); in getAccessMode()
65 sys::TimeValue Ret; in getLastModified() local
66 Ret.fromEpochTime(Seconds); in getLastModified()
67 return Ret; in getLastModified()
71 unsigned Ret; in getUID() local
[all …]
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp32 std::string Ret = T.getArch() == Triple::sparcel ? "e" : "E"; in computeDataLayout() local
33 Ret += "-m:e"; in computeDataLayout()
37 Ret += "-p:32:32"; in computeDataLayout()
40 Ret += "-i64:64"; in computeDataLayout()
45 Ret += "-n32:64"; in computeDataLayout()
47 Ret += "-f128:64-n32"; in computeDataLayout()
50 Ret += "-S128"; in computeDataLayout()
52 Ret += "-S64"; in computeDataLayout()
54 return Ret; in computeDataLayout()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp32 std::string Ret = T.getArch() == Triple::sparcel ? "e" : "E"; in computeDataLayout() local
33 Ret += "-m:e"; in computeDataLayout()
37 Ret += "-p:32:32"; in computeDataLayout()
40 Ret += "-i64:64"; in computeDataLayout()
45 Ret += "-n32:64"; in computeDataLayout()
47 Ret += "-f128:64-n32"; in computeDataLayout()
50 Ret += "-S128"; in computeDataLayout()
52 Ret += "-S64"; in computeDataLayout()
54 return Ret; in computeDataLayout()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/
DTailDuplication-convergent.ll13 br i1 %cond2, label %Ret, label %L1
14 Ret:
24 br label %Ret
33 br i1 %cond2, label %Ret, label %L1
34 Ret:
44 br label %Ret
/external/llvm/test/CodeGen/NVPTX/
DTailDuplication-convergent.ll13 br i1 %cond2, label %Ret, label %L1
14 Ret:
24 br label %Ret
33 br i1 %cond2, label %Ret, label %L1
34 Ret:
44 br label %Ret
/external/llvm/tools/llvm-c-test/
Dmodule.c38 LLVMBool Ret; in llvm_load_module() local
43 Ret = LLVMGetBitcodeModule2(MB, &M); in llvm_load_module()
45 Ret = LLVMParseBitcode2(MB, &M); in llvm_load_module()
48 Ret = LLVMGetBitcodeModule(MB, &M, &msg); in llvm_load_module()
50 Ret = LLVMParseBitcode(MB, &M, &msg); in llvm_load_module()
53 if (Ret) { in llvm_load_module()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Dmodule.c37 LLVMBool Ret; in llvm_load_module() local
42 Ret = LLVMGetBitcodeModule2(MB, &M); in llvm_load_module()
44 Ret = LLVMParseBitcode2(MB, &M); in llvm_load_module()
47 Ret = LLVMGetBitcodeModule(MB, &M, &msg); in llvm_load_module()
49 Ret = LLVMParseBitcode(MB, &M, &msg); in llvm_load_module()
52 if (Ret) { in llvm_load_module()

12345678910>>...21