Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenSchedule.h46 bool IsRead; member
55 : Index(0), TheDef(nullptr), IsRead(false), IsAlias(false), in CodeGenSchedRW()
60 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW()
73 : Index(Idx), Name(Name), TheDef(nullptr), IsRead(Read), IsAlias(false), in CodeGenSchedRW()
517 const CodeGenSchedRW &getSchedRW(unsigned Idx, bool IsRead) const { in getSchedRW() argument
518 return IsRead ? getSchedRead(Idx) : getSchedWrite(Idx); in getSchedRW()
521 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW() local
522 unsigned Idx = getSchedRWIdx(Def, IsRead); in getSchedRW()
524 IsRead ? getSchedRead(Idx) : getSchedWrite(Idx)); in getSchedRW()
530 unsigned getSchedRWIdx(const Record *Def, bool IsRead) const;
[all …]
H A DCodeGenSchedule.cpp717 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { in genRWName() argument
722 Name += getSchedRW(I, IsRead).Name; in genRWName()
729 bool IsRead) const { in getSchedRWIdx()
730 const std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in getSchedRWIdx()
772 bool IsRead) const { in findRWs()
774 unsigned Idx = getSchedRWIdx(RWDef, IsRead); in findRWs()
781 bool IsRead) const { in expandRWSequence()
782 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 …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp352 void MemoryOpRemark::visitPtr(Value *Ptr, bool IsRead, DiagnosticInfoIROptimization &R) { in visitPtr() argument
369 R << (IsRead ? "\n Read Variables: " : "\n Written Variables: "); in visitPtr()
376 R << NV(IsRead ? "RVarName" : "WVarName", *VI.Name); in visitPtr()
378 R << NV(IsRead ? "RVarName" : "WVarName", "<unknown>"); in visitPtr()
380 R << " (" << NV(IsRead ? "RVarSize" : "WVarSize", *VI.Size) << " bytes)"; in visitPtr()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DScopeInfo.h350 WeakUseTy(const Expr *Use, bool IsRead) : Rep(Use, IsRead) {} in WeakUseTy() argument
410 inline void recordUseOfWeak(const ExprT *E, bool IsRead = true);
1048 void FunctionScopeInfo::recordUseOfWeak(const ExprT *E, bool IsRead) { in recordUseOfWeak() argument
1051 Uses.push_back(WeakUseTy(E, IsRead)); in recordUseOfWeak()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp588 bool IsRead = false; in determinePointerAccessAttrs() local
597 if (IsWrite && IsRead) in determinePointerAccessAttrs()
620 IsRead = true; in determinePointerAccessAttrs()
660 IsRead = true; in determinePointerAccessAttrs()
676 IsRead = true; in determinePointerAccessAttrs()
701 if (IsWrite && IsRead) in determinePointerAccessAttrs()
703 else if (IsRead) in determinePointerAccessAttrs()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp7269 bool IsRead = MI.getOpcode() == TargetOpcode::G_READ_REGISTER; in lowerReadWriteRegister() local
7270 int NameOpIdx = IsRead ? 1 : 0; in lowerReadWriteRegister()
7271 int ValRegIndex = IsRead ? 0 : 1; in lowerReadWriteRegister()
7282 if (IsRead) in lowerReadWriteRegister()