Home
last modified time | relevance | path

Searched refs:varType (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp955 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor() local
961 if (varType->isReferenceType()) { in ProcessAutomaticObjDtor()
971 varType = cast<TypedValueRegion>(Region)->getValueType(); in ProcessAutomaticObjDtor()
978 Region = makeZeroElementRegion(state, loc::MemRegionVal(Region), varType, in ProcessAutomaticObjDtor()
981 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), in ProcessAutomaticObjDtor()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2539 llvm::Type *varType = CGF.ConvertType(var->getType()); in emitArgumentDemotion() local
2543 if (value->getType() == varType) return value; in emitArgumentDemotion()
2545 assert((varType->isIntegerTy() || varType->isFloatingPointTy()) in emitArgumentDemotion()
2548 if (isa<llvm::IntegerType>(varType)) in emitArgumentDemotion()
2549 return CGF.Builder.CreateTrunc(value, varType, "arg.unpromote"); in emitArgumentDemotion()
2551 return CGF.Builder.CreateFPCast(value, varType, "arg.unpromote"); in emitArgumentDemotion()
H A DCGBlocks.cpp1992 QualType varType = CI.getVariable()->getType(); in GenerateCopyHelperFunction() local
1993 callCStructCopyConstructor(MakeAddrLValue(dstField, varType), in GenerateCopyHelperFunction()
1994 MakeAddrLValue(srcField, varType)); in GenerateCopyHelperFunction()