/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 2217 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca() local 2219 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca() 2220 EltVal = Builder.CreateLShr(EltVal, ShiftVal, "sroa.store.elt"); in RewriteStoreUserOfWholeAlloca() 2230 EltVal = Builder.CreateTrunc(EltVal, in RewriteStoreUserOfWholeAlloca() 2233 if (EltVal->getType() == FieldTy) { in RewriteStoreUserOfWholeAlloca() 2237 EltVal = Builder.CreateBitCast(EltVal, FieldTy); in RewriteStoreUserOfWholeAlloca() 2241 PointerType::getUnqual(EltVal->getType())); in RewriteStoreUserOfWholeAlloca() 2243 new StoreInst(EltVal, DestField, SI); in RewriteStoreUserOfWholeAlloca() 2263 Value *EltVal = SrcVal; in RewriteStoreUserOfWholeAlloca() local 2265 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift); in RewriteStoreUserOfWholeAlloca() [all …]
|
D | SCCP.cpp | 832 LatticeVal EltVal = getStructValueState(AggVal, i); in visitExtractValueInst() local 833 mergeInValue(getValueState(&EVI), &EVI, EltVal); in visitExtractValueInst() 857 LatticeVal EltVal = getStructValueState(Aggr, i); in visitInsertValueInst() local 858 mergeInValue(getStructValueState(&IVI, i), &IVI, EltVal); in visitInsertValueInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Constants.cpp | 2658 auto EltVal = *reinterpret_cast<const uint8_t *>(EltPtr); in getElementAsAPInt() local 2659 return APInt(8, EltVal); in getElementAsAPInt() 2662 auto EltVal = *reinterpret_cast<const uint16_t *>(EltPtr); in getElementAsAPInt() local 2663 return APInt(16, EltVal); in getElementAsAPInt() 2666 auto EltVal = *reinterpret_cast<const uint32_t *>(EltPtr); in getElementAsAPInt() local 2667 return APInt(32, EltVal); in getElementAsAPInt() 2670 auto EltVal = *reinterpret_cast<const uint64_t *>(EltPtr); in getElementAsAPInt() local 2671 return APInt(64, EltVal); in getElementAsAPInt() 2683 auto EltVal = *reinterpret_cast<const uint16_t *>(EltPtr); in getElementAsAPFloat() local 2684 return APFloat(APFloat::IEEEhalf(), APInt(16, EltVal)); in getElementAsAPFloat() [all …]
|
D | Core.cpp | 3311 LLVMValueRef EltVal, LLVMValueRef Index, in LLVMBuildInsertElement() argument 3313 return wrap(unwrap(B)->CreateInsertElement(unwrap(VecVal), unwrap(EltVal), in LLVMBuildInsertElement() 3330 LLVMValueRef EltVal, unsigned Index, in LLVMBuildInsertValue() argument 3332 return wrap(unwrap(B)->CreateInsertValue(unwrap(AggVal), unwrap(EltVal), in LLVMBuildInsertValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 845 LatticeVal EltVal = getStructValueState(AggVal, i); in visitExtractValueInst() local 846 mergeInValue(getValueState(&EVI), &EVI, EltVal); in visitExtractValueInst() 870 LatticeVal EltVal = getStructValueState(Aggr, i); in visitInsertValueInst() local 871 mergeInValue(getStructValueState(&IVI, i), &IVI, EltVal); in visitInsertValueInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 800 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/ |
D | PPCISelDAGToDAG.cpp | 3086 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/llvm/lib/IR/ |
D | Constants.cpp | 2612 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()
|
D | Core.cpp | 2996 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/lib/VMCore/ |
D | Core.cpp | 2209 LLVMValueRef EltVal, LLVMValueRef Index, in LLVMBuildInsertElement() argument 2211 return wrap(unwrap(B)->CreateInsertElement(unwrap(VecVal), unwrap(EltVal), in LLVMBuildInsertElement() 2228 LLVMValueRef EltVal, unsigned Index, in LLVMBuildInsertValue() argument 2230 return wrap(unwrap(B)->CreateInsertValue(unwrap(AggVal), unwrap(EltVal), in LLVMBuildInsertValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 4884 SDValue EltVal = getI32Imm(Elt >> 1, dl); in Select() local 4885 SDNode *Tmp = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select() 4896 SDValue EltVal = getI32Imm(Elt - 16, dl); in Select() local 4897 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select() 4898 EltVal = getI32Imm(-16, dl); in Select() 4899 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select() 4910 SDValue EltVal = getI32Imm(Elt + 16, dl); in Select() local 4911 SDNode *Tmp1 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select() 4912 EltVal = getI32Imm(-16, dl); in Select() 4913 SDNode *Tmp2 = CurDAG->getMachineNode(Opc1, dl, VT, EltVal); in Select()
|
/external/swiftshader/third_party/LLVM/include/llvm-c/ |
D | Core.h | 1029 LLVMValueRef EltVal, LLVMValueRef Index, 1037 LLVMValueRef EltVal, unsigned Index,
|
/external/llvm/include/llvm-c/ |
D | Core.h | 3085 LLVMValueRef EltVal, LLVMValueRef Index, 3093 LLVMValueRef EltVal, unsigned Index,
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1944 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/ |
D | Core.h | 3380 LLVMValueRef EltVal, LLVMValueRef Index, 3388 LLVMValueRef EltVal, unsigned Index,
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMInstrNEON.td | 155 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits); 156 return (EltBits == 32 && EltVal == 0); 162 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits); 163 return (EltBits == 8 && EltVal == 0xff);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 9935 SDValue EltVal = StVal.getOperand(I); in replaceZeroVectorStore() local 9936 if (!isNullConstant(EltVal) && !isNullFPConstant(EltVal)) in replaceZeroVectorStore()
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrNEON.td | 593 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-7.0/llvm/lib/Target/ARM/ |
D | ARMInstrNEON.td | 591 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits); 592 return (EltBits == 32 && EltVal == 0); 598 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits); 599 return (EltBits == 8 && EltVal == 0xff);
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/ |
D | ARMGenDAGISel.inc | 39509 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits); 39510 return (EltBits == 8 && EltVal == 0xff); 40034 uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits); 40035 return (EltBits == 32 && EltVal == 0);
|