Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DCodeGenSchedule.h50 bool IsRead; member
59 : Index(0), TheDef(nullptr), IsRead(false), IsAlias(false), in CodeGenSchedRW()
64 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW()
77 : Index(Idx), Name(Name), TheDef(nullptr), IsRead(Read), IsAlias(false), in CodeGenSchedRW()
330 const CodeGenSchedRW &getSchedRW(unsigned Idx, bool IsRead) const { in getSchedRW() argument
331 return IsRead ? getSchedRead(Idx) : getSchedWrite(Idx); in getSchedRW()
334 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW() local
335 unsigned Idx = getSchedRWIdx(Def, IsRead); in getSchedRW()
337 IsRead ? getSchedRead(Idx) : getSchedWrite(Idx)); in getSchedRW()
343 unsigned getSchedRWIdx(Record *Def, bool IsRead, unsigned After = 0) const;
[all …]
DCodeGenSchedule.cpp329 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { in genRWName() argument
334 Name += getSchedRW(*I, IsRead).Name; in genRWName()
340 unsigned CodeGenSchedModels::getSchedRWIdx(Record *Def, bool IsRead, in getSchedRWIdx() argument
342 const std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in getSchedRWIdx()
393 bool IsRead) const { in findRWs()
395 unsigned Idx = getSchedRWIdx(*RI, IsRead); in findRWs()
402 bool IsRead) const { in expandRWSequence()
403 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in expandRWSequence()
413 expandRWSequence(*I, RWSeq, IsRead); in expandRWSequence()
421 unsigned RWIdx, IdxVec &RWSeq, bool IsRead, in expandRWSeqForProc() argument
[all …]
/external/llvm-project/llvm/utils/TableGen/
DCodeGenSchedule.h50 bool IsRead; member
59 : Index(0), TheDef(nullptr), IsRead(false), IsAlias(false), in CodeGenSchedRW()
64 IsRead = Def->isSubClassOf("SchedRead"); in CodeGenSchedRW()
77 : Index(Idx), Name(Name), TheDef(nullptr), IsRead(Read), IsAlias(false), in CodeGenSchedRW()
522 const CodeGenSchedRW &getSchedRW(unsigned Idx, bool IsRead) const { in getSchedRW() argument
523 return IsRead ? getSchedRead(Idx) : getSchedWrite(Idx); in getSchedRW()
526 bool IsRead = Def->isSubClassOf("SchedRead"); in getSchedRW() local
527 unsigned Idx = getSchedRWIdx(Def, IsRead); in getSchedRW()
529 IsRead ? getSchedRead(Idx) : getSchedWrite(Idx)); in getSchedRW()
535 unsigned getSchedRWIdx(const Record *Def, bool IsRead) const;
[all …]
DCodeGenSchedule.cpp709 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) { in genRWName() argument
714 Name += getSchedRW(*I, IsRead).Name; in genRWName()
721 bool IsRead) const { in getSchedRWIdx()
722 const std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in getSchedRWIdx()
766 bool IsRead) const { in findRWs()
768 unsigned Idx = getSchedRWIdx(RWDef, IsRead); in findRWs()
775 bool IsRead) const { in expandRWSequence()
776 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in expandRWSequence()
785 expandRWSequence(I, RWSeq, IsRead); in expandRWSequence()
793 unsigned RWIdx, IdxVec &RWSeq, bool IsRead, in expandRWSeqForProc() argument
[all …]
/external/clang/include/clang/Sema/
DScopeInfo.h284 WeakUseTy(const Expr *Use, bool IsRead) : Rep(Use, IsRead) {} in WeakUseTy() argument
321 inline void recordUseOfWeak(const ExprT *E, bool IsRead = true);
870 void FunctionScopeInfo::recordUseOfWeak(const ExprT *E, bool IsRead) { in recordUseOfWeak() argument
873 Uses.push_back(WeakUseTy(E, IsRead)); in recordUseOfWeak()
DSema.h1204 void recordUseOfEvaluatedWeak(const ExprT *E, bool IsRead=true) {
1206 getCurFunction()->recordUseOfWeak(E, IsRead);
/external/llvm-project/clang/include/clang/Sema/
DScopeInfo.h338 WeakUseTy(const Expr *Use, bool IsRead) : Rep(Use, IsRead) {} in WeakUseTy() argument
399 inline void recordUseOfWeak(const ExprT *E, bool IsRead = true);
1033 void FunctionScopeInfo::recordUseOfWeak(const ExprT *E, bool IsRead) { in recordUseOfWeak() argument
1036 Uses.push_back(WeakUseTy(E, IsRead)); in recordUseOfWeak()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp369 bool IsRead = false; in determinePointerReadAttrs() local
416 IsRead = true; in determinePointerReadAttrs()
458 IsRead = true; in determinePointerReadAttrs()
471 IsRead = true; in determinePointerReadAttrs()
483 return IsRead ? Attribute::ReadOnly : Attribute::ReadNone; in determinePointerReadAttrs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp455 bool IsRead = false; in determinePointerReadAttrs() local
502 IsRead = true; in determinePointerReadAttrs()
544 IsRead = true; in determinePointerReadAttrs()
557 IsRead = true; in determinePointerReadAttrs()
569 return IsRead ? Attribute::ReadOnly : Attribute::ReadNone; in determinePointerReadAttrs()
/external/llvm-project/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp456 bool IsRead = false; in determinePointerReadAttrs() local
503 IsRead = true; in determinePointerReadAttrs()
545 IsRead = true; in determinePointerReadAttrs()
558 IsRead = true; in determinePointerReadAttrs()
570 return IsRead ? Attribute::ReadOnly : Attribute::ReadNone; in determinePointerReadAttrs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLGraph.h231 void addDerefEdge(Value *From, Value *To, bool IsRead) { in addDerefEdge() argument
242 if (IsRead) { in addDerefEdge()
/external/llvm-project/llvm/lib/Analysis/
DCFLGraph.h231 void addDerefEdge(Value *From, Value *To, bool IsRead) { in addDerefEdge() argument
242 if (IsRead) { in addDerefEdge()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h250 bool ALWAYS_INLINE IsWrite() const { return !IsRead(); } in IsWrite()
251 bool ALWAYS_INLINE IsRead() const { return x_ & kReadBit; } in IsRead() function
Dtsan_rtl.cc666 old.IsRead() <= cur.IsRead()) in ContainsSameAccessSlow()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h257 bool ALWAYS_INLINE IsWrite() const { return !IsRead(); } in IsWrite()
258 bool ALWAYS_INLINE IsRead() const { return x_ & kReadBit; } in IsRead() function
Dtsan_rtl.cpp753 old.IsRead() <= cur.IsRead()) in ContainsSameAccessSlow()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DTilingFunctions.h692 template<bool UseCachedOffsets, bool IsRead>
/external/clang/lib/CodeGen/
DCGBuiltin.cpp3861 bool IsRead, in EmitSpecialRegisterBuiltin() argument
3886 if (IsRead) { in EmitSpecialRegisterBuiltin()
4241 bool IsRead = BuiltinID == ARM::BI__builtin_arm_rsr || in EmitARMBuiltinExpr() local
4262 return EmitSpecialRegisterBuiltin(*this, E, RegisterType, ValueType, IsRead); in EmitARMBuiltinExpr()
4997 bool IsRead = BuiltinID == AArch64::BI__builtin_arm_rsr || in EmitAArch64BuiltinExpr() local
5017 return EmitSpecialRegisterBuiltin(*this, E, RegisterType, ValueType, IsRead); in EmitAArch64BuiltinExpr()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp6164 bool IsRead = MI.getOpcode() == TargetOpcode::G_READ_REGISTER; in lowerReadWriteRegister() local
6165 int NameOpIdx = IsRead ? 1 : 0; in lowerReadWriteRegister()
6166 int ValRegIndex = IsRead ? 0 : 1; in lowerReadWriteRegister()
6177 if (IsRead) in lowerReadWriteRegister()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp3838 static int getMClassRegisterMask(StringRef Reg, StringRef Flags, bool IsRead, in getMClassRegisterMask() argument
3866 if (IsRead) { in getMClassRegisterMask()