Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp904 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor() local
910 if (varType->isReferenceType()) { in ProcessAutomaticObjDtor()
920 varType = cast<TypedValueRegion>(Region)->getValueType(); in ProcessAutomaticObjDtor()
927 Region = makeZeroElementRegion(state, loc::MemRegionVal(Region), varType, in ProcessAutomaticObjDtor()
930 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), /*IsBase=*/ false, in ProcessAutomaticObjDtor()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCall.cpp2175 llvm::Type *varType = CGF.ConvertType(var->getType()); in emitArgumentDemotion() local
2179 if (value->getType() == varType) return value; in emitArgumentDemotion()
2181 assert((varType->isIntegerTy() || varType->isFloatingPointTy()) in emitArgumentDemotion()
2184 if (isa<llvm::IntegerType>(varType)) in emitArgumentDemotion()
2185 return CGF.Builder.CreateTrunc(value, varType, "arg.unpromote"); in emitArgumentDemotion()
2187 return CGF.Builder.CreateFPCast(value, varType, "arg.unpromote"); in emitArgumentDemotion()
H A DCGBlocks.cpp2080 QualType varType = CI.getVariable()->getType(); in GenerateCopyHelperFunction() local
2081 callCStructCopyConstructor(MakeAddrLValue(dstField, varType), in GenerateCopyHelperFunction()
2082 MakeAddrLValue(srcField, varType)); in GenerateCopyHelperFunction()