| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenSchedule.h | 54 bool IsRead; member 63 : Index(0), TheDef(nullptr), IsRead(false), IsAlias(false), in CodeGenSchedRW() 68 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW() 81 : Index(Idx), Name(Name), TheDef(nullptr), IsRead(Read), IsAlias(false), in CodeGenSchedRW() 516 const CodeGenSchedRW &getSchedRW(unsigned Idx, bool IsRead) const { in getSchedRW() argument 517 return IsRead ? getSchedRead(Idx) : getSchedWrite(Idx); in getSchedRW() 520 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW() local 521 unsigned Idx = getSchedRWIdx(Def, IsRead); in getSchedRW() 522 return IsRead ? getSchedRead(Idx) : getSchedWrite(Idx); in getSchedRW() 529 unsigned getSchedRWIdx(const Record *Def, bool IsRead) const; [all …]
|
| H A D | CodeGenSchedule.cpp | 699 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { in genRWName() argument 704 Name += getSchedRW(I, IsRead).Name; in genRWName() 711 bool IsRead) const { in getSchedRWIdx() 712 const std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in getSchedRWIdx() 743 bool IsRead) const { in findRWs() 745 unsigned Idx = getSchedRWIdx(RWDef, IsRead); in findRWs() 752 bool IsRead) const { in expandRWSequence() 753 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in expandRWSequence() 761 expandRWSequence(I, RWSeq, IsRead); in expandRWSequence() 769 unsigned RWIdx, IdxVec &RWSeq, bool IsRead, in expandRWSeqForProc() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MemoryOpRemark.cpp | 355 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 D | ScopeInfo.h | 359 WeakUseTy(const Expr *Use, bool IsRead) : Rep(Use, IsRead) {} in WeakUseTy() argument 420 inline void recordUseOfWeak(const ExprT *E, bool IsRead = true); 1090 void FunctionScopeInfo::recordUseOfWeak(const ExprT *E, bool IsRead) { in recordUseOfWeak() argument 1093 Uses.push_back(WeakUseTy(E, IsRead)); in recordUseOfWeak()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tysan/ |
| H A D | tysan.cpp | 261 bool IsRead = flags & 1; in __tysan_check() local 264 if (IsRead && !IsWrite) in __tysan_check() 266 else if (!IsRead && IsWrite) in __tysan_check()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | TypeSanitizer.cpp | 83 Value *Ptr, uint64_t AccessSize, bool IsRead, 579 bool IsRead, bool IsWrite, Value *ShadowBase, Value *AppMemMask, in instrumentWithShadowUpdate() argument 624 assert((!ClWritesAlwaysSetType || IsRead) && in instrumentWithShadowUpdate() 696 Constant *Flags = ConstantInt::get(OrdTy, int(IsRead) | (int(IsWrite) << 1)); in instrumentWithShadowUpdate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 871 bool IsRead = false; in determinePointerAccessAttrs() local 880 if (IsWrite && IsRead) in determinePointerAccessAttrs() 903 IsRead = true; in determinePointerAccessAttrs() 952 IsRead = true; in determinePointerAccessAttrs() 968 IsRead = true; in determinePointerAccessAttrs() 993 if (IsWrite && IsRead) in determinePointerAccessAttrs() 995 else if (IsRead) in determinePointerAccessAttrs()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 9186 bool IsRead = MI.getOpcode() == TargetOpcode::G_READ_REGISTER; in lowerReadWriteRegister() local 9187 int NameOpIdx = IsRead ? 1 : 0; in lowerReadWriteRegister() 9188 int ValRegIndex = IsRead ? 0 : 1; in lowerReadWriteRegister() 9200 (IsRead ? "llvm.read_register" : "llvm.write_register"), in lowerReadWriteRegister() 9202 if (IsRead) in lowerReadWriteRegister() 9209 if (IsRead) in lowerReadWriteRegister()
|