Home
last modified time | relevance | path

Searched refs:MemoryInst (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DAddrModeMatcher.h62 Instruction *MemoryInst; variable
76 : AddrModeInsts(AMI), TLI(T), AccessTy(AT), MemoryInst(MI), AddrMode(AM) { in AddressingModeMatcher()
85 Instruction *MemoryInst, in Match() argument
92 MemoryInst, Result).MatchAddr(V, 0); in Match()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCodeGenPrepare.cpp715 bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr, in OptimizeMemoryInst() argument
753 AddressingModeMatcher::Match(V, AccessTy, MemoryInst, in OptimizeMemoryInst()
797 if (IsNonLocalValue(AddrModeInsts[i], MemoryInst->getParent())) { in OptimizeMemoryInst()
812 IRBuilder<> Builder(MemoryInst); in OptimizeMemoryInst()
821 << *MemoryInst); in OptimizeMemoryInst()
826 << *MemoryInst); in OptimizeMemoryInst()
892 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in OptimizeMemoryInst()
/external/llvm/include/llvm/Transforms/Utils/
DMemorySSA.h212 Instruction *getMemoryInst() const { return MemoryInst; }
227 : MemoryAccess(C, Vty, BB, 1), MemoryInst(MI) {
234 Instruction *MemoryInst;
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DAddrModeMatcher.cpp476 BasicBlock *MemBB = MemoryInst->getParent(); in ValueAlreadyLiveAtInst()
568 MemoryInst, Result); in IsProfitableToFoldIntoAddressingMode()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2593 Instruction *MemoryInst; member in __anon65f3f0830211::AddressingModeMatcher
2620 MemoryInst(MI), AddrMode(AM), InsertedInsts(InsertedInsts), in AddressingModeMatcher()
2634 Instruction *MemoryInst, in Match() argument
2643 MemoryInst, Result, InsertedInsts, in Match()
3565 return Val->isUsedInBasicBlock(MemoryInst->getParent()); in valueAlreadyLiveAtInst()
3656 MemoryInst, Result, InsertedInsts, in isProfitableToFoldIntoAddressingMode()
3707 bool CodeGenPrepare::optimizeMemoryInst(Instruction *MemoryInst, Value *Addr, in optimizeMemoryInst() argument
3750 V, AccessTy, AddrSpace, MemoryInst, NewAddrModeInsts, *TM, in optimizeMemoryInst()
3798 if (IsNonLocalValue(AddrModeInsts[i], MemoryInst->getParent())) { in optimizeMemoryInst()
3813 IRBuilder<> Builder(MemoryInst); in optimizeMemoryInst()
[all …]
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp621 Value *MemoryInst; in removeFromLookups() local
623 MemoryInst = MUD->getMemoryInst(); in removeFromLookups()
625 MemoryInst = MA->getBlock(); in removeFromLookups()
627 ValueToMemoryAccess.erase(MemoryInst); in removeFromLookups()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dllvm.grm402 | MemoryInst ;
411 MemoryInst ::= malloc Types OptCAlign
/external/swiftshader/third_party/LLVM/utils/
Dllvm.grm401 | MemoryInst ;
410 MemoryInst ::= malloc Types OptCAlign
/external/llvm/utils/
Dllvm.grm402 | MemoryInst ;
411 MemoryInst ::= malloc Types OptCAlign
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp333 bool optimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
2562 Instruction *MemoryInst; member in __anond0867ddb0611::AddressingModeMatcher
2592 MemoryInst(MI), AddrMode(AM), InsertedInsts(InsertedInsts), in AddressingModeMatcher()
2606 Match(Value *V, Type *AccessTy, unsigned AS, Instruction *MemoryInst, in Match() argument
2615 MemoryInst, Result, InsertedInsts, in Match()
4214 return Val->isUsedInBasicBlock(MemoryInst->getParent()); in valueAlreadyLiveAtInst()
4307 MatchedAddrModeInsts, TLI, TRI, AddressAccessTy, AS, MemoryInst, Result, in isProfitableToFoldIntoAddressingMode()
4355 bool CodeGenPrepare::optimizeMemoryInst(Instruction *MemoryInst, Value *Addr, in optimizeMemoryInst() argument
4371 AddressingModeCombiner AddrModes(SQ, { Addr, MemoryInst->getParent() }); in optimizeMemoryInst()
4413 V, AccessTy, AddrSpace, MemoryInst, AddrModeInsts, *TLI, *TRI, in optimizeMemoryInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSA.cpp1596 Value *MemoryInst; in removeFromLookups() local
1598 MemoryInst = MUD->getMemoryInst(); in removeFromLookups()
1600 MemoryInst = MA->getBlock(); in removeFromLookups()
1602 auto VMA = ValueToMemoryAccess.find(MemoryInst); in removeFromLookups()
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1615 CAMLprim value llvm_is_volatile(LLVMValueRef MemoryInst) { in llvm_is_volatile() argument
1616 return Val_bool(LLVMGetVolatile(MemoryInst)); in llvm_is_volatile()
1621 LLVMValueRef MemoryInst) { in llvm_set_volatile() argument
1622 LLVMSetVolatile(MemoryInst, Bool_val(IsVolatile)); in llvm_set_volatile()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1536 CAMLprim value llvm_is_volatile(LLVMValueRef MemoryInst) { in llvm_is_volatile() argument
1537 return Val_bool(LLVMGetVolatile(MemoryInst)); in llvm_is_volatile()
1542 LLVMValueRef MemoryInst) { in llvm_set_volatile() argument
1543 LLVMSetVolatile(MemoryInst, Bool_val(IsVolatile)); in llvm_set_volatile()