reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
docs/CodingStandards.rst
  284   ///
  285   /// \returns true on success.
  286   bool fooBar(bool Baz, StringRef Quux, std::vector<int> &Result);
include/llvm/ADT/DeltaAlgorithm.h
   66   /// predicate.
   67   /// \return - True on success.
   68   bool Search(const changeset_ty &Changes, const changesetlist_ty &Sets,
include/llvm/CodeGen/GlobalISel/RegBankSelect.h
  515   /// Assign the register bank of each operand of \p MI.
  516   /// \return True on success, false otherwise.
  517   bool assignInstr(MachineInstr &MI);
include/llvm/CodeGen/TargetLowering.h
 2464   /// Lower an interleaved load to target specific intrinsics. Return
 2465   /// true on success.
 2466   ///
include/llvm/CodeGen/TargetLowering.h
 2478   /// Lower an interleaved store to target specific intrinsics. Return
 2479   /// true on success.
 2480   ///
include/llvm/CodeGen/TargetLowering.h
 3206   /// Attempt to simplify any target nodes based on the demanded vector
 3207   /// elements, returning true on success. Otherwise, analyze the expression and
 3208   /// return a mask of KnownUndef and KnownZero elements for the expression
include/llvm/CodeGen/TargetLowering.h
 3215   /// Attempt to simplify any target nodes based on the demanded bits/elts,
 3216   /// returning true on success. Otherwise, analyze the
 3217   /// expression and return a mask of KnownOne and KnownZero bits for the
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  264     /// 0-indexed and the primary source file has the index 0.
  265     /// Returns true on success.
  266     bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir,
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  272     /// Fills the Result argument with the file and line information
  273     /// corresponding to Address. Returns true on success.
  274     bool getFileLineInfoForAddress(object::SectionedAddress Address,
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
  129   /// \param Params DWARF parameters to help interpret forms.
  130   /// \returns true on success, false if the form was not skipped.
  131   bool skipValue(DataExtractor DebugInfoData, uint64_t *OffsetPtr,
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
  144   /// \param FormParams DWARF parameters to help interpret forms.
  145   /// \returns true on success, false if the form was not skipped.
  146   static bool skipValue(dwarf::Form Form, DataExtractor DebugInfoData,
include/llvm/IR/Instruction.h
  314   /// Retrieve the raw weight values of a conditional branch or select.
  315   /// Returns true on success with profile weights filled in.
  316   /// Returns false if no metadata or invalid metadata was found.
include/llvm/IR/Instruction.h
  319   /// Retrieve total raw weight values of a branch.
  320   /// Returns true on success with profile total weights filled in.
  321   /// Returns false if no metadata was found.
include/llvm/LTO/legacy/LTOCodeGenerator.h
   73 
   74   /// Merge given module.  Return true on success.
   75   ///
include/llvm/LTO/legacy/LTOCodeGenerator.h
  133   /// Write the merged module to the file specified by the given path.  Return
  134   /// true on success.
  135   ///
include/llvm/LTO/legacy/LTOCodeGenerator.h
  159 
  160   /// Optimizes the merged module.  Returns true on success.
  161   ///
include/llvm/MC/MCAsmBackend.h
  166   ///
  167   /// \return - True on success.
  168   virtual bool writeNopData(raw_ostream &OS, uint64_t Count) const = 0;
include/llvm/MC/MCAsmLayout.h
   91   /// layout.
   92   /// \return True on success.
   93   bool getSymbolOffset(const MCSymbol &S, uint64_t &Val) const;
include/llvm/MC/MCExpr.h
   88   /// evaluated.
   89   /// \return - True on success.
   90   bool evaluateAsAbsolute(int64_t &Res, const MCAsmLayout &Layout,
include/llvm/MC/MCExpr.h
  104   /// \param Fixup - The Fixup object if available.
  105   /// \return - True on success.
  106   bool evaluateAsRelocatable(MCValue &Res, const MCAsmLayout *Layout,
include/llvm/MC/MCInstrAnalysis.h
  149   /// Given a branch instruction try to get the address the branch
  150   /// targets. Return true on success, and the address in Target.
  151   virtual bool
include/llvm/MC/MCStreamer.h
  840   /// specify that file's checksum information.  This implements the '.cv_file 4
  841   /// "foo.c"' assembler directive. Returns true on success.
  842   virtual bool EmitCVFileDirective(unsigned FileNo, StringRef Filename,
include/llvm/Support/CommandLine.h
   54 //
   55 // Returns true on success. Otherwise, this will print the error message to
   56 // stderr and exit if \p Errs is not set (nullptr by default), or print the
include/llvm/Support/ConvertUTF.h
  193  * the first character which could not be converted.
  194  * \return true on success.
  195  */
include/llvm/Support/ConvertUTF.h
  200 * Converts a UTF-8 StringRef to a std::wstring.
  201 * \return true on success.
  202 */
include/llvm/Support/ConvertUTF.h
  206 * Converts a UTF-8 C-string to a std::wstring.
  207 * \return true on success.
  208 */
include/llvm/Support/ConvertUTF.h
  212 * Converts a std::wstring to a UTF-8 encoded std::string.
  213 * \return true on success.
  214 */
include/llvm/Support/ConvertUTF.h
  225  *
  226  * \returns true on success.
  227  */
include/llvm/Support/ConvertUTF.h
  267  * \param [out] Out Converted UTF-8 is stored here on success.
  268  * \returns true on success
  269  */
include/llvm/Support/ConvertUTF.h
  276 * \param [out] Out Converted UTF-8 is stored here on success.
  277 * \returns true on success
  278 */
include/llvm/Support/ConvertUTF.h
  283  *
  284  * \returns true on success
  285  */
include/llvm/Support/Host.h
   51   ///
   52   /// \return - True on success.
   53   bool getHostCPUFeatures(StringMap<bool> &Features);
include/llvm/Target/GlobalISel/Target.td
   42   // and should have the same number of ResultX arguments as the number of
   43   // result operands. It must return true on successful match and false
   44   // otherwise. If it returns true, then all the ResultX arguments must be
lib/Analysis/LazyValueInfo.cpp
  389     /// Push BV onto BlockValueStack unless it's already in there.
  390     /// Returns true on success.
  391     bool pushBlockValue(const std::pair<BasicBlock *, Value *> &BV) {
lib/Analysis/MemoryDependenceAnalysis.cpp
 1088 ///
 1089 /// This function returns true on success, or false to indicate that it could
 1090 /// not compute dependence information for some reason.  This should be treated
lib/CodeGen/InlineSpiller.cpp
  786 /// @param LoadMI Load instruction to use instead of stack slot when non-null.
  787 /// @return       True on success.
  788 bool InlineSpiller::
lib/CodeGen/InterleavedLoadCombinePass.cpp
   95   /// Replace interleaved load candidates. It does additional
   96   /// analyses if this makes sense. Returns true on success and false
   97   /// of nothing has been changed.
lib/CodeGen/RegisterCoalescer.cpp
  210 
  211     /// Attempt joining two virtual registers. Return true on success.
  212     bool joinVirtRegs(CoalescerPair &CP);
lib/MC/MCExpr.cpp
  606 ///
  607 /// \returns True on success, false if the result is not representable in an
  608 /// MCValue.
lib/Target/AArch64/AArch64InstrInfo.cpp
 1438 ///
 1439 /// Return true on success.
 1440 bool AArch64InstrInfo::substituteCmpToZero(
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
   58 
   59   /// \returns True on success, false on failure.
   60   virtual bool EmitISAVersion(StringRef IsaVersionString) = 0;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
   61 
   62   /// \returns True on success, false on failure.
   63   virtual bool EmitHSAMetadataV2(StringRef HSAMetadataString);
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
   64 
   65   /// \returns True on success, false on failure.
   66   virtual bool EmitHSAMetadataV3(StringRef HSAMetadataString);
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
   73   ///
   74   /// \returns True on success, false on failure.
   75   virtual bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) = 0;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
   76 
   77   /// \returns True on success, false on failure.
   78   virtual bool EmitHSAMetadata(const AMDGPU::HSAMD::Metadata &HSAMetadata) = 0;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
   79 
   80   /// \returns True on success, false on failure.
   81   virtual bool EmitCodeEnd() = 0;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  114 
  115   /// \returns True on success, false on failure.
  116   bool EmitISAVersion(StringRef IsaVersionString) override;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  117 
  118   /// \returns True on success, false on failure.
  119   bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) override;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  120 
  121   /// \returns True on success, false on failure.
  122   bool EmitHSAMetadata(const AMDGPU::HSAMD::Metadata &HSAMetadata) override;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  123 
  124   /// \returns True on success, false on failure.
  125   bool EmitCodeEnd() override;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  161 
  162   /// \returns True on success, false on failure.
  163   bool EmitISAVersion(StringRef IsaVersionString) override;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  164 
  165   /// \returns True on success, false on failure.
  166   bool EmitHSAMetadata(msgpack::Document &HSAMetadata, bool Strict) override;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  167 
  168   /// \returns True on success, false on failure.
  169   bool EmitHSAMetadata(const AMDGPU::HSAMD::Metadata &HSAMetadata) override;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  170 
  171   /// \returns True on success, false on failure.
  172   bool EmitCodeEnd() override;
lib/Target/AMDGPU/SIFoldOperands.cpp
  446 // for each subreg, tracking it to foldable inline immediate if possible.
  447 // Returns true on success.
  448 static bool getRegSeqInit(
lib/Target/ARM/Thumb2SizeReduction.cpp
  206 
  207     /// ReduceMI - Attempt to reduce MI, return true on success.
  208     bool ReduceMI(MachineBasicBlock &MBB, MachineInstr *MI,
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
  519 ///
  520 /// \return - True on success.
  521 bool MipsAsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
lib/Target/Mips/MicroMipsSizeReduction.cpp
  152 
  153   /// Attempts to reduce MI, returns true on success.
  154   bool ReduceMI(const MachineBasicBlock::instr_iterator &MII,
lib/Target/Mips/MicroMipsSizeReduction.cpp
  157   // Attempts to reduce LW/SW instruction into LWSP/SWSP,
  158   // returns true on success.
  159   static bool ReduceXWtoXWSP(ReduceEntryFunArgs *Arguments);
lib/Target/Mips/MicroMipsSizeReduction.cpp
  161   // Attempts to reduce two LW/SW instructions into LWP/SWP instruction,
  162   // returns true on success.
  163   static bool ReduceXWtoXWP(ReduceEntryFunArgs *Arguments);
lib/Target/Mips/MicroMipsSizeReduction.cpp
  165   // Attempts to reduce LBU/LHU instruction into LBU16/LHU16,
  166   // returns true on success.
  167   static bool ReduceLXUtoLXU16(ReduceEntryFunArgs *Arguments);
lib/Target/Mips/MicroMipsSizeReduction.cpp
  169   // Attempts to reduce SB/SH instruction into SB16/SH16,
  170   // returns true on success.
  171   static bool ReduceSXtoSX16(ReduceEntryFunArgs *Arguments);
lib/Target/Mips/MicroMipsSizeReduction.cpp
  173   // Attempts to reduce two MOVE instructions into MOVEP instruction,
  174   // returns true on success.
  175   static bool ReduceMoveToMovep(ReduceEntryFunArgs *Arguments);
lib/Target/Mips/MicroMipsSizeReduction.cpp
  176 
  177   // Attempts to reduce arithmetic instructions, returns true on success.
  178   static bool ReduceArithmeticInstructions(ReduceEntryFunArgs *Arguments);
lib/Target/Mips/MicroMipsSizeReduction.cpp
  180   // Attempts to reduce ADDIU into ADDIUSP instruction,
  181   // returns true on success.
  182   static bool ReduceADDIUToADDIUSP(ReduceEntryFunArgs *Arguments);
lib/Target/Mips/MicroMipsSizeReduction.cpp
  184   // Attempts to reduce ADDIU into ADDIUR1SP instruction,
  185   // returns true on success.
  186   static bool ReduceADDIUToADDIUR1SP(ReduceEntryFunArgs *Arguments);
lib/Target/Mips/MicroMipsSizeReduction.cpp
  188   // Attempts to reduce XOR into XOR16 instruction,
  189   // returns true on success.
  190   static bool ReduceXORtoXOR16(ReduceEntryFunArgs *Arguments);
lib/Target/Mips/MipsDelaySlotFiller.cpp
  260     /// This function searches range [Begin, End) for an instruction that can be
  261     /// moved to the delay slot. Returns true on success.
  262     template<typename IterTy>
lib/Target/Mips/MipsDelaySlotFiller.cpp
  267     /// This function searches in the backward direction for an instruction that
  268     /// can be moved to the delay slot. Returns true on success.
  269     bool searchBackward(MachineBasicBlock &MBB, MachineInstr &Slot) const;
lib/Target/Mips/MipsDelaySlotFiller.cpp
  271     /// This function searches MBB in the forward direction for an instruction
  272     /// that can be moved to the delay slot. Returns true on success.
  273     bool searchForward(MachineBasicBlock &MBB, Iter Slot) const;
lib/Target/SystemZ/SystemZElimCompare.cpp
  193 // of -1 and if CCUsers is a single branch on nonzero, eliminate the addition
  194 // and convert the branch to a BRCT(G) or BRCTH.  Return true on success.
  195 bool SystemZElimCompare::convertToBRCT(
lib/Target/SystemZ/SystemZElimCompare.cpp
  247 // instruction and if CCUsers is a single conditional trap on zero, eliminate
  248 // the load and convert the branch to a load-and-trap.  Return true on success.
  249 bool SystemZElimCompare::convertToLoadAndTrap(
lib/Target/SystemZ/SystemZElimCompare.cpp
  287 // If MI is a load instruction, try to convert it into a LOAD AND TEST.
  288 // Return true on success.
  289 bool SystemZElimCompare::convertToLoadAndTest(
lib/Target/SystemZ/SystemZElimCompare.cpp
  311 // opcode MI will have if this succeeds.  Try to adjust CCUsers so that they
  312 // test the result of MI directly, returning true on success.  Leave
  313 // everything unchanged on failure.
lib/Target/SystemZ/SystemZElimCompare.cpp
  419 // Try to optimize cases where comparison instruction Compare is testing
  420 // a value against zero.  Return true on success and if Compare should be
  421 // deleted as dead.  CCUsers is the list of instructions that use the CC
lib/Target/SystemZ/SystemZElimCompare.cpp
  489 // Try to fuse comparison instruction Compare into a later branch.
  490 // Return true on success and if Compare is therefore redundant.
  491 bool SystemZElimCompare::fuseCompareOperations(
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  153 
  154   // Try to describe N in AM, returning true on success.
  155   bool selectAddress(SDValue N, SystemZAddressingMode &AM) const;
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  163   // Try to match Addr as a FormBD address with displacement type DR.
  164   // Return true on success, storing the base and displacement in
  165   // Base and Disp respectively.
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  169   // Try to match Addr as a FormBDX address with displacement type DR.
  170   // Return true on success and if the result had no index.  Store the
  171   // base and displacement in Base and Disp respectively.
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  175   // Try to match Addr as a FormBDX* address of form Form with
  176   // displacement type DR.  Return true on success, storing the base,
  177   // displacement and index in Base, Disp and Index respectively.
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  264   // and index, where the index is element Elem of a vector.
  265   // Return true on success, storing the base, displacement and vector
  266   // in Base, Disp and Index respectively.
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  275   // Try to update RxSBG so that only the bits of RxSBG.Input in Mask are used.
  276   // Return true on success.
  277   bool refineRxSBGMask(RxSBGOperands &RxSBG, uint64_t Mask) const;
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  279   // Try to fold some of RxSBG.Input into other fields of RxSBG.
  280   // Return true on success.
  281   bool expandRxSBG(RxSBGOperands &RxSBG) const;
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  315 /// bytes.
  316 /// \return - true on success, false on failure
  317 bool X86AsmBackend::writeNopData(raw_ostream &OS, uint64_t Count) const {
lib/Transforms/Scalar/GuardWidening.cpp
  242   /// Parse \p CheckCond into a conjunction (logical-and) of range checks; and
  243   /// append them to \p Checks.  Returns true on success, may clobber \c Checks
  244   /// on failure.
lib/Transforms/Scalar/GuardWidening.cpp
  253   /// Combine the checks in \p Checks into a smaller set of checks and append
  254   /// them into \p CombinedChecks.  Return true on success (i.e. all of checks
  255   /// in \p Checks were combined into \p CombinedChecks).  Clobbers \p Checks
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  633 
  634   // Entry point for the algorithm.  Returns true on success.
  635   bool run();
lib/Transforms/Scalar/Scalarizer.cpp
  415 
  416 // Try to fill in Layout from Ty, returning true on success.  Alignment is
  417 // the alignment of the vector, or 0 if the ABI default should be used.
lib/Transforms/Utils/FlattenCFG.cpp
   64 /// branch, attempt to use parallel and/or for the branch condition. \returns
   65 /// true on success.
   66 ///
projects/compiler-rt/lib/asan/asan_allocator.cpp
  547   // Set quarantine flag if chunk is allocated, issue ASan error report on
  548   // available and quarantined chunks. Return true on success, false otherwise.
  549   bool AtomicallySetQuarantineFlagIfAllocated(AsanChunk *m, void *ptr,
projects/compiler-rt/lib/interception/interception_win.h
   23 namespace __interception {
   24 // All the functions in the OverrideFunction() family return true on success,
   25 // false on failure (including "couldn't find the function").
projects/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h
  330   // Tries to handle the lock event w/o writing to global state.
  331   // Returns true on success.
  332   // This operation is thread-safe as it only touches the dtls
projects/compiler-rt/lib/sanitizer_common/sanitizer_file.h
   61 
   62 // Return true on success, false on error.
   63 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size,
tools/clang/docs/ThreadSafetyAnalysis.rst
  846 
  847     // Try to acquire the mutex.  Returns true on success, and false on failure.
  848     bool TryLock() TRY_ACQUIRE(true);
tools/clang/include/clang/AST/FormatString.h
  601   /// Changes the specifier and length according to a QualType, retaining any
  602   /// flags or options. Returns true on success, or false when a conversion
  603   /// was not successful.
tools/clang/include/clang/Frontend/CompilerInstance.h
  223   /// \param Act - The action to execute.
  224   /// \return - True on success.
  225   //
tools/clang/include/clang/Frontend/CompilerInstance.h
  762   ///
  763   /// \return True on success.
  764   bool InitializeSourceManager(const FrontendInputFile &Input);
tools/clang/include/clang/Frontend/CompilerInstance.h
  768   ///
  769   /// \return True on success.
  770   static bool InitializeSourceManager(const FrontendInputFile &Input,
tools/clang/include/clang/Frontend/CompilerInvocation.h
  148   /// Create a compiler invocation from a list of input options.
  149   /// \returns true on success.
  150   ///
tools/clang/include/clang/Frontend/FrontendAction.h
   76   ///
   77   /// \return True on success; on failure BeginSourceFileAction(),
   78   /// ExecuteAction() and EndSourceFileAction() will not be called.