Home
last modified time | relevance | path

Searched refs:IsRead (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenSchedule.h53 bool IsRead; member
62 : Index(0), TheDef(nullptr), IsRead(false), IsAlias(false), in CodeGenSchedRW()
67 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW()
80 : Index(Idx), Name(Name), TheDef(nullptr), IsRead(Read), IsAlias(false), in CodeGenSchedRW()
527 const CodeGenSchedRW &getSchedRW(unsigned Idx, bool IsRead) const { in getSchedRW() argument
528 return IsRead ? getSchedRead(Idx) : getSchedWrite(Idx); in getSchedRW()
531 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW() local
532 unsigned Idx = getSchedRWIdx(Def, IsRead); in getSchedRW()
533 return const_cast<CodeGenSchedRW &>(IsRead ? getSchedRead(Idx) in getSchedRW()
540 unsigned getSchedRWIdx(const Record *Def, bool IsRead) const;
[all …]
H A DCodeGenSchedule.cpp730 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { in genRWName() argument
735 Name += getSchedRW(I, IsRead).Name; in genRWName()
742 bool IsRead) const { in getSchedRWIdx()
743 const std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in getSchedRWIdx()
773 bool IsRead) const { in findRWs()
775 unsigned Idx = getSchedRWIdx(RWDef, IsRead); in findRWs()
782 bool IsRead) const { in expandRWSequence()
783 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in expandRWSequence()
791 expandRWSequence(I, RWSeq, IsRead); in expandRWSequence()
799 unsigned RWIdx, IdxVec &RWSeq, bool IsRead, in expandRWSeqForProc() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp355 void MemoryOpRemark::visitPtr(Value *Ptr, bool IsRead, DiagnosticInfoIROptimization &R) { in visitPtr() argument
372 R << (IsRead ? "\n Read Variables: " : "\n Written Variables: "); in visitPtr()
379 R << NV(IsRead ? "RVarName" : "WVarName", *VI.Name); in visitPtr()
381 R << NV(IsRead ? "RVarName" : "WVarName", "<unknown>"); in visitPtr()
383 R << " (" << NV(IsRead ? "RVarSize" : "WVarSize", *VI.Size) << " bytes)"; in visitPtr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h359 WeakUseTy(const Expr *Use, bool IsRead) : Rep(Use, IsRead) {} in WeakUseTy() argument
420 inline void recordUseOfWeak(const ExprT *E, bool IsRead = true);
1087 void FunctionScopeInfo::recordUseOfWeak(const ExprT *E, bool IsRead) { in recordUseOfWeak() argument
1090 Uses.push_back(WeakUseTy(E, IsRead)); in recordUseOfWeak()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp620 bool IsRead = false; in determinePointerAccessAttrs() local
629 if (IsWrite && IsRead) in determinePointerAccessAttrs()
652 IsRead = true; in determinePointerAccessAttrs()
701 IsRead = true; in determinePointerAccessAttrs()
717 IsRead = true; in determinePointerAccessAttrs()
742 if (IsWrite && IsRead) in determinePointerAccessAttrs()
744 else if (IsRead) in determinePointerAccessAttrs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp8250 bool IsRead = MI.getOpcode() == TargetOpcode::G_READ_REGISTER; in lowerReadWriteRegister() local
8251 int NameOpIdx = IsRead ? 1 : 0; in lowerReadWriteRegister()
8252 int ValRegIndex = IsRead ? 0 : 1; in lowerReadWriteRegister()
8263 if (IsRead) in lowerReadWriteRegister()