Searched refs:EltPtr (Results 1 – 6 of 6) sorted by relevance
/external/llvm/include/llvm/ADT/ |
D | SmallVector.h | 510 T *EltPtr = &Elt; in insert() local 511 if (I <= EltPtr && EltPtr < this->EndX) in insert() 512 ++EltPtr; in insert() 514 *I = ::std::move(*EltPtr); in insert() 539 const T *EltPtr = &Elt; in insert() local 540 if (I <= EltPtr && EltPtr < this->EndX) in insert() 541 ++EltPtr; in insert() 543 *I = *EltPtr; in insert()
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 2666 const char *EltPtr = getElementPointer(Elt); in getElementAsInteger() local 2673 return *const_cast<uint8_t *>(reinterpret_cast<const uint8_t *>(EltPtr)); in getElementAsInteger() 2675 return *const_cast<uint16_t *>(reinterpret_cast<const uint16_t *>(EltPtr)); in getElementAsInteger() 2677 return *const_cast<uint32_t *>(reinterpret_cast<const uint32_t *>(EltPtr)); in getElementAsInteger() 2679 return *const_cast<uint64_t *>(reinterpret_cast<const uint64_t *>(EltPtr)); in getElementAsInteger() 2686 const char *EltPtr = getElementPointer(Elt); in getElementAsAPFloat() local 2692 auto EltVal = *reinterpret_cast<const uint16_t *>(EltPtr); in getElementAsAPFloat() 2696 auto EltVal = *reinterpret_cast<const uint32_t *>(EltPtr); in getElementAsAPFloat() 2700 auto EltVal = *reinterpret_cast<const uint64_t *>(EltPtr); in getElementAsAPFloat() 2711 const float *EltPtr = reinterpret_cast<const float *>(getElementPointer(Elt)); in getElementAsFloat() local [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 2264 Value *EltPtr = NewElts[i]; in RewriteMemIntrinUserOfAlloca() local 2265 Type *EltTy = cast<PointerType>(EltPtr->getType())->getElementType(); in RewriteMemIntrinUserOfAlloca() 2273 new StoreInst(Elt, EltPtr, MI); in RewriteMemIntrinUserOfAlloca() 2276 Value *Elt = new LoadInst(EltPtr, "tmp", MI); in RewriteMemIntrinUserOfAlloca() 2317 new StoreInst(StoreVal, EltPtr, MI); in RewriteMemIntrinUserOfAlloca() 2332 Builder.CreateMemSet(EltPtr, MI->getArgOperand(1), EltSize, in RewriteMemIntrinUserOfAlloca() 2336 Value *Dst = SROADest ? EltPtr : OtherElt; // Dest ptr in RewriteMemIntrinUserOfAlloca() 2337 Value *Src = SROADest ? OtherElt : EltPtr; // Src ptr in RewriteMemIntrinUserOfAlloca()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 2784 llvm::Value *EltPtr = in EmitArraySubscriptExpr() local 2786 Addr = Address(EltPtr, EltAlign); in EmitArraySubscriptExpr() 2928 llvm::Value *EltPtr; in EmitOMPArraySectionExpr() local 2941 EltPtr = Builder.CreateGEP(Base.getPointer(), Idx, "arrayidx"); in EmitOMPArraySectionExpr() 2944 EltPtr = Builder.CreateInBoundsGEP(Base.getPointer(), Idx, "arrayidx"); in EmitOMPArraySectionExpr() 2952 EltPtr = Builder.CreateGEP(ArrayPtr, Args, "arrayidx"); in EmitOMPArraySectionExpr() 2954 EltPtr = Builder.CreateInBoundsGEP(ArrayPtr, Args, "arrayidx"); in EmitOMPArraySectionExpr() 2958 EltPtr = Builder.CreateGEP(Base.getPointer(), Idx, "arrayidx"); in EmitOMPArraySectionExpr() 2960 EltPtr = Builder.CreateInBoundsGEP(Base.getPointer(), Idx, "arrayidx"); in EmitOMPArraySectionExpr() 2968 LValue LV = MakeAddrLValue(Address(EltPtr, EltAlign), ResultExprTy, in EmitOMPArraySectionExpr()
|
D | CGCall.cpp | 1030 Address EltPtr = CGF.Builder.CreateStructGEP(Dest, i, EltOffset); in BuildAggStore() local 1032 CGF.Builder.CreateStore(Elt, EltPtr, DestIsVolatile); in BuildAggStore() 2074 Address EltPtr = in EmitFunctionProlog() local 2076 Builder.CreateStore(AI, EltPtr); in EmitFunctionProlog() 3392 Address EltPtr = Builder.CreateStructGEP(Src, i, Offset); in EmitCall() local 3393 llvm::Value *LI = Builder.CreateLoad(EltPtr); in EmitCall()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 955 SDValue EltPtr = GetVectorElementPointer(StackPtr, EltVT, Idx); in SplitVecRes_INSERT_VECTOR_ELT() local 958 Store = DAG.getTruncStore(Store, dl, Elt, EltPtr, MachinePointerInfo(), EltVT, in SplitVecRes_INSERT_VECTOR_ELT()
|