| /NextBSD/contrib/llvm/include/llvm/CodeGen/ |
| HD | CallingConvLower.h | 80 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 …]
|
| /NextBSD/contrib/llvm/lib/Target/SystemZ/ |
| HD | SystemZTargetMachine.cpp | 49 std::string Ret = ""; in computeDataLayout() local 52 Ret += "E"; in computeDataLayout() 55 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout() 60 Ret += "-i1:8:16-i8:8:16"; in computeDataLayout() 63 Ret += "-i64:64"; in computeDataLayout() 66 Ret += "-f128:64"; in computeDataLayout() 70 Ret += "-v128:64"; in computeDataLayout() 73 Ret += "-a:8:16"; in computeDataLayout() 76 Ret += "-n32:64"; in computeDataLayout() 78 return Ret; in computeDataLayout()
|
| /NextBSD/contrib/llvm/lib/Target/X86/ |
| HD | X86TargetMachine.cpp | 57 std::string Ret = "e"; in computeDataLayout() local 59 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout() 64 Ret += "-p:32:32"; in computeDataLayout() 68 Ret += "-i64:64"; in computeDataLayout() 70 Ret += "-f64:32:64"; in computeDataLayout() 76 Ret += "-f80:128"; in computeDataLayout() 78 Ret += "-f80:32"; in computeDataLayout() 82 Ret += "-n8:16:32:64"; in computeDataLayout() 84 Ret += "-n8:16:32"; in computeDataLayout() 88 Ret += "-a:0:32-S32"; in computeDataLayout() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/Sparc/ |
| HD | SparcTargetMachine.cpp | 30 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()
|
| /NextBSD/contrib/llvm/lib/Transforms/Scalar/ |
| HD | TailRecursionElimination.cpp | 106 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, 112 ReturnInst *Ret, BasicBlock *&OldEntry, 408 if (ReturnInst *Ret = dyn_cast<ReturnInst>(BB->getTerminator())) { in runTRE() local 409 bool Change = ProcessReturningBlock(Ret, OldEntry, TailCallsAreMarkedTail, in runTRE() 411 if (!Change && BB->getFirstNonPHIOrDbg() == Ret) in runTRE() 412 Change = FoldReturnAndProcessPred(BB, Ret, OldEntry, in runTRE() 617 bool TailCallElim::EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in EliminateRecursiveTailCall() argument 640 for (++BBI; &*BBI != Ret; ++BBI) { in EliminateRecursiveTailCall() 661 if (Ret->getNumOperands() == 1 && Ret->getReturnValue() != CI && in EliminateRecursiveTailCall() 662 !isa<UndefValue>(Ret->getReturnValue()) && in EliminateRecursiveTailCall() [all …]
|
| HD | SimplifyCFGPass.cpp | 63 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator()); in mergeEmptyReturnBlocks() local 64 if (!Ret) continue; in mergeEmptyReturnBlocks() 68 if (Ret != &BB.front()) { in mergeEmptyReturnBlocks() 70 BasicBlock::iterator I = Ret; in mergeEmptyReturnBlocks() 77 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()
|
| /NextBSD/contrib/llvm/lib/Target/ARM/ |
| HD | ARMTargetMachine.cpp | 121 std::string Ret = ""; in computeDataLayout() local 125 Ret += "e"; in computeDataLayout() 128 Ret += "E"; in computeDataLayout() 130 Ret += DataLayout::getManglingComponent(TT); in computeDataLayout() 133 Ret += "-p:32:32"; in computeDataLayout() 137 Ret += "-i64:64"; in computeDataLayout() 142 Ret += "-f64:32:64"; in computeDataLayout() 147 Ret += "-v64:32:64-v128:32:128"; in computeDataLayout() 149 Ret += "-v128:64:128"; in computeDataLayout() 153 Ret += "-a:0:32"; in computeDataLayout() [all …]
|
| /NextBSD/contrib/llvm/lib/Object/ |
| HD | Archive.cpp | 47 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 …]
|
| HD | SymbolSize.cpp | 48 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()
|
| HD | Object.cpp | 70 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile() local 71 return wrap(Ret); in LLVMCreateObjectFile() 176 ErrorOr<StringRef> Ret = (*unwrap(SI))->getName(); in LLVMGetSymbolName() local 177 if (std::error_code EC = Ret.getError()) in LLVMGetSymbolName() 179 return Ret->data(); in LLVMGetSymbolName() 183 ErrorOr<uint64_t> Ret = (*unwrap(SI))->getAddress(); in LLVMGetSymbolAddress() local 184 if (std::error_code EC = Ret.getError()) in LLVMGetSymbolAddress() 186 return *Ret; in LLVMGetSymbolAddress()
|
| HD | COFFObjectFile.cpp | 361 DataRefImpl Ret; in section_rel_begin() local 362 Ret.p = reinterpret_cast<uintptr_t>(begin); in section_rel_begin() 363 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_begin() 371 DataRefImpl Ret; in section_rel_end() local 372 Ret.p = reinterpret_cast<uintptr_t>(I); in section_rel_end() 373 return relocation_iterator(RelocationRef(Ret, this)); in section_rel_end() 665 DataRefImpl Ret; in symbol_begin_impl() local 666 Ret.p = getSymbolTable(); in symbol_begin_impl() 667 return basic_symbol_iterator(SymbolRef(Ret, this)); in symbol_begin_impl() 672 DataRefImpl Ret; in symbol_end_impl() local [all …]
|
| HD | IRObjectFile.cpp | 247 DataRefImpl Ret; in symbol_begin_impl() local 248 Ret.p = skipEmpty(I, *M); in symbol_begin_impl() 249 return basic_symbol_iterator(BasicSymbolRef(Ret, this)); in symbol_begin_impl() 253 DataRefImpl Ret; in symbol_end_impl() local 256 Ret.p = 3 | NumAsm; in symbol_end_impl() 257 return basic_symbol_iterator(BasicSymbolRef(Ret, this)); in symbol_end_impl()
|
| /NextBSD/contrib/llvm/lib/Target/Mips/ |
| HD | MipsTargetMachine.cpp | 50 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()
|
| HD | MipsISelDAGToDAG.cpp | 51 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()
|
| /NextBSD/contrib/llvm/lib/Target/PowerPC/ |
| HD | PPCTargetMachine.cpp | 70 std::string Ret; in getDataLayoutString() local 74 Ret = "e"; in getDataLayoutString() 76 Ret = "E"; in getDataLayoutString() 78 Ret += DataLayout::getManglingComponent(T); in getDataLayoutString() 83 Ret += "-p:32:32"; in getDataLayoutString() 88 Ret += "-i64:64"; in getDataLayoutString() 90 Ret += "-f64:32:64"; in getDataLayoutString() 94 Ret += "-n32:64"; in getDataLayoutString() 96 Ret += "-n32"; in getDataLayoutString() 98 return Ret; in getDataLayoutString()
|
| /NextBSD/sys/contrib/dev/acpica/os_specific/service_layers/ |
| HD | oslibcfs.c | 235 int Ret = 0; in AcpiOsSetFileOffset() local 240 Ret = fseek (File, Offset, SEEK_SET); in AcpiOsSetFileOffset() 244 Ret = fseek (File, Offset, SEEK_END); in AcpiOsSetFileOffset() 247 if (Ret < 0) in AcpiOsSetFileOffset()
|
| /NextBSD/contrib/llvm/lib/LibDriver/ |
| HD | LibDriver.cpp | 70 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()
|
| /NextBSD/contrib/llvm/tools/llvm-ar/ |
| HD | llvm-ar.cpp | 506 std::vector<NewArchiveIterator> Ret; in computeNewArchiveMembers() local 512 int Pos = Ret.size(); in computeNewArchiveMembers() 529 addMember(Ret, Child, Name); in computeNewArchiveMembers() 532 addMember(Ret, *MemberI, Name); in computeNewArchiveMembers() 549 return Ret; in computeNewArchiveMembers() 555 InsertPos = Ret.size(); in computeNewArchiveMembers() 557 assert(unsigned(InsertPos) <= Ret.size()); in computeNewArchiveMembers() 558 Ret.insert(Ret.begin() + InsertPos, Moved.begin(), Moved.end()); in computeNewArchiveMembers() 560 Ret.insert(Ret.begin() + InsertPos, Members.size(), in computeNewArchiveMembers() 565 addMember(Ret, Member, Name, Pos); in computeNewArchiveMembers() [all …]
|
| /NextBSD/contrib/llvm/lib/Target/AMDGPU/ |
| HD | SIAnnotateControlFlow.cpp | 197 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()
|
| /NextBSD/contrib/llvm/include/llvm/Object/ |
| HD | COFFYAML.h | 25 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);
|
| /NextBSD/contrib/llvm/tools/bugpoint/ |
| HD | Miscompilation.cpp | 190 bool Ret = TestFuncs(Suffix, Error); in doTest() local 193 if (Ret) in doTest() 197 bool Ret = TestFuncs(Prefix, Error); in doTest() local 200 if (Ret) in doTest() 458 bool Ret = TestFuncs(Suffix, Error); in doTest() local 461 if (Ret) in doTest() 465 bool Ret = TestFuncs(Prefix, Error); in doTest() local 468 if (Ret) in doTest() 524 bool Ret = TestFn(BD, New.get(), ToNotOptimize, Error); in TestFuncs() local 526 return Ret; in TestFuncs() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Checkers/ |
| HD | ObjCRetainCount.h | 209 RetEffect Ret; variable 212 CallEffects(const RetEffect &R) : Ret(R) {} in CallEffects() 222 RetEffect getReturnValue() const { return Ret; } in getReturnValue()
|
| /NextBSD/contrib/llvm/include/llvm/Option/ |
| HD | Option.h | 124 std::string Ret = getPrefix(); in getPrefixedName() local 125 Ret += getName(); in getPrefixedName() 126 return Ret; in getPrefixedName()
|
| /NextBSD/contrib/llvm/lib/Target/NVPTX/ |
| HD | NVPTXTargetMachine.cpp | 78 std::string Ret = "e"; in computeDataLayout() local 81 Ret += "-p:32:32"; in computeDataLayout() 83 Ret += "-i64:64-v16:16-v32:32-n16:32:64"; in computeDataLayout() 85 return Ret; in computeDataLayout()
|
| /NextBSD/contrib/llvm/lib/Support/ |
| HD | MemoryBuffer.cpp | 107 auto *Ret = new (NamedBufferAlloc(BufferName)) in getMemBuffer() local 109 return std::unique_ptr<MemoryBuffer>(Ret); in getMemBuffer() 151 auto *Ret = new (Mem) MemoryBufferMem(StringRef(Buf, Size), true); in getNewUninitMemBuffer() local 152 return std::unique_ptr<MemoryBuffer>(Ret); in getNewUninitMemBuffer() 266 ErrorOr<std::unique_ptr<MemoryBuffer>> Ret = in getFileAux() local 270 return Ret; in getFileAux()
|