Home
last modified time | relevance | path

Searched refs:IsUndef (Results 1 – 18 of 18) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h132 unsigned IsUndef : 1; variable
397 return IsUndef; in isUndef()
513 IsUndef = Val;
805 Op.IsUndef = isUndef;
H A DMachineInstr.h1600 void setRegisterDefReadUndef(Register Reg, bool IsUndef = true);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp249 bool IsUndef = true; in shrinkMIMG() local
261 IsUndef = false; in shrinkMIMG()
296 MI.getOperand(VAddr0Idx).setIsUndef(IsUndef); in shrinkMIMG()
371 const bool IsUndef = SrcReg->isUndef(); in shrinkScalarLogicOp() local
380 /*isDead*/ false, IsUndef); in shrinkScalarLogicOp()
H A DGCNHazardRecognizer.cpp902 bool IsUndef = Src0->isUndef(); in fixVcmpxPermlaneHazards() local
905 .addReg(Reg, RegState::Define | (IsUndef ? RegState::Dead : 0)) in fixVcmpxPermlaneHazards()
906 .addReg(Reg, IsUndef ? RegState::Undef : RegState::Kill); in fixVcmpxPermlaneHazards()
H A DSIInstrInfo.cpp1855 bool IsUndef = MI.getOperand(1).isUndef(); in expandPostRAPseudo() local
1864 .addReg(VecReg, RegState::Implicit | (IsUndef ? RegState::Undef : 0)); in expandPostRAPseudo()
1883 bool IsUndef = MI.getOperand(1).isUndef(); in expandPostRAPseudo() local
1899 RegState::Implicit | (IsUndef ? RegState::Undef : 0)); in expandPostRAPseudo()
1923 bool IsUndef = MI.getOperand(1).isUndef(); in expandPostRAPseudo() local
1935 .addReg(VecReg, RegState::Implicit | (IsUndef ? RegState::Undef : 0)) in expandPostRAPseudo()
2087 bool IsUndef = RegOp.isUndef(); in swapRegAndNonRegOperand() local
2103 NonRegOp.ChangeToRegister(Reg, false, false, IsKill, IsDead, IsUndef, IsDebug); in swapRegAndNonRegOperand()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h186 bool matchCombineConcatVectors(MachineInstr &MI, bool &IsUndef,
190 void applyCombineConcatVectors(MachineInstr &MI, bool IsUndef,
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetBuiltins.h264 bool isUndef() const { return Flags & IsUndef; } in isUndef()
H A Darm_sve.td204 def IsUndef : FlagType<0x80000000>; // Codegen `undef` of given type.
1438 def SVUNDEF_1 : SInst<"svundef_{d}", "d", "csilUcUsUiUlhfd", MergeNone, "", [IsUndef]>;
1439 def SVUNDEF_2 : SInst<"svundef2_{d}", "2", "csilUcUsUiUlhfd", MergeNone, "", [IsUndef]>;
1440 def SVUNDEF_3 : SInst<"svundef3_{d}", "3", "csilUcUsUiUlhfd", MergeNone, "", [IsUndef]>;
1441 def SVUNDEF_4 : SInst<"svundef4_{d}", "4", "csilUcUsUiUlhfd", MergeNone, "", [IsUndef]>;
1448 def SVUNDEF_1_BF16 : SInst<"svundef_{d}", "d", "b", MergeNone, "", [IsUndef]>;
1449 def SVUNDEF_2_BF16 : SInst<"svundef2_{d}", "2", "b", MergeNone, "", [IsUndef]>;
1450 def SVUNDEF_3_BF16 : SInst<"svundef3_{d}", "3", "b", MergeNone, "", [IsUndef]>;
1451 def SVUNDEF_4_BF16 : SInst<"svundef4_{d}", "4", "b", MergeNone, "", [IsUndef]>;
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp168 bool IsUndef = false; in tryCombineConcatVectors() local
170 if (matchCombineConcatVectors(MI, IsUndef, Ops)) { in tryCombineConcatVectors()
171 applyCombineConcatVectors(MI, IsUndef, Ops); in tryCombineConcatVectors()
177 bool CombinerHelper::matchCombineConcatVectors(MachineInstr &MI, bool &IsUndef, in matchCombineConcatVectors() argument
181 IsUndef = true; in matchCombineConcatVectors()
193 IsUndef = false; in matchCombineConcatVectors()
223 MachineInstr &MI, bool IsUndef, const ArrayRef<Register> Ops) { in applyCombineConcatVectors() argument
236 if (IsUndef) in applyCombineConcatVectors()
H A DLegalizerHelper.cpp5550 const bool IsUndef = MI.getOpcode() == TargetOpcode::G_CTLZ_ZERO_UNDEF; in narrowScalarCTLZ() local
5558 auto LoCTLZ = IsUndef ? in narrowScalarCTLZ()
5586 const bool IsUndef = MI.getOpcode() == TargetOpcode::G_CTTZ_ZERO_UNDEF; in narrowScalarCTTZ() local
5594 auto HiCTTZ = IsUndef ? in narrowScalarCTTZ()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstr.cpp2018 void MachineInstr::setRegisterDefReadUndef(Register Reg, bool IsUndef) { in setRegisterDefReadUndef() argument
2022 MO.setIsUndef(IsUndef); in setRegisterDefReadUndef()
H A DRegisterCoalescer.cpp1729 bool IsUndef = true; in addUndefFlag() local
1734 IsUndef = false; in addUndefFlag()
1738 if (IsUndef) { in addUndefFlag()
H A DMachineOperand.cpp263 IsUndef = isUndef; in ChangeToRegister()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp512 bool IsSplat = true, IsUndef = true; in buildHvxVectorReg() local
517 IsUndef = false; in buildHvxVectorReg()
523 if (IsUndef) in buildHvxVectorReg()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4889 bool IsUndef = Q.isUndefValue(V); in simplifyFPOp() local
4894 if (FMF.noNaNs() && (IsNan || IsUndef)) in simplifyFPOp()
4896 if (FMF.noInfs() && (IsInf || IsUndef)) in simplifyFPOp()
4900 if (IsUndef || IsNan) in simplifyFPOp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp3797 bool IsUndef = true; in loadRegPairFromStackSlot() local
3803 IsUndef = false; in loadRegPairFromStackSlot()
3806 .addReg(DestReg0, RegState::Define | getUndefRegState(IsUndef), SubIdx0) in loadRegPairFromStackSlot()
3807 .addReg(DestReg1, RegState::Define | getUndefRegState(IsUndef), SubIdx1) in loadRegPairFromStackSlot()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp594 bool IsUndef = PPOpts.Macros[I].second; in collectMacroDefinitions() local
601 if (IsUndef) { in collectMacroDefinitions()
5896 bool IsUndef = Record[Idx++]; in ParsePreprocessorOptions() local
5897 PPOpts.Macros.push_back(std::make_pair(Macro, IsUndef)); in ParsePreprocessorOptions()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp5801 bool IsUndef = Values[i] < 0 && IsMask; in getConstVector() local
5802 SDValue OpNode = IsUndef ? DAG.getUNDEF(EltVT) : in getConstVector()
5806 Ops.push_back(IsUndef ? DAG.getUNDEF(EltVT) : in getConstVector()