/external/clang/lib/Lex/ |
D | ScratchBuffer.cpp | 35 const char *&DestPtr) { in getToken() argument 44 DestPtr = CurBuffer+BytesUsed; in getToken()
|
D | Preprocessor.cpp | 464 const char *DestPtr; in CreateString() local 465 SourceLocation Loc = ScratchBuf->getToken(Str.data(), Str.size(), DestPtr); in CreateString() 474 Tok.setRawIdentifierData(DestPtr); in CreateString() 476 Tok.setLiteralData(DestPtr); in CreateString()
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 87 void EmitArrayInit(Address DestPtr, llvm::ArrayType *AType, 401 void AggExprEmitter::EmitArrayInit(Address DestPtr, llvm::ArrayType *AType, in EmitArrayInit() argument 413 Builder.CreateInBoundsGEP(DestPtr.getPointer(), indices, "arrayinit.begin"); in EmitArrayInit() 417 DestPtr.getAlignment().alignmentOfArrayElement(elementSize); in EmitArrayInit() 1422 void CodeGenFunction::EmitAggregateCopy(Address DestPtr, in EmitAggregateCopy() argument 1471 SizeVal = emitArrayLength(VAT, BaseEltTy, DestPtr); in EmitAggregateCopy() 1507 DestPtr = Builder.CreateElementBitCast(DestPtr, Int8Ty); in EmitAggregateCopy() 1516 CGM.getObjCRuntime().EmitGCMemmoveCollectable(*this, DestPtr, SrcPtr, in EmitAggregateCopy() 1524 CGM.getObjCRuntime().EmitGCMemmoveCollectable(*this, DestPtr, SrcPtr, in EmitAggregateCopy() 1531 auto Inst = Builder.CreateMemCpy(DestPtr, SrcPtr, SizeVal, isVolatile); in EmitAggregateCopy()
|
D | CodeGenFunction.cpp | 1370 CodeGenFunction::EmitNullInitialization(Address DestPtr, QualType Ty) { in EmitNullInitialization() argument 1380 if (DestPtr.getElementType() != Int8Ty) in EmitNullInitialization() 1381 DestPtr = Builder.CreateElementBitCast(DestPtr, Int8Ty); in EmitNullInitialization() 1427 CharUnits NullAlign = DestPtr.getAlignment(); in EmitNullInitialization() 1432 if (vla) return emitNonZeroVLAInit(*this, Ty, DestPtr, SrcPtr, SizeVal); in EmitNullInitialization() 1435 Builder.CreateMemCpy(DestPtr, SrcPtr, SizeVal, false); in EmitNullInitialization() 1442 Builder.CreateMemSet(DestPtr, Builder.getInt8(0), SizeVal, false); in EmitNullInitialization()
|
D | CGExprCXX.cpp | 351 Address DestPtr, in EmitNullBaseClassInitialization() argument 356 DestPtr = CGF.Builder.CreateElementBitCast(DestPtr, CGF.Int8Ty); in EmitNullBaseClassInitialization() 403 DestPtr.getAlignment()); in EmitNullBaseClassInitialization() 414 CGF.Builder.CreateConstInBoundsByteGEP(DestPtr, StoreOffset), in EmitNullBaseClassInitialization() 428 CGF.Builder.CreateConstInBoundsByteGEP(DestPtr, StoreOffset), in EmitNullBaseClassInitialization()
|
D | CGObjCRuntime.h | 271 Address DestPtr,
|
D | CGCall.cpp | 3615 Address DestPtr = ReturnValue.getValue(); in EmitCall() local 3618 if (!DestPtr.isValid()) { in EmitCall() 3619 DestPtr = CreateMemTemp(RetTy, "agg.tmp"); in EmitCall() 3622 BuildAggStore(*this, CI, DestPtr, DestIsVolatile); in EmitCall() 3623 return RValue::getAggregate(DestPtr); in EmitCall() 3637 Address DestPtr = ReturnValue.getValue(); in EmitCall() local 3640 if (!DestPtr.isValid()) { in EmitCall() 3641 DestPtr = CreateMemTemp(RetTy, "coerce"); in EmitCall() 3646 Address StorePtr = emitAddressAtOffset(*this, DestPtr, RetAI); in EmitCall() 3649 return convertTempToRValue(DestPtr, RetTy, SourceLocation()); in EmitCall()
|
D | CodeGenFunction.h | 1688 void EmitAggregateAssign(Address DestPtr, Address SrcPtr, in EmitAggregateAssign() argument 1691 EmitAggregateCopy(DestPtr, SrcPtr, EltTy, IsVolatile, true); in EmitAggregateAssign() 1694 void EmitAggregateCopyCtor(Address DestPtr, Address SrcPtr, in EmitAggregateCopyCtor() argument 1696 EmitAggregateCopy(DestPtr, SrcPtr, SrcTy, /*IsVolatile=*/false, in EmitAggregateCopyCtor() 1706 void EmitAggregateCopy(Address DestPtr, Address SrcPtr, 1750 void EmitNullInitialization(Address DestPtr, QualType Ty);
|
D | CGClass.cpp | 1075 void emitMemcpyIR(Address DestPtr, Address SrcPtr, CharUnits Size) { in emitMemcpyIR() argument 1076 llvm::PointerType *DPT = DestPtr.getType(); in emitMemcpyIR() 1079 DestPtr = CGF.Builder.CreateBitCast(DestPtr, DBP); in emitMemcpyIR() 1086 CGF.Builder.CreateMemCpy(DestPtr, SrcPtr, Size.getQuantity()); in emitMemcpyIR()
|
D | CGObjCGNU.cpp | 549 void EmitGCMemmoveCollectable(CodeGenFunction &CGF, Address DestPtr, 2762 Address DestPtr, in EmitGCMemmoveCollectable() argument 2766 DestPtr = EnforceType(B, DestPtr, PtrTy); in EmitGCMemmoveCollectable() 2770 {DestPtr.getPointer(), SrcPtr.getPointer(), Size}); in EmitGCMemmoveCollectable()
|
D | CGObjCMac.cpp | 4408 Address DestPtr, in EmitGCMemmoveCollectable() argument 4412 DestPtr = CGF.Builder.CreateBitCast(DestPtr, ObjCTypes.Int8PtrTy); in EmitGCMemmoveCollectable() 4413 llvm::Value *args[] = { DestPtr.getPointer(), SrcPtr.getPointer(), size }; in EmitGCMemmoveCollectable() 7027 Address DestPtr, in EmitGCMemmoveCollectable() argument 7031 DestPtr = CGF.Builder.CreateBitCast(DestPtr, ObjCTypes.Int8PtrTy); in EmitGCMemmoveCollectable() 7032 llvm::Value *args[] = { DestPtr.getPointer(), SrcPtr.getPointer(), Size }; in EmitGCMemmoveCollectable()
|
D | CGBuiltin.cpp | 94 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in MakeBinaryAtomicValue() local 95 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in MakeBinaryAtomicValue() 103 Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType); in MakeBinaryAtomicValue() 156 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in EmitBinaryAtomicPost() local 157 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in EmitBinaryAtomicPost() 168 Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType); in EmitBinaryAtomicPost() 195 llvm::Value *DestPtr = CGF.EmitScalarExpr(E->getArg(0)); in MakeAtomicCmpXchgValue() local 196 unsigned AddrSpace = DestPtr->getType()->getPointerAddressSpace(); in MakeAtomicCmpXchgValue() 203 Args[0] = CGF.Builder.CreateBitCast(DestPtr, IntPtrType); in MakeAtomicCmpXchgValue()
|
D | CGExpr.cpp | 893 Address DestPtr = CreateMemTemp(Ty, "undef.agg.tmp"); in GetUndefRValue() local 894 return RValue::getAggregate(DestPtr); in GetUndefRValue()
|
/external/clang/include/clang/Lex/ |
D | ScratchBuffer.h | 37 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 125 bool processLoopStridedStore(Value *DestPtr, unsigned StoreSize, 496 Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, in processLoopStridedStore() argument 506 unsigned DestAS = DestPtr->getType()->getPointerAddressSpace(); in processLoopStridedStore()
|
/external/clang/lib/Sema/ |
D | SemaCast.cpp | 2264 const PointerType *DestPtr = DestType->getAs<PointerType>(); in CheckCStyleCast() local 2265 if (!DestPtr->isAddressSpaceOverlapping(*SrcType->getAs<PointerType>())) { in CheckCStyleCast()
|
D | SemaChecking.cpp | 8466 const PointerType *DestPtr = T->getAs<PointerType>(); in CheckCastAlign() local 8467 if (!DestPtr) return; in CheckCastAlign() 8470 QualType DestPointee = DestPtr->getPointeeType(); in CheckCastAlign()
|