Home
last modified time | relevance | path

Searched refs:EltVal (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/llvm/lib/IR/
DConstants.cpp3138 auto EltVal = *reinterpret_cast<const uint8_t *>(EltPtr); in getElementAsAPInt() local
3139 return APInt(8, EltVal); in getElementAsAPInt()
3142 auto EltVal = *reinterpret_cast<const uint16_t *>(EltPtr); in getElementAsAPInt() local
3143 return APInt(16, EltVal); in getElementAsAPInt()
3146 auto EltVal = *reinterpret_cast<const uint32_t *>(EltPtr); in getElementAsAPInt() local
3147 return APInt(32, EltVal); in getElementAsAPInt()
3150 auto EltVal = *reinterpret_cast<const uint64_t *>(EltPtr); in getElementAsAPInt() local
3151 return APInt(64, EltVal); in getElementAsAPInt()
3163 auto EltVal = *reinterpret_cast<const uint16_t *>(EltPtr); in getElementAsAPFloat() local
3164 return APFloat(APFloat::IEEEhalf(), APInt(16, EltVal)); in getElementAsAPFloat()
[all …]
DCore.cpp3913 LLVMValueRef EltVal, LLVMValueRef Index, in LLVMBuildInsertElement() argument
3915 return wrap(unwrap(B)->CreateInsertElement(unwrap(VecVal), unwrap(EltVal), in LLVMBuildInsertElement()
3932 LLVMValueRef EltVal, unsigned Index, in LLVMBuildInsertValue() argument
3934 return wrap(unwrap(B)->CreateInsertValue(unwrap(AggVal), unwrap(EltVal), in LLVMBuildInsertValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp2790 auto EltVal = *reinterpret_cast<const uint8_t *>(EltPtr); in getElementAsAPInt() local
2791 return APInt(8, EltVal); in getElementAsAPInt()
2794 auto EltVal = *reinterpret_cast<const uint16_t *>(EltPtr); in getElementAsAPInt() local
2795 return APInt(16, EltVal); in getElementAsAPInt()
2798 auto EltVal = *reinterpret_cast<const uint32_t *>(EltPtr); in getElementAsAPInt() local
2799 return APInt(32, EltVal); in getElementAsAPInt()
2802 auto EltVal = *reinterpret_cast<const uint64_t *>(EltPtr); in getElementAsAPInt() local
2803 return APInt(64, EltVal); in getElementAsAPInt()
2815 auto EltVal = *reinterpret_cast<const uint16_t *>(EltPtr); in getElementAsAPFloat() local
2816 return APFloat(APFloat::IEEEhalf(), APInt(16, EltVal)); in getElementAsAPFloat()
[all …]
DCore.cpp3877 LLVMValueRef EltVal, LLVMValueRef Index, in LLVMBuildInsertElement() argument
3879 return wrap(unwrap(B)->CreateInsertElement(unwrap(VecVal), unwrap(EltVal), in LLVMBuildInsertElement()
3896 LLVMValueRef EltVal, unsigned Index, in LLVMBuildInsertValue() argument
3898 return wrap(unwrap(B)->CreateInsertValue(unwrap(AggVal), unwrap(EltVal), in LLVMBuildInsertValue()
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp800 LatticeVal EltVal = getStructValueState(AggVal, i); in visitExtractValueInst() local
801 mergeInValue(getValueState(&EVI), &EVI, EltVal); in visitExtractValueInst()
825 LatticeVal EltVal = getStructValueState(Aggr, i); in visitInsertValueInst() local
826 mergeInValue(getStructValueState(&IVI, i), &IVI, EltVal); in visitInsertValueInst()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp3086 SDValue EltVal = getI32Imm(Elt >> 1, dl); in Select() local
3087 SDNode *Tmp = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
3099 SDValue EltVal = getI32Imm(Elt - 16, dl); in Select() local
3100 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
3101 EltVal = getI32Imm(-16, dl); in Select()
3102 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
3114 SDValue EltVal = getI32Imm(Elt + 16, dl); in Select() local
3115 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
3116 EltVal = getI32Imm(-16, dl); in Select()
3117 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSCCP.cpp901 LatticeVal EltVal = getStructValueState(AggVal, i); in visitExtractValueInst() local
902 mergeInValue(getValueState(&EVI), &EVI, EltVal); in visitExtractValueInst()
926 LatticeVal EltVal = getStructValueState(Aggr, i); in visitInsertValueInst() local
927 mergeInValue(getStructValueState(&IVI, i), &IVI, EltVal); in visitInsertValueInst()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSCCP.cpp881 ValueLatticeElement EltVal = getStructValueState(AggVal, i); in visitExtractValueInst() local
882 mergeInValue(getValueState(&EVI), &EVI, EltVal); in visitExtractValueInst()
911 ValueLatticeElement EltVal = getStructValueState(Aggr, i); in visitInsertValueInst() local
912 mergeInValue(getStructValueState(&IVI, i), &IVI, EltVal); in visitInsertValueInst()
/external/llvm/lib/IR/
DConstants.cpp2612 auto EltVal = *reinterpret_cast<const uint16_t *>(EltPtr); in getElementAsAPFloat() local
2613 return APFloat(APFloat::IEEEhalf, APInt(16, EltVal)); in getElementAsAPFloat()
2616 auto EltVal = *reinterpret_cast<const uint32_t *>(EltPtr); in getElementAsAPFloat() local
2617 return APFloat(APFloat::IEEEsingle, APInt(32, EltVal)); in getElementAsAPFloat()
2620 auto EltVal = *reinterpret_cast<const uint64_t *>(EltPtr); in getElementAsAPFloat() local
2621 return APFloat(APFloat::IEEEdouble, APInt(64, EltVal)); in getElementAsAPFloat()
DCore.cpp2996 LLVMValueRef EltVal, LLVMValueRef Index, in LLVMBuildInsertElement() argument
2998 return wrap(unwrap(B)->CreateInsertElement(unwrap(VecVal), unwrap(EltVal), in LLVMBuildInsertElement()
3015 LLVMValueRef EltVal, unsigned Index, in LLVMBuildInsertValue() argument
3017 return wrap(unwrap(B)->CreateInsertValue(unwrap(AggVal), unwrap(EltVal), in LLVMBuildInsertValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp5256 SDValue EltVal = getI32Imm(Elt >> 1, dl); in Select() local
5257 SDNode *Tmp = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
5268 SDValue EltVal = getI32Imm(Elt - 16, dl); in Select() local
5269 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
5270 EltVal = getI32Imm(-16, dl); in Select()
5271 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
5282 SDValue EltVal = getI32Imm(Elt + 16, dl); in Select() local
5283 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
5284 EltVal = getI32Imm(-16, dl); in Select()
5285 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp5408 SDValue EltVal = getI32Imm(Elt >> 1, dl); in Select() local
5409 SDNode *Tmp = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
5420 SDValue EltVal = getI32Imm(Elt - 16, dl); in Select() local
5421 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
5422 EltVal = getI32Imm(-16, dl); in Select()
5423 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
5434 SDValue EltVal = getI32Imm(Elt + 16, dl); in Select() local
5435 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
5436 EltVal = getI32Imm(-16, dl); in Select()
5437 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
/external/llvm/include/llvm-c/
DCore.h3085 LLVMValueRef EltVal, LLVMValueRef Index,
3093 LLVMValueRef EltVal, unsigned Index,
/external/llvm/lib/Analysis/
DValueTracking.cpp1944 APInt EltVal = Elt->getValue(); in computeNumSignBitsVectorConstant() local
1945 if (EltVal.isNegative()) in computeNumSignBitsVectorConstant()
1946 EltVal = ~EltVal; in computeNumSignBitsVectorConstant()
1947 MinSignBits = std::min(MinSignBits, EltVal.countLeadingZeros()); in computeNumSignBitsVectorConstant()
/external/llvm-project/llvm/include/llvm-c/
DCore.h3938 LLVMValueRef EltVal, LLVMValueRef Index,
3946 LLVMValueRef EltVal, unsigned Index,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3901 LLVMValueRef EltVal, LLVMValueRef Index,
3909 LLVMValueRef EltVal, unsigned Index,
/external/llvm/lib/Target/ARM/
DARMInstrNEON.td593 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
594 return (EltBits == 32 && EltVal == 0);
600 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
601 return (EltBits == 8 && EltVal == 0xff);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstrNEON.td550 uint64_t EltVal = ARM_AM::decodeVMOVModImm(ConstVal->getZExtValue(), EltBits);
551 return (EltBits == 32 && EltVal == 0);
557 uint64_t EltVal = ARM_AM::decodeVMOVModImm(ConstVal->getZExtValue(), EltBits);
558 return (EltBits == 8 && EltVal == 0xff);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp11336 SDValue EltVal = StVal.getOperand(I); in replaceZeroVectorStore() local
11337 if (!isNullConstant(EltVal) && !isNullFPConstant(EltVal)) in replaceZeroVectorStore()
/external/llvm-project/llvm/lib/Target/ARM/
DARMInstrInfo.td507 uint64_t EltVal = ARM_AM::decodeVMOVModImm(ConstVal->getZExtValue(), EltBits);
508 return (EltBits == N->getValueType(0).getScalarSizeInBits() && EltVal == 0x01);
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp13752 SDValue EltVal = StVal.getOperand(I); in replaceZeroVectorStore() local
13753 if (!isNullConstant(EltVal) && !isNullFPConstant(EltVal)) in replaceZeroVectorStore()
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenDAGISel.inc64499 uint64_t EltVal = ARM_AM::decodeVMOVModImm(ConstVal->getZExtValue(), EltBits);
64500 return (EltBits == 8 && EltVal == 0xff);
65155 uint64_t EltVal = ARM_AM::decodeVMOVModImm(ConstVal->getZExtValue(), EltBits);
65156 return (EltBits == 32 && EltVal == 0);