Home
last modified time | relevance | path

Searched refs:ExtVal (Results 1 – 17 of 17) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPFixedPoint.h215 APSInt ExtVal =
218 return -((-ExtVal).relativeShl(getLsbWeight()));
219 return ExtVal.relativeShl(getLsbWeight());
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DInlineAsmLowering.cpp679 int64_t ExtVal = IsBool ? CI->getZExtValue() : CI->getSExtValue(); in lowerAsmOperandForConstraint() local
680 Ops.push_back(MachineOperand::CreateImm(ExtVal)); in lowerAsmOperandForConstraint()
H A DLegalizerHelper.cpp3146 auto ExtVal = MIRBuilder.buildAnyExtOrTrunc(NewSrcTy, SrcReg); in lowerStore() local
3150 auto SmallVal = MIRBuilder.buildLShr(NewSrcTy, ExtVal, ShiftAmt); in lowerStore()
3163 MIRBuilder.buildStore(ExtVal, PtrReg, *LargeMMO); in lowerStore()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.h77 bool isVectorLoadExtDesirable(SDValue ExtVal) const override;
H A DWebAssemblyISelLowering.cpp808 bool WebAssemblyTargetLowering::isVectorLoadExtDesirable(SDValue ExtVal) const { in isVectorLoadExtDesirable()
809 EVT ExtT = ExtVal.getValueType(); in isVectorLoadExtDesirable()
810 EVT MemT = cast<LoadSDNode>(ExtVal->getOperand(0))->getValueType(0); in isVectorLoadExtDesirable()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2312 ZExtInst *ExtVal = dyn_cast<ZExtInst>(CI->getArgOperand(0)); in optimizeCallInst() local
2313 if (!ExtVal || !ExtVal->hasOneUse() || in optimizeCallInst()
2314 ExtVal->getParent() == CI->getParent()) in optimizeCallInst()
2317 ExtVal->moveBefore(CI); in optimizeCallInst()
2320 InsertedInsts.insert(ExtVal); in optimizeCallInst()
4411 Value *ExtVal = SExt; in promoteOperandForTruncAndAnyExt() local
4421 ExtVal = ZExt; in promoteOperandForTruncAndAnyExt()
4434 Instruction *ExtInst = dyn_cast<Instruction>(ExtVal); in promoteOperandForTruncAndAnyExt()
4441 return ExtVal; in promoteOperandForTruncAndAnyExt()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.h463 bool isVectorLoadExtDesirable(SDValue ExtVal) const override;
H A DARMISelLowering.cpp19184 bool ARMTargetLowering::isVectorLoadExtDesirable(SDValue ExtVal) const { in isVectorLoadExtDesirable()
19185 EVT VT = ExtVal.getValueType(); in isVectorLoadExtDesirable()
19190 if (auto *Ld = dyn_cast<MaskedLoadSDNode>(ExtVal.getOperand(0))) { in isVectorLoadExtDesirable()
19202 if (ExtVal->use_empty() || in isVectorLoadExtDesirable()
19203 !ExtVal->use_begin()->isOnlyUserOf(ExtVal.getNode())) in isVectorLoadExtDesirable()
19206 SDNode *U = *ExtVal->use_begin(); in isVectorLoadExtDesirable()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h1161 bool isVectorLoadExtDesirable(SDValue ExtVal) const override;
H A DAArch64ISelLowering.cpp5315 bool AArch64TargetLowering::isVectorLoadExtDesirable(SDValue ExtVal) const { in isVectorLoadExtDesirable()
5316 return ExtVal.getValueType().isScalableVector() || in isVectorLoadExtDesirable()
5318 ExtVal.getValueType(), in isVectorLoadExtDesirable()
16317 uint64_t ExtVal = C->getZExtValue(); in performSVEAndCombine() local
16322 if ((ExtVal == 0xFF && EltTy == MVT::i8) || in performSVEAndCombine()
16323 (ExtVal == 0xFFFF && EltTy == MVT::i16) || in performSVEAndCombine()
16324 (ExtVal == 0xFFFFFFFF && EltTy == MVT::i32)) in performSVEAndCombine()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2570 SDValue ExtVal = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, EltVT, Val, in LowerSTOREVector() local
2573 ExtVal = DAG.getNode(ISD::ANY_EXTEND, DL, MVT::i16, ExtVal); in LowerSTOREVector()
2574 Ops.push_back(ExtVal); in LowerSTOREVector()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetLowering.h2955 virtual bool isVectorLoadExtDesirable(SDValue ExtVal) const { return false; } in isVectorLoadExtDesirable() argument
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1986 SDValue ExtVal = SDValue(CurDAG->getMachineNode(PPC::INSERT_SUBREG, dl, in ExtendToInt64() local
1989 return ExtVal; in ExtendToInt64()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5264 int64_t ExtVal = in LowerAsmOperandForConstraint() local
5267 DAG.getTargetConstant(Offset + ExtVal, SDLoc(C), MVT::i64)); in LowerAsmOperandForConstraint()
H A DDAGCombiner.cpp13783 SDValue ExtVal = N0.getOperand(1); in visitTRUNCATE() local
13784 EVT ExtVT = cast<VTSDNode>(ExtVal)->getVT(); in visitTRUNCATE()
13787 return DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(N), VT, TrX, ExtVal); in visitTRUNCATE()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp5795 SDValue ExtVal = DAG.getNode(ISD::BITCAST, SL, IntVT, in lowerINSERT_VECTOR_ELT() local
5799 SDValue LHS = DAG.getNode(ISD::AND, SL, IntVT, BFM, ExtVal); in lowerINSERT_VECTOR_ELT()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp35079 bool X86TargetLowering::isVectorLoadExtDesirable(SDValue ExtVal) const { in isVectorLoadExtDesirable()
35080 if (isa<MaskedLoadSDNode>(ExtVal.getOperand(0))) in isVectorLoadExtDesirable()
35083 EVT SrcVT = ExtVal.getOperand(0).getValueType(); in isVectorLoadExtDesirable()
57239 int64_t ExtVal = ExtOpc == ISD::ZERO_EXTEND ? CST->getZExtValue() in LowerAsmOperandForConstraint() local
57241 Result = DAG.getTargetConstant(ExtVal, SDLoc(Op), MVT::i64); in LowerAsmOperandForConstraint()