Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCall.cpp2533 llvm::Type *varType = CGF.ConvertType(var->getType()); in emitArgumentDemotion() local
2537 if (value->getType() == varType) return value; in emitArgumentDemotion()
2539 assert((varType->isIntegerTy() || varType->isFloatingPointTy()) in emitArgumentDemotion()
2542 if (isa<llvm::IntegerType>(varType)) in emitArgumentDemotion()
2543 return CGF.Builder.CreateTrunc(value, varType, "arg.unpromote"); in emitArgumentDemotion()
2545 return CGF.Builder.CreateFPCast(value, varType, "arg.unpromote"); in emitArgumentDemotion()
H A DCGBlocks.cpp2000 QualType varType = CI.getVariable()->getType(); in GenerateCopyHelperFunction() local
2001 callCStructCopyConstructor(MakeAddrLValue(dstField, varType), in GenerateCopyHelperFunction()
2002 MakeAddrLValue(srcField, varType)); in GenerateCopyHelperFunction()