Home
last modified time | relevance | path

Searched refs:MemInst (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp618 ParseMemoryInst MemInst(Inst, TTI); in processNode() local
620 if (MemInst.isValid() && MemInst.isLoad()) { in processNode()
623 if (MemInst.isVolatile() || !MemInst.isUnordered()) { in processNode()
636 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
639 InVal.MatchingId == MemInst.getMatchingId() && in processNode()
641 !MemInst.isVolatile() && MemInst.isUnordered() && in processNode()
643 InVal.IsAtomic >= MemInst.isAtomic()) { in processNode()
659 MemInst.getPointerOperand(), in processNode()
660 LoadValue(Inst, CurrentGeneration, MemInst.getMatchingId(), in processNode()
661 MemInst.isAtomic(), MemInst.isInvariantLoad())); in processNode()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp803 Value *getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst,
1079 Value *EarlyCSE::getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst, in getMatchingValue() argument
1083 if (InVal.MatchingId != MemInst.getMatchingId()) in getMatchingValue()
1086 if (MemInst.isVolatile() || !MemInst.isUnordered()) in getMatchingValue()
1089 if (MemInst.isLoad() && !InVal.IsAtomic && MemInst.isAtomic()) in getMatchingValue()
1095 bool MemInstMatching = !MemInst.isLoad(); in getMatchingValue()
1096 Instruction *Matching = MemInstMatching ? MemInst.get() : InVal.DefInst; in getMatchingValue()
1097 Instruction *Other = MemInstMatching ? InVal.DefInst : MemInst.get(); in getMatchingValue()
1101 Value *Result = MemInst.isStore() in getMatchingValue()
1104 if (MemInst.isStore() && InVal.DefInst != Result) in getMatchingValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp1086 ParseMemoryInst MemInst(Inst, TTI); in processNode() local
1088 if (MemInst.isValid() && MemInst.isLoad()) { in processNode()
1091 if (MemInst.isVolatile() || !MemInst.isUnordered()) { in processNode()
1096 if (MemInst.isInvariantLoad()) { in processNode()
1114 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
1116 InVal.MatchingId == MemInst.getMatchingId() && in processNode()
1118 !MemInst.isVolatile() && MemInst.isUnordered() && in processNode()
1120 InVal.IsAtomic >= MemInst.isAtomic() && in processNode()
1144 MemInst.getPointerOperand(), in processNode()
1145 LoadValue(Inst, CurrentGeneration, MemInst.getMatchingId(), in processNode()
[all …]
/external/llvm-project/llvm/utils/TableGen/
DX86FoldTablesEmitter.cpp99 const CodeGenInstruction *MemInst; member in __anon446c46d20111::X86FoldTablesEmitter::X86FoldTableEntry
109 const CodeGenInstruction *MemInst) in X86FoldTableEntry() argument
110 : RegInst(RegInst), MemInst(MemInst) {} in X86FoldTableEntry()
116 OS << "X86::" << MemInst->TheDef->getName() << ","; in print()
316 const CodeGenInstruction *MemInst; member in __anon446c46d20111::IsMatch
320 : MemInst(Inst) {} in IsMatch()
323 Record *MemRec = MemInst->TheDef; in operator ()()
392 for (unsigned i = 0, e = MemInst->Operands.size(); i < e; i++) { in operator ()()
393 Record *MemOpRec = MemInst->Operands[i].Rec; in operator ()()
620 for (const CodeGenInstruction *MemInst : MemInsts) { in run() local
[all …]
/external/llvm-project/polly/lib/CodeGen/
DIRBuilder.cpp150 auto MemInst = MemAccInst::dyn_cast(Inst); in getMemAccInstPointerOperand() local
151 if (!MemInst) in getMemAccInstPointerOperand()
154 return MemInst.getPointerOperand(); in getMemAccInstPointerOperand()
DIslNodeBuilder.cpp1058 auto MemInst = MemAccInst::dyn_cast(Inst); in materializeValue() local
1059 auto Address = MemInst ? MemInst.getPointerOperand() : nullptr; in materializeValue()
/external/llvm-project/llvm/lib/Transforms/Utils/
DAssumeBundleBuilder.cpp247 void addAccessedPtr(Instruction *MemInst, Value *Pointer, Type *AccType, in addAccessedPtr()
249 unsigned DerefSize = MemInst->getModule() in addAccessedPtr()
255 if (!NullPointerIsDefined(MemInst->getFunction(), in addAccessedPtr()
/external/llvm-project/llvm/lib/Target/ARM/
DARMParallelDSP.cpp303 template<typename MemInst>
304 static bool AreSequentialAccesses(MemInst *MemOp0, MemInst *MemOp1, in AreSequentialAccesses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp302 template<typename MemInst>
303 static bool AreSequentialAccesses(MemInst *MemOp0, MemInst *MemOp1, in AreSequentialAccesses()
/external/llvm-project/polly/lib/Analysis/
DScopDetection.cpp1238 if (auto MemInst = MemAccInst::dyn_cast(Inst)) { in isValidInstruction() local
1239 Context.hasStores |= isa<StoreInst>(MemInst); in isValidInstruction()
1240 Context.hasLoads |= isa<LoadInst>(MemInst); in isValidInstruction()
1241 if (!MemInst.isSimple()) in isValidInstruction()
1245 return isValidMemoryAccess(MemInst, Context); in isValidInstruction()
DScopBuilder.cpp2235 if (auto MemInst = MemAccInst::dyn_cast(*Inst)) { in buildAccessFunctions() local
2237 buildMemoryAccess(MemInst, Stmt); in buildAccessFunctions()
/external/llvm-project/llvm/test/Transforms/GVN/
Dvscale.ll180 ; Analyze Load from clobbering MemInst.