Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp1327 QualType varType = varDecl->getType(); in ProcessAutomaticObjDtor() local
1335 if (varType->isReferenceType()) { in ProcessAutomaticObjDtor()
1345 varType = cast<TypedValueRegion>(Region)->getValueType(); in ProcessAutomaticObjDtor()
1349 if (isa<ArrayType>(varType)) { in ProcessAutomaticObjDtor()
1352 state, Region, varType, LCtx, &ElementCount); in ProcessAutomaticObjDtor()
1373 Region = makeElementRegion(state, loc::MemRegionVal(Region), varType, in ProcessAutomaticObjDtor()
1388 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), in ProcessAutomaticObjDtor()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCall.cpp2667 llvm::Type *varType = CGF.ConvertType(var->getType()); in emitArgumentDemotion() local
2671 if (value->getType() == varType) return value; in emitArgumentDemotion()
2673 assert((varType->isIntegerTy() || varType->isFloatingPointTy()) in emitArgumentDemotion()
2676 if (isa<llvm::IntegerType>(varType)) in emitArgumentDemotion()
2677 return CGF.Builder.CreateTrunc(value, varType, "arg.unpromote"); in emitArgumentDemotion()
2679 return CGF.Builder.CreateFPCast(value, varType, "arg.unpromote"); in emitArgumentDemotion()
H A DCGBlocks.cpp1970 QualType varType = CI.getVariable()->getType(); in GenerateCopyHelperFunction() local
1971 callCStructCopyConstructor(MakeAddrLValue(dstField, varType), in GenerateCopyHelperFunction()
1972 MakeAddrLValue(srcField, varType)); in GenerateCopyHelperFunction()