Home
last modified time | relevance | path

Searched refs:FromPtr (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopUtils.cpp1180 Value *FromPtr = FromVal; in isValidRewrite() local
1183 FromPtr = GEP->getPointerOperand(); in isValidRewrite()
1188 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
1190 if (FromPtr == ToPtr) in isValidRewrite()
1201 if (!FromPtr->getType()->isPointerTy() || !ToPtr->getType()->isPointerTy()) in isValidRewrite()
1204 const SCEV *FromBase = SE->getPointerBase(SE->getSCEV(FromPtr)); in isValidRewrite()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp143 Value *FromPtr = FromVal; in isValidRewrite() local
146 FromPtr = GEP->getPointerOperand(); in isValidRewrite()
151 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
153 if (FromPtr == ToPtr) in isValidRewrite()
164 if (!FromPtr->getType()->isPointerTy() || !ToPtr->getType()->isPointerTy()) in isValidRewrite()
167 const SCEV *FromBase = SE->getPointerBase(SE->getSCEV(FromPtr)); in isValidRewrite()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp195 Value *FromPtr = FromVal; in isValidRewrite() local
198 FromPtr = GEP->getPointerOperand(); in isValidRewrite()
203 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
205 if (FromPtr == ToPtr) in isValidRewrite()
216 if (!FromPtr->getType()->isPointerTy() || !ToPtr->getType()->isPointerTy()) in isValidRewrite()
219 const SCEV *FromBase = SE->getPointerBase(SE->getSCEV(FromPtr)); in isValidRewrite()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp1952 SymbolRef FromPtr = arg0Val.getAsSymbol(); in ReallocMem() local
1955 if (!FromPtr || !ToPtr) in ReallocMem()
1989 ReallocPair(FromPtr, Kind)); in ReallocMem()
1991 C.getSymbolManager().addSymbolDependency(ToPtr, FromPtr); in ReallocMem()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp2509 SymbolRef FromPtr = arg0Val.getLocSymbolInBase(); in ReallocMemAux() local
2512 assert(FromPtr && ToPtr && in ReallocMemAux()
2519 ReallocPair(FromPtr, Kind)); in ReallocMemAux()
2521 C.getSymbolManager().addSymbolDependency(ToPtr, FromPtr); in ReallocMemAux()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp3071 const UTF8 *FromPtr = (const UTF8 *)String.data(); in GetConstantCFStringEntry() local
3074 (void)ConvertUTF8toUTF16(&FromPtr, FromPtr + NumBytes, in GetConstantCFStringEntry()
/external/llvm-project/clang/lib/CodeGen/
DCGObjCGNU.cpp1046 const llvm::UTF8 *FromPtr = (const llvm::UTF8 *)Str.data(); in GenerateConstantString() local
1048 (void)llvm::ConvertUTF8toUTF16(&FromPtr, FromPtr + NumU8CodeUnits, in GenerateConstantString()
DCodeGenModule.cpp4895 const llvm::UTF8 *FromPtr = (const llvm::UTF8 *)String.data(); in GetConstantCFStringEntry() local
4898 (void)llvm::ConvertUTF8toUTF16(&FromPtr, FromPtr + NumBytes, &ToPtr, in GetConstantCFStringEntry()
/external/clang/lib/Sema/
DSemaExprCXX.cpp4567 Expr *FromPtr = &From; in EvaluateBinaryTypeTrait() local
4576 InitializationSequence Init(Self, To, Kind, FromPtr); in EvaluateBinaryTypeTrait()
4580 ExprResult Result = Init.Perform(Self, To, Kind, FromPtr); in EvaluateBinaryTypeTrait()
DSemaChecking.cpp3099 const UTF8 *FromPtr = (const UTF8 *)String.data(); in CheckObjCString() local
3102 ConversionResult Result = ConvertUTF8toUTF16(&FromPtr, FromPtr + NumBytes, in CheckObjCString()
/external/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp5366 Expr *FromPtr = &From; in EvaluateBinaryTypeTrait() local
5376 InitializationSequence Init(Self, To, Kind, FromPtr); in EvaluateBinaryTypeTrait()
5380 ExprResult Result = Init.Perform(Self, To, Kind, FromPtr); in EvaluateBinaryTypeTrait()
DSemaOverload.cpp2280 BuildSimilarlyQualifiedPointerType(const Type *FromPtr, in BuildSimilarlyQualifiedPointerType() argument
2284 assert((FromPtr->getTypeClass() == Type::Pointer || in BuildSimilarlyQualifiedPointerType()
2285 FromPtr->getTypeClass() == Type::ObjCObjectPointer) && in BuildSimilarlyQualifiedPointerType()
2293 = Context.getCanonicalType(FromPtr->getPointeeType()); in BuildSimilarlyQualifiedPointerType()
DSemaChecking.cpp5653 const llvm::UTF8 *FromPtr = (const llvm::UTF8 *)String.data(); in CheckObjCString() local
5657 llvm::ConvertUTF8toUTF16(&FromPtr, FromPtr + NumBytes, &ToPtr, in CheckObjCString()