Home
last modified time | relevance | path

Searched refs:IsCopy (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp379 bool IsCopy = MI->isCopy(); in optimizeBlock() local
381 if (IsCopy || IsMoveImm) { in optimizeBlock()
383 Register SrcReg = IsCopy ? MI->getOperand(1).getReg() : Register(); in optimizeBlock()
386 ((IsCopy && (SrcReg == AArch64::XZR || SrcReg == AArch64::WZR)) || in optimizeBlock()
394 if (IsCopy && KnownReg.Imm != 0) in optimizeBlock()
413 if (IsCopy) in optimizeBlock()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp379 bool IsCopy = MI->isCopy(); in optimizeBlock() local
381 if (IsCopy || IsMoveImm) { in optimizeBlock()
383 Register SrcReg = IsCopy ? MI->getOperand(1).getReg() : Register(); in optimizeBlock()
386 ((IsCopy && (SrcReg == AArch64::XZR || SrcReg == AArch64::WZR)) || in optimizeBlock()
394 if (IsCopy && KnownReg.Imm != 0) in optimizeBlock()
413 if (IsCopy) in optimizeBlock()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DNotNullTerminatedResultCheck.cpp438 static void renameMemcpy(StringRef Name, bool IsCopy, bool IsSafe, in renameMemcpy() argument
443 NewFuncName += IsCopy ? "cpy" : "ncpy"; in renameMemcpy()
872 bool IsCopy = in memcpyFix() local
882 renameMemcpy(Name, IsCopy, IsSafe, Result, Diag); in memcpyFix()
887 if (IsCopy) in memcpyFix()
890 if (!IsCopy && !IsSafe) in memcpyFix()
903 bool IsCopy = isGivenLengthEqualToSrcLength(Result); in memcpy_sFix() local
906 renameMemcpy(Name, IsCopy, IsSafe, Result, Diag); in memcpy_sFix()
913 if (IsCopy) in memcpy_sFix()
916 if (!IsCopy && !IsSafe) in memcpy_sFix()
/external/tensorflow/tensorflow/compiler/jit/
Dresource_operation_safety_analysis.cc185 if (!IsCopy() && Contains(resource_op)) { in Add()
207 bool IsCopy() const { return storage_ != nullptr; } in IsCopy() function in tensorflow::__anon56fc91360111::ResourceOpSet
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DValistChecker.cpp68 bool IsCopy) const;
309 CheckerContext &C, bool IsCopy) const { in checkVAListStartCall()
318 if (IsCopy) { in checkVAListStartCall()
/external/deqp-deps/amber/src/amberscript/
Dparser_copy_test.cc38 ASSERT_TRUE(cmd->IsCopy()); in TEST_F()
/external/deqp-deps/amber/src/
Dexecutor.cc173 if (cmd->IsCopy()) { in ExecuteCommand()
Dcommand.h85 bool IsCopy() const { return command_type_ == Type::kCopy; } in IsCopy() function
/external/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp495 bool &IsCopy, in findOnlyInterestingUse() argument
506 IsCopy = true; in findOnlyInterestingUse()
736 bool IsCopy = false; in scanUses() local
739 while (MachineInstr *UseMI = findOnlyInterestingUse(Reg, MBB, MRI, TII,IsCopy, in scanUses()
741 if (IsCopy && !Processed.insert(UseMI).second) in scanUses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp522 bool &IsCopy, in findOnlyInterestingUse() argument
533 IsCopy = true; in findOnlyInterestingUse()
776 bool IsCopy = false; in scanUses() local
779 while (MachineInstr *UseMI = findOnlyInterestingUse(Reg, MBB, MRI, TII,IsCopy, in scanUses()
781 if (IsCopy && !Processed.insert(UseMI).second) in scanUses()
/external/llvm-project/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp379 bool &IsCopy, Register &DstReg, bool &IsDstPhys) { in findOnlyInterestingUse() argument
389 IsCopy = true; in findOnlyInterestingUse()
637 bool IsCopy = false; in scanUses() local
640 while (MachineInstr *UseMI = findOnlyInterestingUse(Reg, MBB, MRI, TII,IsCopy, in scanUses()
642 if (IsCopy && !Processed.insert(UseMI).second) in scanUses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp1091 bool IsCopy = MI->getOpcode() == AMDGPU::V_MOV_B32_e32; in eliminateFrameIndex() local
1092 Register ResultReg = IsCopy ? in eliminateFrameIndex()
1182 if (IsCopy) in eliminateFrameIndex()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp1527 bool IsCopy = MI->getOpcode() == AMDGPU::V_MOV_B32_e32; in eliminateFrameIndex() local
1529 IsCopy ? MI->getOperand(0).getReg() in eliminateFrameIndex()
1607 if (IsCopy) in eliminateFrameIndex()
/external/clang/lib/CodeGen/
DCGObjC.cpp645 bool isCopy() const { return IsCopy; } in isCopy()
656 unsigned IsCopy : 1; member in __anon215c35af0211::PropertyImplStrategy
670 IsCopy = (setterKind == ObjCPropertyDecl::Copy); in PropertyImplStrategy()
682 if (IsCopy) { in PropertyImplStrategy()
DMicrosoftCXXABI.cpp3817 bool IsCopy = CT == Ctor_CopyingClosure; in getAddrOfCXXCtorClosure() local
3835 if (IsCopy) in getAddrOfCXXCtorClosure()
3855 IsCopy ? CGF.Builder.CreateLoad(CGF.GetAddrOfLocalVar(&SrcParam), "src") in getAddrOfCXXCtorClosure()
3869 for (unsigned I = IsCopy ? 1 : 0, E = CD->getNumParams(); I != E; ++I) { in getAddrOfCXXCtorClosure()
3878 CGF.EmitCallArgs(Args, FPT, llvm::makeArrayRef(ArgVec), CD, IsCopy ? 1 : 0); in getAddrOfCXXCtorClosure()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonGenInsert.cpp1179 auto IsCopy = [] (const IFRecordWithRegSet &IR) -> bool { in pruneRegCopies() local
1182 auto End = llvm::remove_if(LL, IsCopy); in pruneRegCopies()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonGenInsert.cpp1179 auto IsCopy = [] (const IFRecordWithRegSet &IR) -> bool { in pruneRegCopies() local
1182 auto End = llvm::remove_if(LL, IsCopy); in pruneRegCopies()
/external/llvm/lib/Target/Hexagon/
DHexagonGenInsert.cpp1144 auto IsCopy = [] (const IFRecordWithRegSet &IR) -> bool { in pruneRegCopies() local
1147 auto End = std::remove_if(LL.begin(), LL.end(), IsCopy); in pruneRegCopies()
/external/llvm-project/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp3969 bool IsCopy = CT == Ctor_CopyingClosure; in getAddrOfCXXCtorClosure() local
3989 if (IsCopy) in getAddrOfCXXCtorClosure()
4013 IsCopy ? CGF.Builder.CreateLoad(CGF.GetAddrOfLocalVar(&SrcParam), "src") in getAddrOfCXXCtorClosure()
4027 ArrayRef<ParmVarDecl *> params = CD->parameters().drop_front(IsCopy ? 1 : 0); in getAddrOfCXXCtorClosure()
4036 CGF.EmitCallArgs(Args, FPT, llvm::makeArrayRef(ArgVec), CD, IsCopy ? 1 : 0); in getAddrOfCXXCtorClosure()
DCGObjC.cpp891 bool isCopy() const { return IsCopy; } in isCopy()
902 unsigned IsCopy : 1; member in __anone018c35d0211::PropertyImplStrategy
916 IsCopy = (setterKind == ObjCPropertyDecl::Copy); in PropertyImplStrategy()
929 if (IsCopy) { in PropertyImplStrategy()
/external/clang/lib/Sema/
DSemaInit.cpp6506 bool IsCopy = false; in Perform() local
6547 IsCopy = true; in Perform()
6580 bool RequiresCopy = !IsCopy && !isReferenceBinding(Steps.back()); in Perform()