Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp151 static void ConnectEpilog(Loop *L, Value *ModVal, BasicBlock *NewExit, in ConnectEpilog() argument
249 Value *BrLoopExit = B.CreateIsNotNull(ModVal, "lcmp.mod"); in ConnectEpilog()
549 Value *ModVal; in UnrollRuntimeLoopRemainder() local
555 ModVal = B.CreateAnd(TripCount, Count - 1, "xtraiter"); in UnrollRuntimeLoopRemainder()
574 ModVal = B.CreateURem(ModValAdd, in UnrollRuntimeLoopRemainder()
582 B.CreateIsNotNull(ModVal, "lcmp.mod"); in UnrollRuntimeLoopRemainder()
611 CloneLoopBlocks(L, ModVal, CreateRemainderLoop, UseEpilogRemainder, InsertTop, in UnrollRuntimeLoopRemainder()
647 ConnectEpilog(L, ModVal, NewExit, Exit, PreHeader, in UnrollRuntimeLoopRemainder()
654 Value *TestVal = B2.CreateSub(TripCount, ModVal, "unroll_iter"); in UnrollRuntimeLoopRemainder()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp183 static void ConnectEpilog(Loop *L, Value *ModVal, BasicBlock *NewExit, in ConnectEpilog() argument
273 Value *BrLoopExit = B.CreateIsNotNull(ModVal, "lcmp.mod"); in ConnectEpilog()
719 Value *ModVal; in UnrollRuntimeLoopRemainder() local
725 ModVal = B.CreateAnd(TripCount, Count - 1, "xtraiter"); in UnrollRuntimeLoopRemainder()
744 ModVal = B.CreateURem(ModValAdd, in UnrollRuntimeLoopRemainder()
752 B.CreateIsNotNull(ModVal, "lcmp.mod"); in UnrollRuntimeLoopRemainder()
788 L, ModVal, CreateRemainderLoop, UseEpilogRemainder, UnrollRemainder, in UnrollRuntimeLoopRemainder()
889 ConnectEpilog(L, ModVal, NewExit, LatchExit, PreHeader, in UnrollRuntimeLoopRemainder()
896 Value *TestVal = B2.CreateSub(TripCount, ModVal, "unroll_iter"); in UnrollRuntimeLoopRemainder()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp184 static void ConnectEpilog(Loop *L, Value *ModVal, BasicBlock *NewExit, in ConnectEpilog() argument
274 Value *BrLoopExit = B.CreateIsNotNull(ModVal, "lcmp.mod"); in ConnectEpilog()
745 Value *ModVal; in UnrollRuntimeLoopRemainder() local
751 ModVal = B.CreateAnd(TripCount, Count - 1, "xtraiter"); in UnrollRuntimeLoopRemainder()
770 ModVal = B.CreateURem(ModValAdd, in UnrollRuntimeLoopRemainder()
778 B.CreateIsNotNull(ModVal, "lcmp.mod"); in UnrollRuntimeLoopRemainder()
814 L, ModVal, CreateRemainderLoop, UseEpilogRemainder, UnrollRemainder, in UnrollRuntimeLoopRemainder()
920 ConnectEpilog(L, ModVal, NewExit, LatchExit, PreHeader, in UnrollRuntimeLoopRemainder()
927 Value *TestVal = B2.CreateSub(TripCount, ModVal, "unroll_iter"); in UnrollRuntimeLoopRemainder()
/external/llvm-project/polly/lib/Support/
DSCEVAffinator.cpp163 auto ModVal = isl::val::int_from_ui(Ctx, Width); in addModuloSemantic() local
164 ModVal = ModVal.pow2(); in addModuloSemantic()
170 return PWA.add(AddPW).mod(ModVal).sub(AddPW); in addModuloSemantic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp6218 uint32_t ModVal = Inst.getOperand(ModIdx).getImm(); in cvtVOP3OpSel() local
6219 Inst.getOperand(ModIdx).setImm(ModVal | SISrcMods::DST_OP_SEL); in cvtVOP3OpSel()
6404 uint32_t ModVal = 0; in cvtVOP3P() local
6407 ModVal |= SISrcMods::OP_SEL_0; in cvtVOP3P()
6410 ModVal |= SISrcMods::OP_SEL_1; in cvtVOP3P()
6413 ModVal |= SISrcMods::NEG; in cvtVOP3P()
6416 ModVal |= SISrcMods::NEG_HI; in cvtVOP3P()
6420 Inst.getOperand(ModIdx).setImm(Inst.getOperand(ModIdx).getImm() | ModVal); in cvtVOP3P()
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp7029 uint32_t ModVal = Inst.getOperand(ModIdx).getImm(); in cvtVOP3OpSel() local
7030 Inst.getOperand(ModIdx).setImm(ModVal | SISrcMods::DST_OP_SEL); in cvtVOP3OpSel()
7219 uint32_t ModVal = 0; in cvtVOP3P() local
7222 ModVal |= SISrcMods::OP_SEL_0; in cvtVOP3P()
7225 ModVal |= SISrcMods::OP_SEL_1; in cvtVOP3P()
7228 ModVal |= SISrcMods::NEG; in cvtVOP3P()
7231 ModVal |= SISrcMods::NEG_HI; in cvtVOP3P()
7235 Inst.getOperand(ModIdx).setImm(Inst.getOperand(ModIdx).getImm() | ModVal); in cvtVOP3P()